1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-09-04 03:27:55 +00:00

added some guards for MAXMDIM >= 4 and CAP_SOLV

This commit is contained in:
Zeno Rogue
2021-03-30 11:27:48 +02:00
parent 1f939920d2
commit 5a73510c4f
22 changed files with 110 additions and 13 deletions

View File

@@ -13,20 +13,24 @@
namespace hr {
EX namespace asonov {
#if !CAP_SOLV
#if HDR
int zgmod(int a, int b);
inline bool in() { return false; }
#endif
#endif
EX namespace asonov {
EX int period_xy = 8;
EX int period_z = 8;
#if CAP_SOLV
EX bool in() { return cgflags & qCAT; }
EX hyperpoint tx, ty, tz;
EX transmatrix straighten;
EX int period_xy = 8;
EX int period_z = 8;
#if HDR
struct coord: public array<int,3> {
coord() {}
@@ -259,5 +263,7 @@ EX void show_config() {
dialog::display();
}
#endif
}
}