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

Routines handling the map effects. More...

#include "hyper.h"

Namespaces

 hr
 

Macros

#define SEADIST   LHU.bytes[0]
 
#define LANDDIST   LHU.bytes[1]
 
#define CHAOSPARAM   LHU.bytes[2]
 

Enumerations

enum  eGravity { gsNormal, gsLevitation, gsAnti }
 

Functions

EX void hr::initcell (cell *c)
 
EX bool hr::doesnotFall (cell *c)
 
EX bool hr::doesFall (cell *c)
 
EX bool hr::doesFallSound (cell *c)
 
EX void hr::destroyBoats (cell *c, cell *c2, bool strandedToo)
 
EX bool hr::bird_disruption (cell *c)
 
EX bool hr::in_gravity_zone (cell *c)
 
EX int hr::gravity_zone_diff (cell *c)
 
EX bool hr::isJWall (cell *c)
 
EX eGravity hr::get_static_gravity (cell *c)
 
EX eGravity hr::get_move_gravity (cell *c, cell *c2)
 
EX bool hr::isWarped (cell *c)
 
EX bool hr::nonAdjacent (cell *c, cell *c2)
 
EX bool hr::nonAdjacentPlayer (cell *c, cell *c2)
 
EX bool hr::thruVine (cell *c, cell *c2)
 
EX void hr::useup (cell *c)
 
EX bool hr::earthFloor (cell *c)
 
EX bool hr::earthWall (cell *c)
 
EX bool hr::snakepile (cell *c, eMonster m)
 
EX bool hr::makeflame (cell *c, int timeout, bool checkonly)
 
EX void hr::explosion (cell *c, int power, int central)
 
EX void hr::explodeMine (cell *c)
 
EX void hr::explodeBarrel (cell *c)
 
EX bool hr::mayExplodeMine (cell *c, eMonster who)
 
EX void hr::flameHalfvine (cell *c, int val)
 
EX bool hr::destroyHalfvine (cell *c, eWall newwall IS(waNone), int tval IS(6))
 
int hr::coastvalEdge (cell *c)
 
EX int hr::gravityLevel (cell *c)
 
EX int hr::gravityLevelDiff (cell *c, cell *d)
 
EX bool hr::canUnstable (eWall w, flagtype flags)
 
EX bool hr::cellEdgeUnstable (cell *c, flagtype flags IS(0))
 
EX void hr::calcTidalPhase ()
 
EX int hr::tidespeed ()
 
EX int hr::lavatide (cell *c, int t)
 
EX void hr::checkTide (cell *c)
 
EX bool hr::makeEmpty (cell *c)
 
EX void hr::toggleGates (cell *c, eWall type, int rad)
 
EX void hr::toggleGates (cell *ct, eWall type)
 
EX void hr::destroyTrapsOn (cell *c)
 
EX void hr::destroyTrapsAround (cell *c)
 
EX void hr::destroyWeakBranch (cell *cf, cell *ct, eMonster who)
 
EX bool hr::isCentralTrap (cell *c)
 
EX array< cell *, 5 > hr::traplimits (cell *c)
 
EX void hr::activateArrowTrap (cell *c)
 
template<class T >
movei hr::determinePush (cellwalker who, int subdir, const T &valid)
 
EX void hr::explodeAround (cell *c)
 
EX bool hr::earthMove (const movei &mi)
 
EX bool hr::cellDangerous (cell *c)
 

Variables

EX eGravity hr::gravity_state
 
EX eGravity hr::last_gravity_state
 
int hr::tidalphase
 
EX int hr::tidalsize
 
EX int hr::tide [200]
 
EX bool hr::recalcTide
 
int hr::numgates = 0
 

Detailed Description

Routines handling the map effects.