Freeciv-3.2
|
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 466 of file agents.c.
Referenced by handle_end_turn().
Returns TRUE iff some agent is currently busy.
Definition at line 803 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 588 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 614 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 640 of file agents.c.
Referenced by handle_city_remove().
Called from client/packhand.c.
Definition at line 404 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 431 of file agents.c.
Referenced by handle_freeze_client(), and input_from_server().
Called from client/packhand.c.
Definition at line 449 of file agents.c.
Referenced by handle_server_join_reply().
Called from client/packhand.c.
Definition at line 457 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 483 of file agents.c.
Referenced by handle_new_year().
Called from client/packhand.c.
Definition at line 422 of file agents.c.
Referenced by handle_processing_finished().
Called from client/packhand.c.
Definition at line 413 of file agents.c.
Referenced by handle_processing_started().
Called from client/packhand.c.
Definition at line 474 of file agents.c.
Referenced by handle_start_phase().
Called from client/packhand.c.
Definition at line 440 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 691 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 715 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 667 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 511 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 536 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 562 of file agents.c.
Referenced by handle_unit_remove().
Adds a specific call for the given agent.
Definition at line 790 of file agents.c.
Referenced by cma_put_city_under_agent().
Registers an agent.
Definition at line 381 of file agents.c.
Referenced by cma_init(), cmafec_init(), and simple_historian_init().