|
Defines |
#define | DEF_ACTION(name, code, args, prepfn, NETPREPFN, dofn, checkfn, ARGDECL, doc) extern int NETPREPFN ARGDECL; |
#define | DEF_TASK(name, dname, code, argtypes, dofn, createfn, setfn, NETSETFN, pushfn, NETPUSHFN, ARGDECL) |
#define | MAXPACKETS 32767 |
Functions |
void | net_set_side_ai (Side *side, char *aitype) |
void | net_set_variant_value (int which, int v1, int v2, int v3) |
int | net_add_side_and_player (void) |
int | net_remove_side_and_player (int s) |
void | net_set_player_advantage (int n, int newadv) |
void | net_rename_side_for_player (int n, int which) |
void | net_set_ai_for_player (int n, char *aitype) |
int | net_exchange_players (int n, int n2) |
void | net_request_additional_side (char *playerspec) |
int | net_run_game (int maxactions) |
void | net_finish_turn (Side *side) |
void | net_resign_game (Side *side, Side *side2) |
void | net_set_side_name (Side *side, Side *side2, char *newname) |
void | net_set_side_longname (Side *side, Side *side2, char *newname) |
void | net_set_side_shortname (Side *side, Side *side2, char *newname) |
void | net_set_side_noun (Side *side, Side *side2, char *newname) |
void | net_set_side_pluralnoun (Side *side, Side *side2, char *newname) |
void | net_set_side_adjective (Side *side, Side *side2, char *newname) |
void | net_set_side_emblemname (Side *side, Side *side2, char *newname) |
void | net_set_side_colorscheme (Side *side, Side *side2, char *newname) |
void | net_become_designer (Side *side) |
void | net_become_nondesigner (Side *side) |
void | net_set_trust (Side *side, Side *side2, int val) |
void | net_set_autofinish (Side *side, int value) |
void | net_set_autoresearch (Side *side, int value) |
void | net_set_willing_to_save (Side *side, int flag) |
void | net_set_willing_to_draw (Side *side, int flag) |
void | net_send_message (Side *side, SideMask sidemask, char *str) |
void | net_set_side_self_unit (Side *side, struct a_unit *unit) |
void | net_set_doctrine (Side *side, char *spec) |
void | net_set_controlled_by (Side *side, Side *side2, int val) |
void | net_set_side_research_topic (Side *side, int a) |
void | net_set_side_research_goal (Side *side, int a) |
void | net_set_side_startx (Side *side, int x) |
void | net_set_side_starty (Side *side, int y) |
void | net_set_unit_plan_type (Side *side, Unit *unit, int type) |
void | net_set_unit_asleep (Side *side, Unit *unit, int flag, int recurse) |
void | net_set_unit_reserve (Side *side, Unit *unit, int flag, int recurse) |
void | net_set_unit_ai_control (Side *side, Unit *unit, int flag, int recurse) |
void | net_set_unit_main_goal (Side *side, Unit *unit, Goal *goal) |
void | net_set_unit_curadvance (Side *side, Unit *unit, int a) |
void | net_set_unit_researchdone (Side *side, Unit *unit, int flag) |
void | net_set_unit_waiting_for_transport (Side *side, Unit *unit, int flag) |
void | net_wake_unit (Side *side, Unit *unit, int wakeocc) |
void | net_wake_area (Side *side, int x, int y, int n, int occs) |
void | net_set_formation (Unit *unit, Unit *leader, int x, int y, int dist, int flex) |
void | net_delay_unit (Unit *unit, int flag) |
int | net_clear_task_agenda (Side *side, Unit *unit) |
int | net_clear_task_outcome (Side *side, Unit *unit) |
void | net_force_replan (Unit *unit) |
void | net_set_unit_name (Side *side, Unit *unit, char *newname) |
int | net_disband_unit (Side *side, Unit *unit) |
void | net_add_task (Unit *unit, int pos, Task *task) |
Feature * | net_create_feature (char *feattype, char *name) |
void | net_set_feature_type_name (Feature *feature, char *feattype) |
void | net_set_feature_name (Feature *feature, char *name) |
void | net_destroy_feature (Feature *feature) |
void | net_renumber_features (void) |
void | net_toggle_user_at (int u, int x, int y) |
int | send_join (char *str) |
void | receive_data (int timeout, int lim) |
int | host_the_game (char *hostport) |
int | try_join_game (char *hostport) |
void | net_save_game (char *fname) |
void | send_version (int rid) |
void | broadcast_game_module (void) |
void | net_send_chat (int rid, char *str) |
int | game_checksum (void) |
void | send_quit (void) |
void | flush_outgoing_queue (void) |
void | net_update_player (Player *player) |
void | download_to_player (Player *player) |
void | broadcast_randstate (void) |
void | add_remote_locally (int rid, char *str) |
void | send_chat (int rid, char *str) |
void | make_default_player_spec (void) |
Variables |
void(* | update_variant_callback )(int which) |
void(* | update_assignment_callback )(int n) |