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

localization support More...

#include "hyper.h"
#include "language-data.cpp"

Classes

struct  hr::stringpar
 
struct  hr::sentence
 
struct  hr::noun
 
struct  hr::fullnoun
 

Namespaces

 hr
 

Macros

#define NUMLAN   7
 
#define findInHashTable(s, t)   findInHashTableS(s, t, sizeof(t) / sizeof(t[0]))
 

Typedefs

typedef unsigned hr::hashcode
 

Functions

const EX string hr::dnameof (eMonster m)
 
const EX string hr::dnameof (eLand l)
 
const EX string hr::dnameof (eWall w)
 
const EX string hr::dnameof (eItem i)
 
void hr::rep (string &pattern, string what, string to)
 
void hr::reponce (string &pattern, string what, string to)
 
hashcode hr::langhash (const string &s)
 
template<class T >
const T * hr::findInHashTableS (string s, const T *table, int size)
 
string hr::choose3 (int g, string a, string b, string c)
 
string hr::choose4 (int g, string a, string b, string c, string d)
 
void hr::basicrep (string &x)
 
void hr::parrep (string &x, string w, stringpar p)
 
void hr::postrep (string &s)
 
string hr::XLAT (string)
 
EX string hr::XLAT (string x, stringpar p1)
 
EX string hr::XLAT (string x, stringpar p1, stringpar p2)
 
EX string hr::XLAT (string x, stringpar p1, stringpar p2, stringpar p3)
 
EX string hr::XLAT (string x, stringpar p1, stringpar p2, stringpar p3, stringpar p4)
 
EX string hr::XLAT (string x, stringpar p1, stringpar p2, stringpar p3, stringpar p4, stringpar p5)
 
EX string hr::XLATN (string x)
 
EX string hr::XLAT1 (string x)
 
EX string hr::XLATT1 (stringpar p)
 
EX bool hr::shapename_available (int id)
 
EX string hr::shapename (int id)
 

Variables

set< string > hr::warnshown
 

Detailed Description

localization support