X-Git-Url: https://plomlompom.com/repos/foo.html?a=blobdiff_plain;f=src%2Fmain.h;h=8105d3421933bf0889565003ae147988d6559a55;hb=18fefabcc05bb3903384efbcc92f4303d9ac9567;hp=a2900997a76873ec6a66ab7b87fd2eb8050bb418;hpb=fb8ddca6abc66eb7e52a007850689309b4cda938;p=plomrogue
diff --git a/src/main.h b/src/main.h
index a290099..8105d34 100644
--- a/src/main.h
+++ b/src/main.h
@@ -34,11 +34,12 @@ struct World
struct WinMeta * wmeta; /* Pointer to window manager's WinMeta. */
struct WinConf * winconfs; /* Pointer to windows' configurations. */
char * winconf_ids; /* Pointer to string of Winconfs' ids. */
- struct Player * player; /* Pointer to the player data. */
uint8_t map_obj_count; /* Counts map objects generated so far. */
struct MapObjDef * map_obj_defs; /* Map object type definitions chain. */
- struct MapObj * map_objs; /* Map objects chain. */
-};
+ struct MapObj * map_objs; /* Pointer to map objects chain start. */
+ uint8_t inventory_select; /* Player's inventory selection index. */
+ uint8_t old_inventory_select; /* Temporarily stores for recordfile */
+}; /* writing inventory selection index. */