1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-25 10:57:59 +00:00

geometry specifics in mode code

This commit is contained in:
Zeno Rogue
2018-12-14 19:24:27 +01:00
parent 8a677c28fa
commit db69276264
2 changed files with 28 additions and 3 deletions

View File

@@ -1472,7 +1472,7 @@ bool isAlchAny(eWall w);
bool isAlchAny(cell *c);
#define YDIST 101
#define MODECODES 255
#define MODECODES (1ll<<61)
extern cellwalker cwt; // player character position
@@ -1481,7 +1481,7 @@ extern array<int, motypes> kills;
extern int explore[10], exploreland[10][landtypes], landcount[landtypes];
typedef int modecode_t;
typedef flagtype modecode_t;
extern map<modecode_t, array<int, ittypes> > hiitems;
extern eLand firstland, specialland;
@@ -3832,7 +3832,7 @@ enum eOrbLandRelation {
namespace torusconfig {
extern int sdx, sdy;
enum eTorusMode {
enum eTorusMode : char {
tmSingleHex,
tmSingle,
tmSlantedHex,