mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-02-23 06:20:09 +00:00
added hr_exception_str
This commit is contained in:
parent
b55eb5721e
commit
242b601a51
2
hyper.h
2
hyper.h
@ -105,6 +105,8 @@ struct hr_wrong_dir: hr_exception { };
|
||||
|
||||
struct hr_wrong_geometry: hr_exception { };
|
||||
|
||||
struct hr_exception_str: std::exception { string s; hr_exception_str(const string& s) : s(s) {} const char* what() { return s.c_str(); }};
|
||||
|
||||
// genus (in grammar)
|
||||
#define GEN_M 0
|
||||
#define GEN_F 1
|
||||
|
Loading…
x
Reference in New Issue
Block a user