X-Git-Url: https://plomlompom.com/repos/foo.html?a=blobdiff_plain;f=src%2Fmain.h;h=ee9fc9055c6377cd860607bb68b1004ff88b3a1f;hb=2f0b15e05b0df7e10a2d0bb04ce4648455d980a8;hp=2ae8133b20537c4ee84ed639b6907c14bbc3ab9e;hpb=caf7e50574dc4fb3756a386257863e5b8b42ad98;p=plomrogue
diff --git a/src/main.h b/src/main.h
index 2ae8133..ee9fc90 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. */
@@ -45,7 +35,9 @@ struct World
struct MonsterDef * monster_def; /* Pointer to the monster definitions. */
struct Monster * monster; /* Pointer to the monsters' data. */
struct Player * player; /* Pointer to the player data. */
- struct Wins wins; /* Pointers to WinMeta, individual Wins.*/
+ struct CommandDB * cmd_db; /* Pointer to the command database. */
+ struct WinMeta * wmeta; /* Pointer to window manager's WinMeta. */
+ struct WinConf * winconfs; /* Pointer to windows' configurations. */
};