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

Debugging and cheating. More...

#include "hyper.h"

Classes

struct  hr::debugScreen
 

Namespaces

 hr
 

Functions

template<class... T>
void hr::limitgen (T... args)
 
EX cell * hr::pathTowards (cell *pf, cell *pt)
 
EX void hr::describeCell (cell *c)
 
eItem hr::nextOrb ()
 
eItem hr::randomTreasure ()
 
eItem hr::randomTreasure2 (int cv)
 
EX void hr::cheatMoveTo (eLand l)
 
EX bool hr::applyCheat (char u, cell *c IS(NULL))
 
template<class T >
string hr::dnameof2 (T x)
 
template<class T >
string hr::dnameof2 (T x, int p)
 
template<class T >
void hr::bitfield_editor (int val, T setter, string help="")
 
EX void hr::push_debug_screen ()
 
EX void hr::showCheatMenu ()
 
EX void hr::viewall ()
 
EX void hr::modalDebug (cell *c)
 
void hr::test_distances (int max)
 
EX void hr::raiseBuggyGeneration (cell *c, const char *s)
 
int hr::read_cheat_args ()
 
EX void hr::breakhere ()
 

Variables

EX int hr::steplimit = 0
 
EX int hr::cstep
 
EX bool hr::buggyGeneration = false
 
EX vector< cell * > hr::buggycells
 
bool hr::errorReported = false
 
EX eLand hr::cheatdest
 
EX vector< pair< cellwalker, int > > hr::drawbugs
 
bool hr::debugmode = false
 
int hr::bitfield_v
 
auto hr::ah_cheat = addHook(hooks_args, 0, read_cheat_args)
 
EX bool hr::ldebug = false
 

Detailed Description

Debugging and cheating.