mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-24 01:00:25 +00:00
anim:: record animation of another content
This commit is contained in:
parent
1ad581b9a8
commit
1cefbd2ffa
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user