home · contact · privacy
7DRL: Only player may pick up non-food.(Or AI axe-blocks its inventory.)
[plomrogue] / src / client / world.h
index 19497d254cddaa13f1a5dc6cb9abc50c7ec0e2ca..5c80143a2b70b1ae255ccfceaf94ae57af87ad7b 100644 (file)
@@ -38,15 +38,19 @@ struct World
     char * path_commands; /* path of commands config file */
     char * player_inventory; /* one-item-per-line string list of owned items */
     char * mem_map; /* map cells of player's map memory */
+    char * meta_map_0; /* map cells metadata  */ // 7DRL
+    char * meta_map_1; /* map cells metadata  */ // 7DRL
     char * queue; /* stores un-processed messages read from the input file */
     struct yx_uint8 player_pos; /* coordinates of player on map */
     struct yx_uint8 look_pos; /* coordinates of look cursor */
     uint16_t turn; /* world/game turn */
-    uint8_t halfdelay; /* how long to wait for getch() input in io_loop() */
+    uint16_t things_here_scroll; /* scroll position things here win */ // 7DRL
+    int16_t player_satiation; /* player's belly fullness */
+    int16_t godsmood; /* island god's mood */ // 7DRL
+    int16_t godsfavor; /* island god's favor to player */ // 7DRL
     uint8_t player_inventory_select; /* index of selected item in inventory */
     uint8_t player_lifepoints; /* how alive the player is */
     uint8_t winch; /* if set, SIGWINCH was registered; trigger reset_windows()*/
-    uint8_t autofocus; /* if !0, re-focus map each new turn / look focus move */
     uint8_t look; /* if set, move look cursor over map intead of player */
 };