ru:: stats, redefine keys in the inventory screen

This commit is contained in:
Zeno Rogue
2025-05-04 22:37:00 +02:00
parent 40b06218d9
commit 5a761c43c5
7 changed files with 110 additions and 21 deletions
+4 -2
View File
@@ -124,14 +124,14 @@ extern array<array<location, 256>, 256> all_locations;
enum class mapmode { standard, poincare, klein };
enum class mode { editmap, menu, playing, paused, inventory, talking };
enum class mode { editmap, menu, playing, paused };
mode cmode = mode::playing;
mapmode cmapmode = mapmode::standard;
void switch_mapmode_to(mapmode m);
bool should_apply_fov() { return among(cmode, mode::playing, mode::paused, mode::inventory); }
bool should_apply_fov() { return among(cmode, mode::playing, mode::paused, mode::menu); }
void enable();
@@ -146,4 +146,6 @@ void render_room_objects(room *r);
void asciiletter(ld minx, ld miny, ld maxx, ld maxy, const string& ch, color_t col);
void render_the_map();
}