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

This file implements routines related to barriers (Great Walls and similar). More...

#include "hyper.h"

Namespaces

 hr
 

Functions

EX bool hr::checkBarriersFront (cellwalker bb, int q IS(5), bool cross IS(false))
 
EX bool hr::hasbardir (cell *c)
 
EX void hr::preventbarriers (cell *c)
 
EX bool hr::checkBarriersBack (cellwalker bb, int q IS(5), bool cross IS(false))
 
EX bool hr::warped_version (eLand l1, eLand l2)
 
EX bool hr::checkBarriersNowall (cellwalker bb, int q, int dir, eLand l1 IS(laNone), eLand l2 IS(laNone))
 
EX eWall hr::getElementalWall (eLand l)
 
EX void hr::setbarrier (cell *c)
 
EX void hr::setland (cell *c, eLand l)
 
EX void hr::extendcheck (cell *c)
 
EX bool hr::mirrorwall (cell *c)
 
EX void hr::extendBarrierFront (cell *c)
 
EX void hr::extendBarrierBack (cell *c)
 
EX void hr::extendNowall (cell *c)
 
EX void hr::extendCR5 (cell *c)
 
EX bool hr::isbar4 (cell *c)
 
EX void hr::extendBarrier (cell *c)
 
EX void hr::buildBarrierForce (cell *c, int d, eLand l)
 
EX void hr::buildBarrier (cell *c, int d, eLand l IS(laNone))
 
EX bool hr::buildBarrier6 (cellwalker cw, int type)
 
EX bool hr::buildBarrier4 (cell *c, int d, int mode, eLand ll, eLand lr)
 
EX void hr::buildBarrierStrong (cell *c, int d, bool oldleft, eLand newland)
 
EX void hr::buildBarrierStrong (cell *c, int d, bool oldleft)
 
EX void hr::buildCrossroads2 (cell *c)
 
EX void hr::extend3D (cell *c)
 
EX bool hr::buildBarrier3D (cell *c, eLand l2, int forced_dir)
 
EX bool hr::buildBarrierNowall (cell *c, eLand l2, int forced_dir IS(NODIR))
 

Variables

bool hr::gotit = false
 
bool hr::built = false
 

Detailed Description

This file implements routines related to barriers (Great Walls and similar).