Freeciv-3.3
|
Go to the source code of this file.
Data Structures | |
struct | agent |
Macros | |
#define | LAST_AGENT_LEVEL 99 |
#define | MAX_AGENT_NAME_LEN 10 |
Enumerations | |
enum | callback_type { CB_NEW , CB_REMOVE , CB_CHANGE , CB_LAST } |
Called from client/packhand.c.
Definition at line 467 of file agents.c.
Referenced by handle_end_turn().
Returns TRUE iff some agent is currently busy.
Definition at line 804 of file agents.c.
Referenced by can_end_turn(), and send_turn_done().
Called from client/packhand.c. See agents_unit_changed() for a generic documentation.
Definition at line 589 of file agents.c.
Referenced by handle_city_info(), and handle_city_short_info().
Called from client/packhand.c. See agents_unit_changed() for a generic documentation.
Definition at line 615 of file agents.c.
Referenced by handle_city_info(), and handle_city_short_info().
Called from client/packhand.c. See agents_unit_changed() for a generic documentation.
Definition at line 641 of file agents.c.
Referenced by handle_city_remove().
Called from client/packhand.c.
Definition at line 405 of file agents.c.
Referenced by set_client_state().
Free resources allocated for agents framework
Definition at line 349 of file agents.c.
Referenced by client_game_free(), and client_game_reset().
Called from client/packhand.c.
Definition at line 432 of file agents.c.
Referenced by handle_freeze_client(), and input_from_server().
Called from client/packhand.c.
Definition at line 450 of file agents.c.
Referenced by handle_server_join_reply().
Called from client/packhand.c.
Definition at line 458 of file agents.c.
Referenced by set_client_state().
Called once per client startup.
Definition at line 335 of file agents.c.
Referenced by client_game_init(), and client_game_reset().
Called from client/packhand.c. See agents_unit_changed() for a generic documentation.
Definition at line 484 of file agents.c.
Referenced by handle_new_year().
Called from client/packhand.c.
Definition at line 423 of file agents.c.
Referenced by handle_processing_finished().
Called from client/packhand.c.
Definition at line 414 of file agents.c.
Referenced by handle_processing_started().
Called from client/packhand.c.
Definition at line 475 of file agents.c.
Referenced by handle_start_phase().
Called from client/packhand.c.
Definition at line 441 of file agents.c.
Referenced by handle_thaw_client(), and input_from_server().
Called from client/packhand.c. See agents_unit_changed() for a generic documentation.
Definition at line 692 of file agents.c.
Referenced by handle_tile_info().
Called from client/packhand.c. See agents_unit_changed() for a generic documentation.
Definition at line 716 of file agents.c.
Referenced by handle_tile_info().
Called from client/packhand.c. See agents_unit_changed() for a generic documentation. Tiles got removed because of FOW.
Definition at line 668 of file agents.c.
Referenced by handle_tile_info().
Called from client/packhand.c. A call is created and added to the list of outstanding calls if an agent wants to be informed about this event and the change wasn't caused by the agent. We then try (this may not be successful in every case since we can be frozen or another call_handle_methods may be running higher up on the stack) to execute all outstanding calls.
Definition at line 512 of file agents.c.
Referenced by handle_unit_packet_common().
Called from client/packhand.c. See agents_unit_changed() for a generic documentation.
Definition at line 537 of file agents.c.
Referenced by handle_unit_packet_common().
Called from client/packhand.c. See agents_unit_changed() for a generic documentation.
Definition at line 563 of file agents.c.
Referenced by handle_unit_remove().
Adds a specific call for the given agent.
Definition at line 791 of file agents.c.
Referenced by cma_put_city_under_agent().
Registers an agent.
Definition at line 382 of file agents.c.
Referenced by cma_init(), cmafec_init(), and simple_historian_init().