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

Public Member Functions

heptagon *& move (int d)
 
heptagon *& modmove (int d)
 
heptagoncmove (int d)
 
heptagoncmodmove (int d)
 
int degree ()
 
 heptagon (const heptagon &)=delete
 
heptagonoperator= (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 cdatacdata
 
cellc7
 
heptagonalt
 
connection_table< heptagonc
 

Detailed Description

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

Member Data Documentation

◆ s

hstate hr::heptagon::s

Automata are used to generate the standard maps. s is the state of this automaton

◆ dm4

unsigned int hr::heptagon::dm4

distance modulo 4, in heptagons

◆ distance

short hr::heptagon::distance

distance from the origin; based on the final geometry of cells, not heptagons themselves

◆ emeraldval

short hr::heptagon::emeraldval

Wmerald/wineyard generator. May have different meaning in other geometries.

◆ fiftyval

short hr::heptagon::fiftyval

Palace pattern generator. May have different meaning in other geometries.

◆ zebraval

short hr::heptagon::zebraval

Zebra pattern generator. May have different meaning in other geometries.

◆ fieldval

int hr::heptagon::fieldval

Field quotient pattern ID. May have different meaning in other geometries.

◆ type

unsigned char hr::heptagon::type

the number of adjacent heptagons

◆ rval0

short hr::heptagon::rval0

data for fractal landscapes

◆ cdata

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.

◆ c7

cell* hr::heptagon::c7

which central cell does this heptagon correspond too

For alternate geometries, c7 is NULL

◆ alt

heptagon* hr::heptagon::alt

associated generator of alternate structure, for Camelot and horocycles

◆ c

connection_table<heptagon> hr::heptagon::c

connection table


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