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

PC movements. More...

#include "hyper.h"

Classes

struct  hr::pcmove
 
struct  hr::changes_t
 

Namespaces

 hr
 

Enumerations

enum  eLastmovetype {
  lmSkip, lmMove, lmAttack, lmPush,
  lmTree, lmInstant
}
 
enum  eForcemovetype {
  fmSkip, fmMove, fmAttack, fmInstant,
  fmActivate
}
 

Functions

EX void hr::fail_survivalist ()
 
EX cell *& hr::singlepos ()
 
EX bool hr::singleused ()
 
EX void hr::createNoise (int t)
 
bool hr::orbbull::is (cell *c1, cell *c2, cell *c3)
 
EX void hr::orbbull::gainBullPowers ()
 
EX void hr::orbbull::check ()
 
EX bool hr::checkNeedMove (bool checkonly, bool attacking)
 
EX bool hr::movepcto (int d, int subdir IS(1), bool checkonly IS(false))
 
EX void hr::copy_metadata (cell *x, const gcell *y)
 
void hr::playSound (cell *c, const string &fname, int vol)
 
bool hr::switch_lhu_in (eLand l)
 
void hr::apply_chaos ()
 
EX bool hr::chaos_forbidden (cell *c)
 
bool hr::movepcto (const movedir &md)
 
EX bool hr::warningprotection (const string &s)
 
EX bool hr::warningprotection_hit (eMonster m)
 
EX bool hr::playerInWater ()
 
EX int hr::numplayers ()
 
EX cell * hr::playerpos (int i)
 
EX bool hr::allPlayersInBoats ()
 
EX int hr::whichPlayerOn (cell *c)
 
EX bool hr::isPlayerOn (cell *c)
 
EX bool hr::isPlayerInBoatOn (cell *c, int i)
 
EX bool hr::playerInBoat (int i)
 
EX bool hr::isPlayerInBoatOn (cell *c)
 
EX bool hr::playerInPower ()
 
EX void hr::playerMoveEffects (cell *c1, cell *c2)
 
EX void hr::afterplayermoved ()
 
EX void hr::produceGhost (cell *c, eMonster victim, eMonster who)
 
EX bool hr::swordAttack (cell *mt, eMonster who, cell *c, int bb)
 
EX void hr::swordAttackStatic (int bb)
 
EX void hr::swordAttackStatic ()
 
EX void hr::spread_plague (cell *mf, cell *mt, int dir, eMonster who)
 
EX void hr::sideAttackAt (cell *mf, int dir, cell *mt, eMonster who, eItem orb, cell *pf)
 
EX void hr::sideAttack (cell *mf, int dir, eMonster who, int bonus, eItem orb)
 
EX void hr::sideAttack (cell *mf, int dir, eMonster who, int bonuskill)
 
EX eMonster hr::do_we_stab_a_friend (cell *mf, cell *mt, eMonster who)
 
EX void hr::wouldkill (const char *msg)
 
EX bool hr::havePushConflict (cell *pushto, bool checkonly)
 
EX void hr::movecost (cell *from, cell *to, int phase)
 

Variables

EX bool hr::keepLightning = false
 
EX bool hr::seenSevenMines = false
 
EX bool hr::hauntedWarning
 
EX bool hr::survivalist
 
EX bool hr::invismove = false
 
EX bool hr::invisfish = false
 
EX bool hr::flipplayer = true
 
EX bool hr::playermoved = true
 
EX int hr::cheater = 0
 
EX bool hr::landvisited [landtypes]
 
EX int hr::noiseuntil
 
eLastmovetype hr::lastmovetype
 
eLastmovetype hr::nextmovetype
 
eForcemovetype hr::forcedmovetype
 
cell * hr::orbbull::prev [MAXPLAYER]
 
eLastmovetype hr::orbbull::prevtype [MAXPLAYER]
 
int hr::orbbull::count
 
EX cell * hr::lastmove
 
EX cell * hr::global_pushto
 
EX changes_t hr::changes
 
EX int hr::plague_kills
 
bool hr::got_crossroads
 

Detailed Description

PC movements.