HyperRogue  11.3d
game/visualization engine based on non-Euclidean geometry
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
hr::fieldpattern::fpattern Struct Reference

Public Member Functions

int sub (int a, int b)
 
int add (int a, int b)
 
int mul (int tx, int ty)
 
int sqr (int x)
 
matrix mmul (const matrix &A, const matrix &B)
 
matrix strtomatrix (string s)
 
void addas (const matrix &M, int i)
 
void add (const matrix &M)
 
matrix mpow (matrix M, int N)
 
int gmul (int a, int b)
 
int gpow (int a, int N)
 
pair< int, bool > gmul (pair< int, bool > a, int b)
 
int order (const matrix &M)
 
string decodepath (int i)
 
int orderstats ()
 
int solve ()
 
void build ()
 
int getdist (pair< int, bool > a, vector< char > &dists)
 
int getdist (pair< int, bool > a, pair< int, bool > b)
 
int dijkstra (vector< char > &dists, vector< int > indist[MAXDIST])
 
void analyze ()
 
bool easy (int i)
 
void init (int p)
 
 fpattern (int p)
 
void findsubpath ()
 
vector< matrixgenerate_isometries ()
 
bool check_order (matrix M, int req)
 
unsigned compute_hash ()
 
void set_field (int p, int sq)
 
void add1 (const matrix &M)
 
void add1 (const matrix &M, const transmatrix &Full)
 
vector< matrixgenerate_isometries3 ()
 
int solve3 ()
 
bool generate_all3 ()
 

Public Attributes

unsigned force_hash
 
int Prime
 
int wsquare
 
int Field
 
int dual
 
map< matrix, int > matcode
 
vector< matrixmatrices
 
vector< string > qpaths
 
vector< matrixqcoords
 
int rotations
 
int local_group
 
matrix Id
 
matrix R
 
matrix P
 
matrix X
 
vector< int > connections
 
vector< int > inverses
 
vector< int > rrf
 
vector< int > rpf
 
int cs
 
int sn
 
int ch
 
int sh
 
vector< char > disthep
 
vector< char > disthex
 
vector< char > distwall
 
vector< char > distriver
 
vector< char > distwall2
 
vector< char > distriverleft
 
vector< char > distriverright
 
vector< char > distflower
 
int distflower0
 
vector< eItem > markers
 
int maxdist
 
int otherpole
 
int circrad
 
int wallid
 
int wallorder
 
int riverid
 
vector< transmatrixfullv
 
struct discoverydis
 

Static Public Attributes

static const int MAXDIST = 120
 

The documentation for this struct was generated from the following file: