1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-11-19 15:15:12 +00:00

moved all the HyperRogue stuff except RogueViz to namespace 'hr' -- useful when using hr as a library

This commit is contained in:
Zeno Rogue
2018-06-11 01:58:31 +02:00
parent c2e3ed54f0
commit 4c619e60dd
68 changed files with 735 additions and 539 deletions

View File

@@ -4,6 +4,8 @@
// routines for: initializing/closing, loading/saving, and cheating
namespace hr {
bool need_reset_geometry = true;
bool game_active;
@@ -1308,3 +1310,4 @@ addHook(hooks_removecells, 0, [] () {
for(int i=0; i<SHSIZE; i++) for(int p=0; p<MAXPLAYER; p++)
set_if_removed(shpos[p][i], NULL);
});;
}