mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-18 23:10:26 +00:00
anims:: record_animation now does shmup::turn, e.g. to work with RogueViz state changes
This commit is contained in:
parent
de2ae6901a
commit
73de211bf2
@ -530,8 +530,10 @@ string animfile = "animation-%04d.png";
|
||||
|
||||
bool record_animation() {
|
||||
lastticks = 0;
|
||||
ticks = 0;
|
||||
for(int i=0; i<noframes; i++) {
|
||||
ticks = i * period / noframes;
|
||||
int newticks = i * period / noframes;
|
||||
while(ticks < newticks) shmup::turn(1), ticks++;
|
||||
apply();
|
||||
conformal::configure();
|
||||
if(conformal::on) {
|
||||
|
Loading…
Reference in New Issue
Block a user