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:
parent
c816137f8b
commit
9cc4d74da0
12
tour.cpp
12
tour.cpp
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user