1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-20 11:54:48 +00:00

tour:: call pmStartAll for all slides at start

This commit is contained in:
Zeno Rogue 2020-09-11 11:21:21 +02:00
parent c816137f8b
commit 9cc4d74da0

View File

@ -455,13 +455,23 @@ EX namespace ss {
}
EX }
EX void initialize_slides() {
dynamicval<int> cs(currentslide, 0);
for(currentslide=0;; currentslide++) {
presentation(pmStartAll);
if(slides[currentslide].flags & FINALSLIDE) break;
}
}
EX void start() {
currentslide = 0;
pconf.scale = 1;
pconf.alpha = 1;
pmodel = mdDisk;
if(!tour::on) presentation(pmStartAll);
if(!tour::on) {
initialize_slides();
}
else {
presentation(pmStop);
stop_game();