![]() |
Freeciv21
Develop your civilization from humble roots to a global empire
|
#include <governor.h>
Collaboration diagram for governor:Public Member Functions | |
| ~governor () | |
| bool | hot () |
| void | freeze () |
| void | unfreeze () |
| void | add_city_changed (struct city *pcity) |
| void | add_city_new (struct city *pcity) |
| void | add_city_remove (struct city *pcity) |
Static Public Member Functions | |
| static governor * | i () |
| static void | drop () |
Private Member Functions | |
| governor () | |
| void | run () |
Private Attributes | |
| std::set< int > | scity_changed |
| std::set< int > | scity_remove |
| int | superhot |
Static Private Attributes | |
| static governor * | m_instance = nullptr |
Definition at line 17 of file governor.h.
|
default |
|
inlineprivate |
Definition at line 34 of file governor.h.
Referenced by i().
| void governor::add_city_changed | ( | struct city * | pcity | ) |
Definition at line 116 of file governor.cpp.
Referenced by handle_city_info(), handle_city_short_info(), and cma_yoloswag::put_city_under_agent().
| void governor::add_city_new | ( | struct city * | pcity | ) |
Definition at line 122 of file governor.cpp.
Referenced by handle_city_info(), and handle_city_short_info().
| void governor::add_city_remove | ( | struct city * | pcity | ) |
Definition at line 128 of file governor.cpp.
Referenced by handle_city_remove().
|
static |
Definition at line 98 of file governor.cpp.
Referenced by client_game_free(), and client_game_reset().
|
inline |
Definition at line 23 of file governor.h.
Referenced by handle_freeze_client(), handle_processing_started(), and input_from_server().
|
inline |
Definition at line 22 of file governor.h.
Referenced by can_end_turn().
|
static |
Definition at line 107 of file governor.cpp.
Referenced by can_end_turn(), client_game_free(), client_game_reset(), handle_city_info(), handle_city_remove(), handle_city_short_info(), handle_freeze_client(), handle_processing_finished(), handle_processing_started(), handle_thaw_client(), input_from_server(), cma_yoloswag::put_city_under_agent(), and send_turn_done().
|
private |
Definition at line 135 of file governor.cpp.
Referenced by add_city_changed(), add_city_new(), add_city_remove(), and unfreeze().
|
inline |
Definition at line 24 of file governor.h.
Referenced by handle_processing_finished(), handle_thaw_client(), and input_from_server().
|
staticprivate |
Definition at line 36 of file governor.h.
Referenced by i().
|
private |
Definition at line 37 of file governor.h.
Referenced by add_city_changed(), add_city_new(), and run().
|
private |
Definition at line 38 of file governor.h.
Referenced by add_city_remove(), and run().
|
private |
Definition at line 39 of file governor.h.
Referenced by freeze(), governor(), hot(), run(), and unfreeze().