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:
5
hyper.h
5
hyper.h
@@ -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;
|
||||
|
Reference in New Issue
Block a user