|
HyperRogue
11.3d
game/visualization engine based on non-Euclidean geometry
|
Public Member Functions | |
| heptagon *& | move (int d) |
| heptagon *& | modmove (int d) |
| heptagon * | cmove (int d) |
| heptagon * | cmodmove (int d) |
| int | degree () |
| heptagon (const heptagon &)=delete | |
| heptagon & | operator= (const heptagon &)=delete |
Public Attributes | |
| hstate | s: 6 |
| unsigned int | dm4: 2 |
| short | distance |
| short | emeraldval |
| short | fiftyval |
| short | zebraval |
| int | fieldval: 24 |
| unsigned char | type: 8 |
| short | rval0 |
| short | rval1 |
| struct cdata * | cdata |
| cell * | c7 |
| heptagon * | alt |
| connection_table< heptagon > | c |
in bitruncated/irregular/Goldberg geometries, heptagons form the underlying regular tiling (not necessarily heptagonal); in pure geometries, they correspond 1-1 to tiles; in 'masterless' geometries heptagons are unused
| hstate hr::heptagon::s |
Automata are used to generate the standard maps. s is the state of this automaton
| unsigned int hr::heptagon::dm4 |
distance modulo 4, in heptagons
| short hr::heptagon::distance |
distance from the origin; based on the final geometry of cells, not heptagons themselves
| short hr::heptagon::emeraldval |
Wmerald/wineyard generator. May have different meaning in other geometries.
| short hr::heptagon::fiftyval |
Palace pattern generator. May have different meaning in other geometries.
| short hr::heptagon::zebraval |
Zebra pattern generator. May have different meaning in other geometries.
| int hr::heptagon::fieldval |
Field quotient pattern ID. May have different meaning in other geometries.
| unsigned char hr::heptagon::type |
the number of adjacent heptagons
| short hr::heptagon::rval0 |
data for fractal landscapes
| struct cdata* hr::heptagon::cdata |
for the main map, it contains the fractal landscape data
For alternate structures, cdata contains the pointer to the original.
| cell* hr::heptagon::c7 |
which central cell does this heptagon correspond too
For alternate geometries, c7 is NULL
| heptagon* hr::heptagon::alt |
associated generator of alternate structure, for Camelot and horocycles
| connection_table<heptagon> hr::heptagon::c |
connection table
1.8.17