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

Implementation of the history mode, including the long band and long spiral. More...

#include "hyper.h"

Namespaces

 hr
 

Typedefs

typedef long double hr::spiral::ld
 
typedef complex< long double > hr::spiral::cxld
 

Functions

color_t & hr::spiral::bandpixel (int x, int y)
 
void hr::spiral::precompute ()
 
void hr::spiral::draw ()
 
void hr::spiral::loop (vector< SDL_Surface * > _band)
 
void hr::history::handleKeyC (int sym, int uni)
 
EX void hr::history::progress_screen ()
 
EX void hr::history::progress (string str)
 
EX void hr::history::clear ()
 
EX void hr::history::create (cell *start, cell *target, transmatrix last)
 
EX void hr::history::create_playerpath ()
 
EX void hr::history::create_recenter_to_view (bool precise)
 
EX void hr::history::movetophase ()
 
EX void hr::history::apply ()
 
ld hr::history::measureLength ()
 
void hr::history::restore ()
 
void hr::history::restoreBack ()
 
EX void hr::history::createImage (bool dospiral)
 
EX bool hr::history::band_renderable_now ()
 
EX void hr::history::history_menu ()
 
EX void hr::history::renderAutoband ()
 
int hr::history::readArgs ()
 

Variables

int hr::spiral::shiftx
 
int hr::spiral::shifty
 
int hr::spiral::velx
 
int hr::spiral::vely
 
vector< pair< short, short > > hr::spiral::quickmap
 
int hr::spiral::CX
 
int hr::spiral::CY
 
int hr::spiral::SX
 
int hr::spiral::SY
 
int hr::spiral::Yshift
 
vector< SDL_Surface * > hr::spiral::band
 
SDL_Surface * hr::spiral::out
 
bool hr::spiral::displayhelp = true
 
int hr::history::lastprogress
 
EX bool hr::history::on
 
EX vector< shmup::monster * > hr::history::v
 
int hr::history::llv
 
EX double hr::history::phase
 
EX vector< pair< cell *, eMonster > > hr::history::killhistory
 
EX vector< pair< cell *, eItem > > hr::history::findhistory
 
EX vector< cell * > hr::history::movehistory
 
EX bool hr::history::includeHistory
 
EX ld hr::history::lvspeed = 1
 
EX int hr::history::bandhalf = 200
 
EX int hr::history::bandsegment = 16000
 
EX bool hr::history::autoband = false
 
EX bool hr::history::autobandhistory = false
 
EX bool hr::history::dospiral = true
 
EX ld hr::history::extra_line_steps = 0
 
EX vector< cell * > hr::history::path_for_lineanimation
 
EX set< cell * > hr::history::inmovehistory
 
EX set< cell * > hr::history::inkillhistory
 
EX set< cell * > hr::history::infindhistory
 
auto hr::history::hookArg = addHook(hooks_args, 100, readArgs)
 
auto hr::history::hooks
 

Detailed Description

Implementation of the history mode, including the long band and long spiral.

Variable Documentation

◆ hooks

auto hr::history::hooks
Initial value:
= addHook(clearmemory, 0, [] () {
history::renderAutoband();
history::on = false;
history::killhistory.clear();
history::findhistory.clear();
history::movehistory.clear();
history::path_for_lineanimation.clear();
history::includeHistory = false;
})