mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-11-02 15:03:00 +00:00
rogueviz:: statshot better guards
This commit is contained in:
@@ -1,6 +1,5 @@
|
|||||||
#include "rogueviz.h"
|
#include "rogueviz.h"
|
||||||
|
|
||||||
#if CAP_VIDEO
|
|
||||||
namespace rogueviz {
|
namespace rogueviz {
|
||||||
|
|
||||||
namespace statshot {
|
namespace statshot {
|
||||||
@@ -66,8 +65,9 @@ int a = arg::add3("-label-video", [] {
|
|||||||
desc.push_back(s);
|
desc.push_back(s);
|
||||||
}
|
}
|
||||||
hide_hud = false;
|
hide_hud = false;
|
||||||
|
#if CAP_VIDEO
|
||||||
anims::record_video(anims::videofile, [fade, desc] { return anims::record_animation_of([=] { shot_with_stats(fade, desc); }); });
|
anims::record_video(anims::videofile, [fade, desc] { return anims::record_animation_of([=] { shot_with_stats(fade, desc); }); });
|
||||||
|
#endif
|
||||||
});
|
});
|
||||||
|
|
||||||
}}
|
}}
|
||||||
#endif
|
|
||||||
|
|||||||
Reference in New Issue
Block a user