home
·
contact
·
privacy
projects
/
plomrogue
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed memory handling bug.
[plomrogue]
/
src
/
main.h
diff --git
a/src/main.h
b/src/main.h
index 0bd2cd8d860fbadb30c5483515748dfdc172949d..792f29477777288025bdfcaba0b715807f7c1fc1 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. */
@@
-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 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. */
};
};