uint32_t linemax = textfile_width(file);
char * read_buf = try_malloc(linemax + 1, __func__);
world.turn = (uint16_t) read_value_from_line(read_buf, linemax, file);
- world.godsmood = (int16_t) read_value_from_line(read_buf, linemax, file); //
world.godsfavor = (int16_t) read_value_from_line(read_buf, linemax, file); //
world.player_lifepoints = (uint16_t) read_value_from_line(read_buf, linemax,
file);
uint16_t turn; /* world/game turn */
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 */