X-Git-Url: https://plomlompom.com/repos/?a=blobdiff_plain;f=src%2Fmain.h;h=e4d62e29ee87d682a58c2eeb9386562b62709738;hb=f89ac30f0907973b8aa858b053d38eec8e8f5bbf;hp=bf86e0507ce3426ed336e4dbb602d292deaf6127;hpb=657d5dbc6d362d7b20693c63b38d8d99f3d2dbbd;p=plomrogue diff --git a/src/main.h b/src/main.h index bf86e05..e4d62e2 100644 --- a/src/main.h +++ b/src/main.h @@ -6,10 +6,8 @@ #ifndef MAIN_H #define MAIN_H - - #include /* for uint32_t*/ -#include "keybindings.h" +#include "keybindings.h" /* for KeyBiData struct */ struct WinMeta; struct WinConf; struct Win; @@ -38,7 +36,8 @@ struct World struct MapObjDef * map_obj_defs; /* Map object type definitions 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 */ +} world; /* writing inventory selection index. */