HyperRogue  11.3d
game/visualization engine based on non-Euclidean geometry
Namespaces | Macros | Functions | Variables
heptagon.cpp File Reference

implementation of Heptagons More...

#include "hyper.h"

Namespaces

 hr
 

Macros

#define MIRR(x)   x.mirrored
 
#define COMPUTE   -1000000
 

Functions

EX cell * hr::newCell (int type, heptagon *master)
 
EX hstate hr::transition (hstate s, int dir)
 
EX heptagon * hr::buildHeptagon1 (heptagon *h, heptagon *parent, int d, hstate s, int pard IS(0))
 
heptagon * hr::buildHeptagon (heptagon *parent, int d, hstate s, int pard=0, int fixdistance=COMPUTE)
 
void hr::addSpin (heptagon *h, int d, heptagon *from, int rot, int spin)
 
EX int hr::hrand (int i)
 
heptagon * hr::createStep (heptagon *h, int d)
 
void hr::backtrace (heptagon *pos)
 
void hr::hsshow (const heptspin &t)
 

Variables

int hr::heptacount = 0
 
int hr::recsteps
 
EX hookset< void(heptagon *, int)> * hr::hooks_createStep
 

Detailed Description

implementation of Heptagons

Start with locations.cpp