mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-20 16:37:40 +00:00
Merge pull request #108 from Quuxplusone/ifdef
Move all defaulting-of-`CAP_FOO` to sysconfig.h
This commit is contained in:
2
reg3.cpp
2
reg3.cpp
@@ -289,6 +289,7 @@ EX namespace reg3 {
|
||||
return Id;
|
||||
}
|
||||
|
||||
#if CAP_CRYSTAL
|
||||
int encode_coord(const crystal::coord& co) {
|
||||
int c = 0;
|
||||
for(int i=0; i<4; i++) c |= ((co[i]>>1) & 3) << (2*i);
|
||||
@@ -321,6 +322,7 @@ EX namespace reg3 {
|
||||
}
|
||||
}
|
||||
};
|
||||
#endif
|
||||
|
||||
struct hrmap_field3 : reg3::hrmap_quotient3 {
|
||||
|
||||
|
Reference in New Issue
Block a user