|
Defines |
| #define | DEF_HEVT(NAME, code, DATADESCS) { NAME, DATADESCS }, |
| #define | NUMPASTBUFS 3 |
Functions |
| void | init_history (void) |
| void | start_history (void) |
| HistEvent * | create_historical_event (HistEventType type) |
| HistEvent * | record_event (HistEventType type, SideMask observers,...) |
| void | record_unit_death (Unit *unit, HistEventType reason) |
| PastUnit * | change_unit_to_past_unit (Unit *unit) |
| void | record_unit_side_change (Unit *unit, Side *newside, HistEventType reason, Unit *agent) |
| void | record_unit_name_change (Unit *unit, char *newname) |
| void | count_gain (Side *side, int u, enum gain_reasons reason) |
| void | count_loss (Side *side, int u, enum loss_reasons reason) |
| PastUnit * | create_past_unit (int type, int id) |
| PastUnit * | find_past_unit (int n) |
| void | end_history (void) |
| HistEvent * | get_nth_history_line (Side *side, int n, HistEvent **nextevt) |
| int | update_total_hist_lines (Side *side) |
| int | build_hist_contents (Side *side, int n, HistEvent **histcontents, int numvishistlines) |
| void | dump_statistics (void) |
| char * | past_unit_desig (PastUnit *pastunit) |
| int | total_gain (Side *side, int u) |
| int | total_loss (Side *side, int u) |
Variables |
| int | any_post_event_scores |
| int | need_post_event_scores |
| HevtDefn | hevtdefns [] |
| | Historical Event Definition array.
|
| HistEvent * | history |
| int | tmphevtdata1 |
| | Tempoary event data 1.
|
| PastUnit * | past_unit_list |
| | Past Unit History list.
|
| PastUnit * | last_past_unit |
| int | next_past_unit_id = -2 |
| int | curpastbuf = 0 |
| char * | pastbufs [NUMPASTBUFS] = { NULL, NULL, NULL } |
| int | statistics_wanted = FALSE |
| | Statistics wanted.
|
| int | statistics_dumped |