mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-11-01 13:34:29 +00:00
big change: more configuration for the torus (and also Klein bottle)
This commit is contained in:
1 parent
d67ca714fd
commit
11569c693d
21 files changed
+546
-287
No files matched your search
@@ -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