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

changing game modes, starting, closing, loading and saving games More...

#include "hyper.h"

Classes

struct  hr::score
 

Namespaces

 hr
 

Macros

#define MAXBOX   500
 
#define POSSCORE   384
 

Functions

EX bool hr::verless (string v, string cmp)
 
bool hr::do_use_special_land ()
 
EX void hr::welcomeMessage ()
 
EX void hr::initgame ()
 
void hr::applyBox (int &t)
 
void hr::applyBoxBignum (bignum &tb)
 
EX void hr::applyBoxNum (int &i, string name IS(""))
 
void hr::applyBoxBool (bool &b, string name="")
 
void hr::applyBoxSave (int i, string name="")
 
int hr::applyBoxLoad (string name="")
 
void hr::applyBoxI (eItem it, bool f=false)
 
void hr::addinv (eItem it)
 
void hr::applyBoxOrb (eItem it)
 
void hr::list_invorb ()
 
void hr::applyBoxM (eMonster m, bool f=false)
 
EX void hr::applyBoxes ()
 
EX void hr::saveBox ()
 
void hr::loadBox ()
 
void hr::loadBoxHigh ()
 
EX int hr::anticheat::certify (const string &s, int a, int b, int c, int d IS(0))
 
void hr::anticheat::save (FILE *f)
 
bool hr::anticheat::load (FILE *f, score &sc, const string &ver)
 
int hr::anticheat::certify (const string &s, int a, int b, int c, int d)
 
int hr::anticheat::check (int cv, const string &ver, const string &s, int a, int b, int c, int d=0)
 
void hr::anticheat::nextid (int &tid, const string &ver, int cert)
 
EX void hr::remove_emergency_save ()
 
EX void hr::saveStats (bool emergency IS(false))
 
EX void hr::loadsave ()
 
EX void hr::stop_game ()
 
eModel hr::default_model ()
 
EX void hr::set_geometry (eGeometry target)
 
EX void hr::set_variation (eVariation target)
 
void hr::stop_tour ()
 
EX void hr::switch_game_mode (char switchWhat)
 
EX void hr::start_game ()
 
EX void hr::restart_game (char switchWhat IS(rg::nothing))
 
EX void hr::stop_game_and_switch_mode (char switchWhat IS(rg::nothing))
 
EX void hr::clearMemory ()
 
EX void hr::initAll ()
 
EX void hr::finishAll ()
 

Variables

EX bool hr::game_active
 
EX bool hr::cblind
 
EX bool hr::autocheat
 
EX eWall hr::canvas_default_wall = waNone
 
EX int hr::truelotus
 
EX int hr::gamecount
 
EX int hr::asteroids_generated
 
EX int hr::asteroid_orbs_generated
 
EX time_t hr::timerstart
 
EX time_t hr::savetime
 
EX bool hr::timerstopped
 
EX int hr::savecount
 
EX bool hr::showoff = false
 
EX bool hr::doCross = false
 
EX bool hr::gamegen_failure
 
EX eLand hr::top_land
 
EX hookset< bool()> * hr::hooks_welcome_message
 
int hr::trailer_cash0 = 5
 
int hr::trailer_cash1 = 15
 
bool hr::trailer_safety = true
 
EX hookset< void()> * hr::hooks_initgame
 
bool hr::havesave = true
 
EX int hr::savebox [MAXBOX]
 
EX int hr::boxid
 
EX bool hr::saving
 
EX bool hr::loading
 
EX bool hr::loadingHi
 
EX string hr::boxname [MAXBOX]
 
EX bool hr::fakebox [MAXBOX]
 
EX bool hr::monsbox [MAXBOX]
 
vector< eItem > hr::invorb
 
long long hr::saveposition = -1
 
EX purehookset hr::on_geometry_change
 
EX purehookset hr::clearmemory
 
EX purehookset hr::final_cleanup
 
auto hr::cgm
 

Detailed Description

changing game modes, starting, closing, loading and saving games