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

Heads-Up display: items collected, monsters killed, radar, etc. More...

#include "hyper.h"

Namespaces

 hr
 

Macros

#define GLYPH_MARKTODO   1
 
#define GLYPH_MARKOVER   2
 
#define GLYPH_LOCAL   4
 
#define GLYPH_IMPORTANT   8
 
#define GLYPH_NONUMBER   16
 
#define GLYPH_DEMON   32
 
#define GLYPH_RUNOUT   64
 
#define GLYPH_INPORTRAIT   128
 
#define GLYPH_LOCAL2   256
 
#define GLYPH_TARGET   512
 
#define GLYPH_INSQUARE   1024
 

Enumerations

enum  eGlyphsortorder {
  gsoFirstTop, gsoFirstBottom, gsoLastTop, gsoLastBottom,
  gsoLand, gsoValue, gsoMAX
}
 

Functions

EX int hr::monsterclass (eMonster m)
 
EX int hr::glyphclass (int i)
 
EX int hr::subclass (int i)
 
int & hr::ikmerge (int i)
 
bool hr::ikappear (int i)
 
void hr::updatesort ()
 
EX void hr::preparesort ()
 
int hr::glyphcorner (int i)
 
bool hr::glyphsort (int i, int j)
 
int hr::glyphflags (int gid)
 
EX bool hr::graphglyph ()
 
bool hr::displayglyph (int cx, int cy, int buttonsize, char glyph, color_t color, int qty, int flags, int id)
 
void hr::displayglyph2 (int cx, int cy, int buttonsize, int i)
 
void hr::drawMobileArrow (int i)
 
EX void hr::drawStats ()
 

Variables

EX purehookset hr::hooks_stats
 
EX eGlyphsortorder hr::glyphsortorder
 
int hr::zero = 0
 
const int hr::glyphs = ittypes + motypes
 
int hr::gfirsttime [glyphs]
 
int hr::glasttime [glyphs]
 
int hr::gcopy [glyphs]
 
int hr::ikland [glyphs]
 
int hr::glyphorder [glyphs]
 
int hr::glyphphase [glyphs]
 
int hr::glyph_lastticks
 
int hr::glyphsortkey = 0
 
EX bool hr::nohud
 
EX bool hr::nomenukey
 
EX hookset< bool()> * hr::hooks_prestats
 
EX bool hr::nofps = false
 
EX color_t hr::crosshair_color = 0xFFFFFFC0
 
EX ld hr::crosshair_size = 0
 
EX bool hr::long_kills
 

Detailed Description

Heads-Up display: items collected, monsters killed, radar, etc.