![]() |
HyperRogue
11.3d
game/visualization engine based on non-Euclidean geometry
|
basic game routines More...
#include "hyper.h"
Namespaces | |
hr | |
Functions | |
EX void | hr::shrand (int i) |
EX int | hr::hrandpos () |
EX int | hr::hrand (int i) |
template<class T , class... U> | |
T | hr::pick (T x, U... u) |
template<class T > | |
void | hr::hrandom_shuffle (T *x, int n) |
template<class T > | |
void | hr::hrandom_shuffle (T &container) |
template<class U > | |
auto | hr::hrand_elt (U &container) -> decltype(container[0]) |
template<class T , class U > | |
T | hr::hrand_elt (U &container, T default_value) |
EX vector< int > | hr::hrandom_permutation (int qty) |
EX ld | hr::hrandf () |
EX int | hr::hrandstate () |
EX bool | hr::isChild (cell *w, cell *killed) |
EX eMonster | hr::active_switch () |
EX int | hr::getDistLimit () |
EX void | hr::activateFlashFrom (cell *cf, eMonster who, flagtype flags) |
EX bool | hr::saved_tortoise_on (cell *c) |
EX bool | hr::normal_gravity_at (cell *c) |
EX int | hr::countMyGolems (eMonster m) |
EX int | hr::savePrincesses () |
EX int | hr::countMyGolemsHP (eMonster m) |
EX void | hr::restoreGolems (int qty, eMonster m, int hp IS(0)) |
EX bool | hr::activateRecall () |
EX void | hr::saveRecall (cellwalker cw2) |
EX void | hr::activateSafety (eLand l) |
EX void | hr::placeGolem (cell *on, cell *moveto, eMonster m) |
EX bool | hr::multiRevival (cell *on, cell *moveto) |
EX void | hr::checkSwitch () |
EX void | hr::pushThumper (const movei &mi) |
EX bool | hr::canPushThumperOn (cell *tgt, cell *thumper, cell *player) |
EX void | hr::activateActiv (cell *c, bool msg) |
EX void | hr::fixWormBug (cell *c) |
EX bool | hr::isWormhead (eMonster m) |
EX cell * | hr::worm_tohead (cell *c) |
EX cell * | hr::wormhead (cell *c) |
EX bool | hr::sameMonster (cell *c1, cell *c2) |
EX eMonster | hr::haveMount () |
EX eMonster | hr::otherpole (eMonster m) |
Variables | |
EX std::mt19937 | hr::hrngen |
EX int | hr::lastsafety |
EX bool | hr::usedSafety = false |
EX eLand | hr::safetyland |
EX int | hr::safetyseed |
EX bool | hr::childbug = false |
EX vector< cell * > | hr::crush_now |
EX vector< cell * > | hr::crush_next |
EX cellwalker | hr::recallCell |
EX display_data | hr::recallDisplay |
EX eMonster | hr::passive_switch = moSwitch2 |
basic game routines