mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-11-11 10:14:30 +00:00
using arrays for items and kills
This commit is contained in:
1 parent
65cac5073f
commit
ed82d5bae9
2 files changed
+8
-2
No files matched your search
@@ -96,7 +96,10 @@ extern void DEBT(const char *buf);
|
||||
bool eq(short a, short b) { return a==b; }
|
||||
|
||||
// game state
|
||||
int items[ittypes], kills[motypes], explore[10], exploreland[10][landtypes], landcount[landtypes];
|
||||
array<int, ittypes> items;
|
||||
array<int, motypes> kills;
|
||||
|
||||
int explore[10], exploreland[10][landtypes], landcount[landtypes];
|
||||
map<modecode_t, array<int, ittypes> > hiitems;
|
||||
bool orbused[ittypes], lastorbused[ittypes];
|
||||
bool playermoved = true; // center on the PC?
|
||||
|
||||
Reference in new issue
Block a user