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:
16
asonov.cpp
16
asonov.cpp
@@ -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
|
||||
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user