3 * Contains the World struct holding all game data together.
11 #include <stdint.h> /* for uint32_t*/
12 #include "keybindings.h"
26 char interactive; /* 1: playing; 0: record playback. */
27 struct KeyBiData kb_global; /* Global keybindings. */
28 struct KeyBiData kb_wingeom; /* Window geometry config keybindings. */
29 struct KeyBiData kb_winkeys; /* Window keybinding config keybindings.*/
30 uint32_t seed; /* Randomness seed. */
31 uint32_t turn; /* Current game turn. */
32 uint16_t score; /* Player's score. */
33 char * log; /* Pointer to the game log string. */
34 struct Map * map; /* Pointer to the game map cells. */
35 struct ItemDef * item_def; /* Pointer to the item definitions. */
36 struct Item * item; /* Pointer to the items' data. */
37 struct MonsterDef * monster_def; /* Pointer to the monster definitions. */
38 struct Monster * monster; /* Pointer to the monsters' data. */
39 struct Player * player; /* Pointer to the player data. */
40 struct CommandDB * cmd_db; /* Pointer to the command database. */
41 struct WinMeta * wmeta; /* Pointer to window manager's WinMeta. */
42 struct WinConf * winconfs; /* Pointer to windows' configurations. */
43 char * winconf_ids; /* Pointer to string of Winconfs' ids. */