home
·
contact
·
privacy
projects
/
plomrogue
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Simplified window configuration view.
[plomrogue]
/
src
/
main.h
diff --git
a/src/main.h
b/src/main.h
index 2ae8133b20537c4ee84ed639b6907c14bbc3ab9e..ee9fc9055c6377cd860607bb68b1004ff88b3a1f 100644
(file)
--- a/
src/main.h
+++ b/
src/main.h
@@
-10,6
+10,7
@@
#include <stdint.h> /* for uint32_t*/
struct WinMeta;
#include <stdint.h> /* for uint32_t*/
struct WinMeta;
+struct WinConf;
struct Win;
struct KeyBinding;
struct KeysWinData;
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. */
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 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. */
};
};