1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-09-01 02:07:57 +00:00

fixed some CAP guards

This commit is contained in:
Zeno Rogue
2022-05-06 12:40:48 +02:00
parent 075630e753
commit 78b0324a91
12 changed files with 57 additions and 3 deletions

View File

@@ -8,10 +8,10 @@
*/
#include "hyper.h"
#if CAP_COMPLEX2
namespace hr {
#if CAP_COMPLEX2
EX namespace brownian {
#if HDR
@@ -1450,5 +1450,13 @@ EX namespace dice {
int hook = addHook(hooks_clearmemory, 0, [] () { data.clear(); });
EX }
}
#endif
#if !CAP_COMPLEX2
EX namespace dice {
EX bool on(cell *c) { return false; }
EX bool swap_forbidden(cell *a, cell *b) { return false; }
EX void chaos_swap(cellwalker wa, cellwalker wb) {}
EX }
#endif
}