mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-12-17 19:48:06 +00:00
moved all the HyperRogue stuff except RogueViz to namespace 'hr' -- useful when using hr as a library
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
// Hyperbolic Rogue -- implementation of the quotient geometries based on fields
|
||||
// Copyright (C) 2011-2018 Zeno Rogue, see 'hyper.cpp' for details
|
||||
|
||||
namespace hr {
|
||||
|
||||
namespace fieldpattern {
|
||||
|
||||
extern int subpathid;
|
||||
@@ -398,7 +400,7 @@ struct fpattern {
|
||||
}
|
||||
|
||||
void analyze() {
|
||||
|
||||
|
||||
DEBB(DF_FIELD, (debugfile, "nonbitrunc = %d\n", nonbitrunc));
|
||||
int N = connections.size();
|
||||
|
||||
@@ -783,3 +785,4 @@ int currfp_gmul(int a, int b) { return currfp.gmul(a,b); }
|
||||
int currfp_inverses(int i) { return currfp.inverses[i]; }
|
||||
int currfp_distwall(int i) { return currfp.distwall[i]; }
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user