|
Functions |
void | allocate_used_cells (Unit *unit) |
void | init_run (void) |
int | run_game (int maxactions) |
void | finish_turn (Side *side) |
void | set_play_rate (int slow, int fast) |
void | resign_game (Side *side, Side *side2) |
int | realtime_game (void) |
int | all_others_willing_to_save (Side *side) |
int | all_others_willing_to_quit (Side *side) |
void | end_the_game (void) |
void | update_canresearch_vector (Side *side) |
void | update_side_research_goal_availability (Side *side) |
void | update_canbuild_vector (Side *side) |
void | update_cancarry_vector (Side *side) |
void | run_people () |
void | run_advanced_units () |
int | production_at (int x, int y, int m) |
void | kick_out_enemy_users (Side *side, int x, int y) |
void | auto_pick_unit_research (Unit *unit) |
void | auto_pick_side_research (Side *side) |
Variables |
Action * | latest_action = NULL |
int | latest_action_x |
int | latest_action_y |
int | curpriority |
int | cur_unit_priority |
int | highest_unit_priority |
int | lowest_unit_priority |
int | maintimeout = -1 |
int | paused = FALSE |
int | gameinited = FALSE |
| Game initialized flag.
|
int | beforestart = TRUE |
| Game not started flag.
|
int | at_turn_start = FALSE |
int | endofgame = FALSE |
| End of game flag.
|
int | ok_to_exit |
int | gamestatesafe = TRUE |
| Game in safe state flag.
|
int | compromised = FALSE |
| Game compromised flag.
|
int | in_run_game = FALSE |
time_t | game_start_in_real_time |
| Game started in real time flag.
|
time_t | turn_play_start_in_real_time |
| Turn play start in real time.
|
int | planexecs |
int | taskexecs |
int | slow_play_rate = 240 |
int | fast_play_rate = 0 |
int | current_play_rate |
int | need_post_event_scores |
int | need_ai_init_turn |
int | need_ai_planning |
int | need_ai_action_reaction |
int | need_ai_for_new_side |
int | need_ai_finish_movement |
int | debugging_state_sync |