1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-22 01:17:39 +00:00

illegal cases in binarytiling.cpp now throw hr_wrong_dir()

This commit is contained in:
Zeno Rogue
2021-03-12 15:30:12 +01:00
parent 03cbe7f7e3
commit e4947acef7
2 changed files with 22 additions and 10 deletions

View File

@@ -101,6 +101,8 @@ using std::acosh;
struct hr_exception: std::exception { hr_exception() {} };
struct hr_shortest_path_exception: hr_exception { };
struct hr_wrong_dir: hr_exception { };
// genus (in grammar)
#define GEN_M 0
#define GEN_F 1