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

monster movement More...

#include "hyper.h"

Namespaces

 hr
 

Macros

#define SHSIZE   16
 

Functions

EX void hr::addButterfly (cell *c)
 
EX void hr::makeTrollFootprints (cell *c)
 
EX bool hr::hasPrincessWeapon (eMonster m)
 
EX void hr::sageheat (cell *c, double v)
 
EX void hr::moveEffect (const movei &mi, eMonster m)
 
EX void hr::moveMonster (const movei &mi)
 
EX bool hr::cannotGo (eMonster m, cell *c)
 
EX bool hr::wantsToStay (eMonster m)
 
EX bool hr::batsAfraid (cell *c)
 
EX int hr::angledist (int t, int d1, int d2)
 
EX int hr::angledistButterfly (int t, int d1, int d2)
 
EX int hr::angledist (cell *c, int d1, int d2)
 
EX bool hr::anglestraight (cell *c, int d1, int d2)
 
EX int hr::bulldist (cell *c)
 
EX int hr::bulldistance (cell *c, cell *d)
 
EX int hr::landheattype (cell *c)
 
EX int hr::moveval (cell *c1, cell *c2, int d, flagtype mf)
 
EX int hr::stayval (cell *c, flagtype mf)
 
EX int hr::totalbulldistance (cell *c, int k)
 
EX void hr::determinizeBull (cell *c, vector< int > &posdir)
 
EX int hr::determinizeBullPush (cellwalker bull)
 
EX int hr::pickMoveDirection (cell *c, flagtype mf)
 
EX int hr::pickDownDirection (cell *c, flagtype mf)
 
EX void hr::beastAttack (cell *c, bool player, bool targetdir)
 
EX cell * hr::moveNormal (cell *c, flagtype mf)
 
EX void hr::mountmove (const movei &mi, bool fp)
 
EX void hr::moveWorm (cell *c)
 
EX void hr::ivynext (cell *c)
 
EX void hr::removeIvy (cell *c)
 
EX void hr::moveivy ()
 
EX bool hr::isTargetOrAdjacent (cell *c)
 
EX void hr::groupmove2 (const movei &mi, eMonster movtype, flagtype mf)
 
EX void hr::groupmove (eMonster movtype, flagtype mf)
 
EX void hr::moveHexSnake (const movei &mi, bool mounted)
 
EX void hr::snakeAttack (cell *c, bool mounted)
 
EX bool hr::goodmount (cell *c, bool mounted)
 
EX int hr::inpair (cell *c, int colorpair)
 
EX int hr::snake_pair (cell *c)
 
EX void hr::hexvisit (cell *c, cell *from, int d, bool mounted, int colorpair)
 
EX void hr::movehex (bool mounted, int colorpair)
 
EX void hr::movehex_rest (bool mounted)
 
EX void hr::movemutant ()
 
EX void hr::clearshadow ()
 
EX void hr::moveshadow ()
 
EX void hr::moveghosts ()
 
EX int hr::stayvalue (eMonster m, cell *c)
 
EX int hr::movevalue (eMonster m, cell *c, cell *c2, flagtype flags)
 
EX void hr::movegolems (flagtype flags)
 
EX void hr::moveButterflies ()
 
EX void hr::specialMoves ()
 
EX void hr::moveworms ()
 
EX void hr::refreshFriend (cell *c)
 
EX void hr::consMove (cell *c, eMonster param)
 
EX void hr::moveNormals (eMonster param)
 
EX void hr::movehex_all ()
 
EX void hr::movemonsters ()
 
EX bool hr::nogoSlow (cell *to, cell *from)
 
EX void hr::beastcrash (cell *c, cell *beast)
 
EX void hr::stayEffect (cell *c)
 
EX int hr::realstuntime (cell *c)
 

Variables

EX int hr::turncount
 
EX int hr::mutantphase
 
EX int hr::sagephase = 0
 
EX vector< cell * > hr::targets
 
grow_vector< vector< cell * > > hr::movesofgood
 
EX vector< pair< cell *, int > > hr::butterflies
 
bool hr::sagefresh = true
 
vector< int > hr::global_posdir
 
EX bool hr::quantum
 
vector< cell * > hr::gendfs
 
int hr::targetcount
 
vector< cell * > hr::hexdfs
 
EX vector< array< cell *, MAXPLAYER > > hr::shpos
 
EX int hr::cshpos = 0
 
EX cell * hr::lastmountpos [MAXPLAYER]
 

Detailed Description

monster movement