mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-23 21:07:17 +00:00
ads-game:: added CAP_VIDEO guard, and made SCU compile work
This commit is contained in:
parent
31318862cb
commit
0fb4033868
@ -20,6 +20,8 @@
|
||||
#define CAP_ARCM 0
|
||||
#define CAP_HISTORY 0
|
||||
#define CAP_STARTANIM 0
|
||||
#define CAP_VR 0
|
||||
#include "../hyper.cpp"
|
||||
#endif
|
||||
|
||||
#include "../rogueviz.h"
|
||||
|
@ -624,6 +624,7 @@ void run_ds_game() {
|
||||
}
|
||||
|
||||
void ds_record() {
|
||||
#if CAP_VIDEO
|
||||
ld full = 1000;
|
||||
anims::period = full * history.back().start / DS_(simspeed);
|
||||
anims::noframes = anims::period * 60 / 1000;
|
||||
@ -650,6 +651,7 @@ void ds_record() {
|
||||
});
|
||||
anims::record_video_std();
|
||||
delHook(anims::hooks_anim, a);
|
||||
#endif
|
||||
}
|
||||
|
||||
auto ds_hooks =
|
||||
|
Loading…
Reference in New Issue
Block a user