Searched refs:debt_state (Results 1 – 6 of 6) sorted by relevance
39 if (city_data.emperor.debt_state == 0) { in update_debt_state()45 city_data.emperor.debt_state = 1; in update_debt_state()49 } else if (city_data.emperor.debt_state == 1) { in update_debt_state()50 city_data.emperor.debt_state = 2; in update_debt_state()54 } else if (city_data.emperor.debt_state == 2) { in update_debt_state()63 city_data.emperor.debt_state = 3; in update_debt_state()70 } else if (city_data.emperor.debt_state == 3) { in update_debt_state()79 city_data.emperor.debt_state = 4; in update_debt_state()
70 int32_t debt_state; member
359 buffer_write_i32(main, city_data.emperor.debt_state); in save_main_data()836 city_data.emperor.debt_state = buffer_read_i32(main); in load_main_data()
43 if (city_data.emperor.debt_state == 0) { in update_debt_state()49 city_data.emperor.debt_state = 1; in update_debt_state()53 } else if (city_data.emperor.debt_state == 1) { in update_debt_state()54 city_data.emperor.debt_state = 2; in update_debt_state()58 } else if (city_data.emperor.debt_state == 2) { in update_debt_state()67 city_data.emperor.debt_state = 3; in update_debt_state()74 } else if (city_data.emperor.debt_state == 3) { in update_debt_state()83 city_data.emperor.debt_state = 4; in update_debt_state()
76 int32_t debt_state; member
372 buffer_write_i32(main, city_data.emperor.debt_state); in save_main_data()879 city_data.emperor.debt_state = buffer_read_i32(main); in load_main_data()