Searched refs:months_to_go (Results 1 – 9 of 9) sorted by relevance
75 city_data.festival.planned.months_to_go = 2; in city_festival_schedule()78 city_data.festival.planned.months_to_go = 3; in city_festival_schedule()81 city_data.festival.planned.months_to_go = 4; in city_festival_schedule()117 city_data.festival.planned.months_to_go = 0; in throw_party()130 city_data.festival.planned.months_to_go--; in city_festival_update()131 if (city_data.festival.planned.months_to_go <= 0) { in city_festival_update()
292 int32_t months_to_go; member
383 buffer_write_i32(main, city_data.festival.planned.months_to_go); in save_main_data()860 city_data.festival.planned.months_to_go = buffer_read_i32(main); in load_main_data()
117 return city_data.games.months_to_go; in city_festival_games_planning_time()140 city_data.festival.planned.months_to_go = 2; in city_festival_schedule()143 city_data.festival.planned.months_to_go = 3; in city_festival_schedule()146 city_data.festival.planned.months_to_go = 4; in city_festival_schedule()204 city_data.festival.planned.months_to_go = 0; in throw_party()217 city_data.festival.planned.months_to_go--; in city_festival_update()218 if (city_data.festival.planned.months_to_go <= 0) { in city_festival_update()
78 city_data.games.months_to_go = 0; in begin_games()112 city_data.games.months_to_go = game->delay_months; in city_games_schedule()120 if (city_data.games.months_to_go) { in city_games_decrement_month_counts()121 city_data.games.months_to_go--; in city_games_decrement_month_counts()122 if (city_data.games.months_to_go == 0) { in city_games_decrement_month_counts()
313 int32_t months_to_go; member333 int32_t months_to_go; member
399 buffer_write_i32(main, city_data.festival.planned.months_to_go); in save_main_data()906 city_data.festival.planned.months_to_go = buffer_read_i32(main); in load_main_data()
82 int months_to_go; member130 warning->months_to_go = 12 * scenario.invasions[i].year; in scenario_invasion_init()131 warning->months_to_go += scenario.invasions[i].month; in scenario_invasion_init()132 warning->months_to_go -= 12 * year; in scenario_invasion_init()328 warning->months_to_go--; in scenario_invasion_process()329 if (warning->months_to_go <= 0) { in scenario_invasion_process()454 buffer_write_i32(warnings, w->months_to_go); in scenario_invasion_save_state()478 w->months_to_go = buffer_read_i32(warnings); in scenario_invasion_load_state()
89 int months_to_go; member137 warning->months_to_go = 12 * scenario.invasions[i].year; in scenario_invasion_init()138 warning->months_to_go += scenario.invasions[i].month; in scenario_invasion_init()139 warning->months_to_go -= 12 * year; in scenario_invasion_init()347 warning->months_to_go--; in scenario_invasion_process()348 if (warning->months_to_go <= 0) { in scenario_invasion_process()508 buffer_write_i32(warnings, w->months_to_go); in scenario_invasion_save_state()532 w->months_to_go = buffer_read_i32(warnings); in scenario_invasion_load_state()