X-Git-Url: https://plomlompom.com/repos/?a=blobdiff_plain;f=src%2Fmain.h;h=792f29477777288025bdfcaba0b715807f7c1fc1;hb=6f9c0f49233065ed1ce0bae8862902e3cead639e;hp=0bd2cd8d860fbadb30c5483515748dfdc172949d;hpb=58f0067336c9239750009b3f35d18031bec8f7b5;p=plomrogue diff --git a/src/main.h b/src/main.h index 0bd2cd8..792f294 100644 --- a/src/main.h +++ b/src/main.h @@ -10,6 +10,7 @@ #include /* for uint32_t*/ struct WinMeta; +struct WinConf; struct Win; struct KeyBinding; struct KeysWinData; @@ -19,17 +20,6 @@ struct MonsterDef; -struct Wins -{ - struct WinMeta * meta; - struct Win * keys; - struct Win * info; - struct Win * log; - struct Win * map; -}; - - - struct World { char interactive; /* 1: playing; 0: record playback. */ @@ -46,7 +36,9 @@ struct World struct Monster * monster; /* Pointer to the monsters' data. */ struct Player * player; /* Pointer to the player data. */ struct CommandDB * cmd_db; /* Pointer to the command database. */ - struct Wins wins; /* Pointers to WinMeta, individual Wins.*/ + 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. */ };