1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-20 16:37:40 +00:00

using arrays for items and kills

This commit is contained in:
Zeno Rogue
2018-01-25 17:20:41 +01:00
parent 65cac5073f
commit ed82d5bae9
2 changed files with 8 additions and 2 deletions

View File

@@ -884,7 +884,10 @@ bool isAlchAny(cell *c);
extern cellwalker cwt; // player character position
extern int sval;
extern int items[ittypes], kills[motypes], explore[10], exploreland[10][landtypes], landcount[landtypes];
extern array<int, ittypes> items;
extern array<int, motypes> kills;
extern int explore[10], exploreland[10][landtypes], landcount[landtypes];
typedef int modecode_t;
extern map<modecode_t, array<int, ittypes> > hiitems;