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() {
|
bool record_animation() {
|
||||||
lastticks = 0;
|
lastticks = 0;
|
||||||
|
ticks = 0;
|
||||||
for(int i=0; i<noframes; i++) {
|
for(int i=0; i<noframes; i++) {
|
||||||
ticks = i * period / noframes;
|
int newticks = i * period / noframes;
|
||||||
|
while(ticks < newticks) shmup::turn(1), ticks++;
|
||||||
apply();
|
apply();
|
||||||
conformal::configure();
|
conformal::configure();
|
||||||
if(conformal::on) {
|
if(conformal::on) {
|
||||||
|
|
Loading…
Reference in New Issue