mirror of
				https://github.com/zenorogue/hyperrogue.git
				synced 2025-10-30 21:42:59 +00:00 
			
		
		
		
	anim:: record animation of another content
This commit is contained in:
		| @@ -71,7 +71,7 @@ ld& maxstep_current() { | ||||
| eGeometry last_geometry; | ||||
|  | ||||
| bool need_many_cell_types() { | ||||
|   return isize(hybrid::gen_sample_list()) > 1; | ||||
|   return isize(hybrid::gen_sample_list()) > 2; | ||||
|   } | ||||
|  | ||||
| /** is the raycaster available? */ | ||||
|   | ||||
| @@ -1328,7 +1328,7 @@ int min_frame = 0, max_frame = 999999; | ||||
|  | ||||
| int numturns = 0; | ||||
|  | ||||
| EX bool record_animation() { | ||||
| EX bool record_animation_of(reaction_t content) { | ||||
|   lastticks = 0; | ||||
|   ticks = 0; | ||||
|   int oldturn = -1; | ||||
| @@ -1361,6 +1361,10 @@ EX bool record_animation() { | ||||
|   lastticks = ticks = SDL_GetTicks(); | ||||
|   return true; | ||||
|   } | ||||
|  | ||||
| EX bool record_animation() { | ||||
|   return record_animation_of(shot::default_screenshot_content); | ||||
|   } | ||||
| #endif | ||||
|  | ||||
| EX purehookset hooks_after_video; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Zeno Rogue
					Zeno Rogue