mirror of
				https://github.com/zenorogue/hyperrogue.git
				synced 2025-10-31 14:02:59 +00:00 
			
		
		
		
	anims:: record_animation now does shmup::turn, e.g. to work with RogueViz state changes
This commit is contained in:
		| @@ -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) { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Zeno Rogue
					Zeno Rogue