![]() |
Freeciv21
Develop your civilization from humble roots to a global empire
|
Include dependency graph for calendar.cpp:Go to the source code of this file.
Functions | |
| void | game_next_year (struct packet_game_info *info) |
| Advance the calendar in the passed game_info structure (may only be a copy of the real one). More... | |
| void | game_advance_year () |
| Advance the game year. More... | |
| const char * | textcalfrag (int frag) |
| Produce a statically allocated textual representation of the given calendar fragment. More... | |
| const char * | textyear (int year) |
| Produce a statically allocated textual representation of the given year. More... | |
| const char * | calendar_text () |
| Produce a statically allocated textual representation of the current calendar time. More... | |
| const char* calendar_text | ( | ) |
Produce a statically allocated textual representation of the current calendar time.
Definition at line 137 of file calendar.cpp.
Referenced by api_methods_game_year_text(), get_info_label_text(), get_info_label_text_popup(), historian_generic(), img_new(), log_civ_score_now(), report_achievements(), report_demographics(), send_year_to_clients(), show_new_turn_info(), and pageGame::updateInfoLabelTimeout().
| void game_advance_year | ( | ) |
| void game_next_year | ( | struct packet_game_info * | info | ) |
Advance the calendar in the passed game_info structure (may only be a copy of the real one).
FIXME: would be nice to pass a struct containing just the calendar, not the whole game_info struct.
Definition at line 24 of file calendar.cpp.
Referenced by check_for_game_over(), and game_advance_year().
| const char* textcalfrag | ( | int | frag | ) |
Produce a statically allocated textual representation of the given calendar fragment.
Definition at line 97 of file calendar.cpp.
Referenced by calendar_text(), req_text_insert(), universal_name_translation(), and worklist_item_postpone_req_vec().
| const char* textyear | ( | int | year | ) |
Produce a statically allocated textual representation of the given year.
Definition at line 116 of file calendar.cpp.
Referenced by calendar_text(), get_spaceship_descr(), handle_spaceship_launch(), req_text_insert(), universal_name_translation(), and worklist_item_postpone_req_vec().