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

animations:: frame info in animation recorder

This commit is contained in:
Zeno Rogue 2019-04-22 14:41:38 +02:00
parent 8b0c0f58c4
commit 98381f5526

View File

@ -695,6 +695,7 @@ bool record_animation() {
lastticks = 0; lastticks = 0;
ticks = 0; ticks = 0;
for(int i=0; i<noframes; i++) { for(int i=0; i<noframes; i++) {
printf("%d/%d\n", i, noframes);
int newticks = i * period / noframes; int newticks = i * period / noframes;
while(ticks < newticks) shmup::turn(1), ticks++; while(ticks < newticks) shmup::turn(1), ticks++;
dynamicval<bool> v2(inHighQual, true); dynamicval<bool> v2(inHighQual, true);