mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-24 10:27:45 +00:00
big change: more configuration for the torus (and also Klein bottle)
This commit is contained in:
8
util.cpp
8
util.cpp
@@ -55,6 +55,11 @@ int gcd(int i, int j) {
|
||||
return i ? gcd(j%i, i) : j;
|
||||
}
|
||||
|
||||
int gmod(int i, int j) {
|
||||
i %= j; if(i<0) i += j;
|
||||
return i;
|
||||
}
|
||||
|
||||
// debug utilities
|
||||
|
||||
extern FILE *debugfile;
|
||||
@@ -116,3 +121,6 @@ void profile_info() {
|
||||
#define profile_info()
|
||||
#endif
|
||||
|
||||
int whateveri, whateveri2;
|
||||
|
||||
purehookset hooks_tests;
|
||||
|
||||
Reference in New Issue
Block a user