1
0
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:
Zeno Rogue
2017-12-28 16:46:10 +01:00
parent d67ca714fd
commit 11569c693d
21 changed files with 546 additions and 287 deletions

View File

@@ -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;