Freeciv-3.1
Loading...
Searching...
No Matches
packets_gen.h
Go to the documentation of this file.
1
2 /****************************************************************************
3 * THIS FILE WAS GENERATED *
4 * Script: common/generate_packets.py *
5 * Input: common/networking/packets.def *
6 * DO NOT CHANGE THIS FILE *
7 ****************************************************************************/
8
9
10#ifdef __cplusplus
11extern "C" {
12#endif /* __cplusplus */
13
14/* common */
15#include "actions.h"
16#include "city.h"
17#include "disaster.h"
18#include "unit.h"
19
20/* common/aicore */
21#include "cm.h"
22
24 char __dummy; /* to avoid malloc(0); */
25};
26
28 char __dummy; /* to avoid malloc(0); */
29};
30
37
44
53
56 char message[1536];
57 char capability[512];
58 char challenge_file[4095];
60};
61
66
70
72 char __dummy; /* to avoid malloc(0); */
73};
74
82
87
93
101
118
161 enum goods_selection_method goods_selection;
166 int gold;
206 int phase;
207 enum phase_mode_type phase_mode;
222 enum ai_level skill_level;
225 int tech;
227 enum tech_leakage_style tech_leakage;
241 int turn;
243 int year;
250 enum wonder_visib_type small_wonder_visibility;
251};
252
260
265
271
273 int tile;
274};
275
280
282 int id;
283 bool gained;
284 bool first;
285};
286
289 int tile;
290 enum event_type event;
291 int turn;
292 int phase;
294};
295
298 int tile;
299 enum event_type event;
300 int turn;
301 int phase;
303};
304
308
312
320
325
379
387
389 int id16;
390 int id32;
391 int tile;
392 int owner;
393 int size;
394 int style;
395 enum capital_type capital;
397 int walls;
398 bool happy;
401 bv_imprs improvements;
403};
404
415
421
426
433
439
445
451
458
464
468 bv_city_options options;
469};
470
475
480
486
496
505
510 enum unit_activity activity;
511 int tgt;
512 int want;
513};
514
518
567
571
573 int tax;
576};
577
581
586
588 char __dummy; /* to avoid malloc(0); */
589};
590
597
607
612
624
626 int id;
627};
628
632
636
641
683
703
714
718 enum unit_ss_data_type type;
719 int value;
720};
721
732
736 enum server_side_agent agent;
737};
738
746
750
759
768
778
791
795 enum unit_activity activity;
797};
798
802
807
811
816
819 int giver;
820 enum clause_type type;
821 int value;
822};
823
826 int giver;
827 enum clause_type type;
828 int value;
829};
830
833 int giver;
834 enum clause_type type;
835 int value;
836};
837
840 int giver;
841 enum clause_type type;
842 int value;
843};
844
848
854
857 enum clause_type clause;
858};
859
863 enum event_type event;
864 int len;
865 int parts;
866};
867
871
875
887
893
895 char __dummy; /* to avoid malloc(0); */
896};
897
899 char __dummy; /* to avoid malloc(0); */
900};
901
903 char __dummy; /* to avoid malloc(0); */
904};
905
911
913 char __dummy; /* to avoid malloc(0); */
914};
915
917 int phase;
918};
919
921 int year;
923 int turn;
924};
925
927 char __dummy; /* to avoid malloc(0); */
928};
929
931 char __dummy; /* to avoid malloc(0); */
932};
933
935 char __dummy; /* to avoid malloc(0); */
936};
937
939 char __dummy; /* to avoid malloc(0); */
940};
941
943 char __dummy; /* to avoid malloc(0); */
944};
945
950
971
1022
1025 enum unit_type_flag_id flag;
1026 enum combat_bonus_type type;
1028 bool quiet;
1029};
1030
1036
1042
1059
1071
1078
1095
1102
1108
1119
1134
1136 char __dummy; /* to avoid malloc(0); */
1137};
1138
1145
1151
1179
1185
1191
1202
1222
1260
1266
1277
1319
1325
1334
1349
1362
1372
1374 int id;
1377 enum achievement_type type;
1380};
1381
1388
1392 bool quiet;
1393 enum action_result result;
1394 bv_action_sub_results sub_results;
1396 enum action_actor_kind act_kind;
1397 enum action_target_kind tgt_kind;
1398 enum action_sub_target_kind sub_tgt_kind;
1401 bv_actions blocked_by;
1402};
1403
1411
1420
1428
1444
1453
1487
1491
1495
1499
1503
1508
1513
1519
1527
1529 int id;
1533 enum setting_default_level setdef;
1534 bool val;
1536};
1537
1549
1559
1572
1585
1589
1598
1603
1620
1624
1628
1636
1644
1648
1653
1658
1660 bool state;
1661};
1662
1664 char __dummy; /* to avoid malloc(0); */
1665};
1666
1668 char __dummy; /* to avoid malloc(0); */
1669};
1670
1674
1680
1688
1690 int id;
1692 int tag;
1693};
1694
1696 int id;
1698 bv_startpos_nations nations;
1699};
1700
1710
1718
1725
1730
1753
1760
1765
1797
1801
1805
1833
1840
1852
1856
1861
1865
1872
1877
1882
1965 PACKET_PAGE_MSG = 110, /* 110 */
1981 PACKET_RULESET_UNIT = 140, /* 140 */
2009 PACKET_SCENARIO_INFO = 180, /* 180 */
2077
2078 PACKET_LAST /* leave this last */
2080
2082
2084
2085int send_packet_investigate_started(struct connection *pc, const struct packet_investigate_started *packet);
2086int dsend_packet_investigate_started(struct connection *pc, int unit_id16, int unit_id32, int city_id16, int city_id32);
2087
2088int send_packet_investigate_finished(struct connection *pc, const struct packet_investigate_finished *packet);
2089int dsend_packet_investigate_finished(struct connection *pc, int unit_id16, int unit_id32, int city_id16, int city_id32);
2090
2091int send_packet_server_join_req(struct connection *pc, const struct packet_server_join_req *packet);
2092int dsend_packet_server_join_req(struct connection *pc, const char *username, const char *capability, const char *version_label, int major_version, int minor_version, int patch_version);
2093
2094int send_packet_server_join_reply(struct connection *pc, const struct packet_server_join_reply *packet);
2095
2096int send_packet_authentication_req(struct connection *pc, const struct packet_authentication_req *packet);
2098
2099int send_packet_authentication_reply(struct connection *pc, const struct packet_authentication_reply *packet);
2100
2102void lsend_packet_server_shutdown(struct conn_list *dest);
2103
2104int send_packet_nation_select_req(struct connection *pc, const struct packet_nation_select_req *packet);
2105int dsend_packet_nation_select_req(struct connection *pc, int player_no, Nation_type_id nation_no, bool is_male, const char *name, int style);
2106
2107int send_packet_player_ready(struct connection *pc, const struct packet_player_ready *packet);
2108int dsend_packet_player_ready(struct connection *pc, int player_no, bool is_ready);
2109
2110int send_packet_endgame_report(struct connection *pc, const struct packet_endgame_report *packet);
2111void lsend_packet_endgame_report(struct conn_list *dest, const struct packet_endgame_report *packet);
2112
2113int send_packet_endgame_player(struct connection *pc, const struct packet_endgame_player *packet);
2114void lsend_packet_endgame_player(struct conn_list *dest, const struct packet_endgame_player *packet);
2115
2116int send_packet_tile_info(struct connection *pc, const struct packet_tile_info *packet);
2117void lsend_packet_tile_info(struct conn_list *dest, const struct packet_tile_info *packet);
2118
2119int send_packet_game_info(struct connection *pc, const struct packet_game_info *packet);
2120
2121int send_packet_calendar_info(struct connection *pc, const struct packet_calendar_info *packet);
2122
2123int send_packet_timeout_info(struct connection *pc, const struct packet_timeout_info *packet);
2124
2125int send_packet_map_info(struct connection *pc, const struct packet_map_info *packet);
2126void lsend_packet_map_info(struct conn_list *dest, const struct packet_map_info *packet);
2127
2128int send_packet_nuke_tile_info(struct connection *pc, const struct packet_nuke_tile_info *packet);
2129void lsend_packet_nuke_tile_info(struct conn_list *dest, const struct packet_nuke_tile_info *packet);
2130int dsend_packet_nuke_tile_info(struct connection *pc, int tile);
2131void dlsend_packet_nuke_tile_info(struct conn_list *dest, int tile);
2132
2133int send_packet_team_name_info(struct connection *pc, const struct packet_team_name_info *packet);
2134void lsend_packet_team_name_info(struct conn_list *dest, const struct packet_team_name_info *packet);
2135
2136int send_packet_achievement_info(struct connection *pc, const struct packet_achievement_info *packet);
2137void lsend_packet_achievement_info(struct conn_list *dest, const struct packet_achievement_info *packet);
2138
2139int send_packet_chat_msg(struct connection *pc, const struct packet_chat_msg *packet);
2140void lsend_packet_chat_msg(struct conn_list *dest, const struct packet_chat_msg *packet);
2141
2142int send_packet_early_chat_msg(struct connection *pc, const struct packet_early_chat_msg *packet);
2143void lsend_packet_early_chat_msg(struct conn_list *dest, const struct packet_early_chat_msg *packet);
2144
2145int send_packet_chat_msg_req(struct connection *pc, const struct packet_chat_msg_req *packet);
2146int dsend_packet_chat_msg_req(struct connection *pc, const char *message);
2147
2148int send_packet_connect_msg(struct connection *pc, const struct packet_connect_msg *packet);
2149int dsend_packet_connect_msg(struct connection *pc, const char *message);
2150
2151int send_packet_server_info(struct connection *pc, const struct packet_server_info *packet);
2152int dsend_packet_server_info(struct connection *pc, const char *version_label, int major_version, int minor_version, int patch_version, int emerg_version);
2153
2154int send_packet_city_remove(struct connection *pc, const struct packet_city_remove *packet);
2155void lsend_packet_city_remove(struct conn_list *dest, const struct packet_city_remove *packet);
2156int dsend_packet_city_remove(struct connection *pc, int city_id16, int city_id32);
2157void dlsend_packet_city_remove(struct conn_list *dest, int city_id16, int city_id32);
2158
2159int send_packet_city_info(struct connection *pc, const struct packet_city_info *packet, bool force_to_send);
2160void lsend_packet_city_info(struct conn_list *dest, const struct packet_city_info *packet, bool force_to_send);
2161
2162int send_packet_city_nationalities(struct connection *pc, const struct packet_city_nationalities *packet, bool force_to_send);
2163void lsend_packet_city_nationalities(struct conn_list *dest, const struct packet_city_nationalities *packet, bool force_to_send);
2164
2165int send_packet_city_short_info(struct connection *pc, const struct packet_city_short_info *packet);
2166void lsend_packet_city_short_info(struct conn_list *dest, const struct packet_city_short_info *packet);
2167
2168int send_packet_trade_route_info(struct connection *pc, const struct packet_trade_route_info *packet);
2169void lsend_packet_trade_route_info(struct conn_list *dest, const struct packet_trade_route_info *packet);
2170
2171int send_packet_city_sell(struct connection *pc, const struct packet_city_sell *packet);
2172int dsend_packet_city_sell(struct connection *pc, int city_id16, int city_id32, int build_id);
2173
2174int send_packet_city_buy(struct connection *pc, const struct packet_city_buy *packet);
2175int dsend_packet_city_buy(struct connection *pc, int city_id16, int city_id32);
2176
2177int send_packet_city_change(struct connection *pc, const struct packet_city_change *packet);
2178int dsend_packet_city_change(struct connection *pc, int city_id16, int city_id32, int production_kind, int production_value);
2179
2180int send_packet_city_worklist(struct connection *pc, const struct packet_city_worklist *packet);
2181int dsend_packet_city_worklist(struct connection *pc, int city_id16, int city_id32, const struct worklist *worklist);
2182
2183int send_packet_city_make_specialist(struct connection *pc, const struct packet_city_make_specialist *packet);
2184int dsend_packet_city_make_specialist(struct connection *pc, int city_id16, int city_id32, int tile_id);
2185
2186int send_packet_city_make_worker(struct connection *pc, const struct packet_city_make_worker *packet);
2187int dsend_packet_city_make_worker(struct connection *pc, int city_id16, int city_id32, int tile_id);
2188
2190int dsend_packet_city_change_specialist(struct connection *pc, int city_id16, int city_id32, Specialist_type_id from, Specialist_type_id to);
2191
2192int send_packet_city_rename(struct connection *pc, const struct packet_city_rename *packet);
2193int dsend_packet_city_rename(struct connection *pc, int city_id16, int city_id32, const char *name);
2194
2195int send_packet_city_options_req(struct connection *pc, const struct packet_city_options_req *packet);
2196int dsend_packet_city_options_req(struct connection *pc, int city_id16, int city_id32, bv_city_options options);
2197
2198int send_packet_city_refresh(struct connection *pc, const struct packet_city_refresh *packet);
2199int dsend_packet_city_refresh(struct connection *pc, int city_id16, int city_id32);
2200
2202int dsend_packet_city_name_suggestion_req(struct connection *pc, int unit_id16, int unit_id32);
2203
2205void lsend_packet_city_name_suggestion_info(struct conn_list *dest, const struct packet_city_name_suggestion_info *packet);
2206int dsend_packet_city_name_suggestion_info(struct connection *pc, int unit_id16, int unit_id32, const char *name);
2207void dlsend_packet_city_name_suggestion_info(struct conn_list *dest, int unit_id16, int unit_id32, const char *name);
2208
2209int send_packet_city_sabotage_list(struct connection *pc, const struct packet_city_sabotage_list *packet);
2210void lsend_packet_city_sabotage_list(struct conn_list *dest, const struct packet_city_sabotage_list *packet);
2211
2212int send_packet_city_rally_point(struct connection *pc, const struct packet_city_rally_point *packet, bool force_to_send);
2213void lsend_packet_city_rally_point(struct conn_list *dest, const struct packet_city_rally_point *packet, bool force_to_send);
2214
2215int send_packet_worker_task(struct connection *pc, const struct packet_worker_task *packet);
2216void lsend_packet_worker_task(struct conn_list *dest, const struct packet_worker_task *packet);
2217
2218int send_packet_player_remove(struct connection *pc, const struct packet_player_remove *packet);
2219int dsend_packet_player_remove(struct connection *pc, int playerno);
2220
2221int send_packet_player_info(struct connection *pc, const struct packet_player_info *packet);
2222
2223int send_packet_player_phase_done(struct connection *pc, const struct packet_player_phase_done *packet);
2224int dsend_packet_player_phase_done(struct connection *pc, int turn);
2225
2226int send_packet_player_rates(struct connection *pc, const struct packet_player_rates *packet);
2227int dsend_packet_player_rates(struct connection *pc, int tax, int luxury, int science);
2228
2231
2232int send_packet_player_place_infra(struct connection *pc, const struct packet_player_place_infra *packet);
2233int dsend_packet_player_place_infra(struct connection *pc, int tile, int extra);
2234
2236
2238
2239int send_packet_player_diplstate(struct connection *pc, const struct packet_player_diplstate *packet);
2240
2241int send_packet_player_multiplier(struct connection *pc, const struct packet_player_multiplier *packet);
2242
2243int send_packet_research_info(struct connection *pc, const struct packet_research_info *packet);
2244void lsend_packet_research_info(struct conn_list *dest, const struct packet_research_info *packet);
2245
2246int send_packet_unknown_research(struct connection *pc, const struct packet_unknown_research *packet);
2247
2248int send_packet_player_research(struct connection *pc, const struct packet_player_research *packet);
2249int dsend_packet_player_research(struct connection *pc, int tech);
2250
2251int send_packet_player_tech_goal(struct connection *pc, const struct packet_player_tech_goal *packet);
2252int dsend_packet_player_tech_goal(struct connection *pc, int tech);
2253
2254int send_packet_unit_remove(struct connection *pc, const struct packet_unit_remove *packet);
2255void lsend_packet_unit_remove(struct conn_list *dest, const struct packet_unit_remove *packet);
2256int dsend_packet_unit_remove(struct connection *pc, int unit_id16, int unit_id32);
2257void dlsend_packet_unit_remove(struct conn_list *dest, int unit_id16, int unit_id32);
2258
2259int send_packet_unit_info(struct connection *pc, const struct packet_unit_info *packet);
2260void lsend_packet_unit_info(struct conn_list *dest, const struct packet_unit_info *packet);
2261
2262int send_packet_unit_short_info(struct connection *pc, const struct packet_unit_short_info *packet, bool force_to_send);
2263void lsend_packet_unit_short_info(struct conn_list *dest, const struct packet_unit_short_info *packet, bool force_to_send);
2264
2265int send_packet_unit_combat_info(struct connection *pc, const struct packet_unit_combat_info *packet);
2266void lsend_packet_unit_combat_info(struct conn_list *dest, const struct packet_unit_combat_info *packet);
2267
2268int send_packet_unit_sscs_set(struct connection *pc, const struct packet_unit_sscs_set *packet);
2269int dsend_packet_unit_sscs_set(struct connection *pc, int unit_id16, int unit_id32, enum unit_ss_data_type type, int value);
2270
2271int send_packet_unit_orders(struct connection *pc, const struct packet_unit_orders *packet);
2272
2274int dsend_packet_unit_server_side_agent_set(struct connection *pc, int unit_id16, int unit_id32, enum server_side_agent agent);
2275
2276int send_packet_unit_action_query(struct connection *pc, const struct packet_unit_action_query *packet);
2277int dsend_packet_unit_action_query(struct connection *pc, int actor_id16, int actor_id32, int target_id, action_id action_type, int request_kind);
2278
2279int send_packet_unit_type_upgrade(struct connection *pc, const struct packet_unit_type_upgrade *packet);
2281
2282int send_packet_unit_do_action(struct connection *pc, const struct packet_unit_do_action *packet);
2283int dsend_packet_unit_do_action(struct connection *pc, int actor_id16, int actor_id32, int target_id, int sub_tgt_id, const char *name, action_id action_type);
2284
2285int send_packet_unit_action_answer(struct connection *pc, const struct packet_unit_action_answer *packet);
2286int dsend_packet_unit_action_answer(struct connection *pc, int actor_id16, int actor_id32, int target_id, int cost, action_id action_type, int request_kind);
2287
2288int send_packet_unit_get_actions(struct connection *pc, const struct packet_unit_get_actions *packet);
2289int dsend_packet_unit_get_actions(struct connection *pc, int actor_unit_id16, int actor_unit_id32, int target_unit_id16, int target_unit_id32, int target_tile_id, int target_extra_id, int request_kind);
2290
2291int send_packet_unit_actions(struct connection *pc, const struct packet_unit_actions *packet);
2292int dsend_packet_unit_actions(struct connection *pc, int actor_unit_id16, int actor_unit_id32, int target_unit_id16, int target_unit_id32, int target_city_id16, int target_city_id32, int target_tile_id, int target_extra_id, int request_kind, const struct act_prob *action_probabilities);
2293
2294int send_packet_unit_change_activity(struct connection *pc, const struct packet_unit_change_activity *packet);
2295int dsend_packet_unit_change_activity(struct connection *pc, int unit_id16, int unit_id32, enum unit_activity activity, int target);
2296
2299
2301void lsend_packet_diplomacy_init_meeting(struct conn_list *dest, const struct packet_diplomacy_init_meeting *packet);
2302int dsend_packet_diplomacy_init_meeting(struct connection *pc, int counterpart, int initiated_from);
2303void dlsend_packet_diplomacy_init_meeting(struct conn_list *dest, int counterpart, int initiated_from);
2304
2307
2309void lsend_packet_diplomacy_cancel_meeting(struct conn_list *dest, const struct packet_diplomacy_cancel_meeting *packet);
2310int dsend_packet_diplomacy_cancel_meeting(struct connection *pc, int counterpart, int initiated_from);
2311void dlsend_packet_diplomacy_cancel_meeting(struct conn_list *dest, int counterpart, int initiated_from);
2312
2314int dsend_packet_diplomacy_create_clause_req(struct connection *pc, int counterpart, int giver, enum clause_type type, int value);
2315
2317void lsend_packet_diplomacy_create_clause(struct conn_list *dest, const struct packet_diplomacy_create_clause *packet);
2318int dsend_packet_diplomacy_create_clause(struct connection *pc, int counterpart, int giver, enum clause_type type, int value);
2319void dlsend_packet_diplomacy_create_clause(struct conn_list *dest, int counterpart, int giver, enum clause_type type, int value);
2320
2322int dsend_packet_diplomacy_remove_clause_req(struct connection *pc, int counterpart, int giver, enum clause_type type, int value);
2323
2325void lsend_packet_diplomacy_remove_clause(struct conn_list *dest, const struct packet_diplomacy_remove_clause *packet);
2326int dsend_packet_diplomacy_remove_clause(struct connection *pc, int counterpart, int giver, enum clause_type type, int value);
2327void dlsend_packet_diplomacy_remove_clause(struct conn_list *dest, int counterpart, int giver, enum clause_type type, int value);
2328
2331
2333void lsend_packet_diplomacy_accept_treaty(struct conn_list *dest, const struct packet_diplomacy_accept_treaty *packet);
2334int dsend_packet_diplomacy_accept_treaty(struct connection *pc, int counterpart, bool I_accepted, bool other_accepted);
2335void dlsend_packet_diplomacy_accept_treaty(struct conn_list *dest, int counterpart, bool I_accepted, bool other_accepted);
2336
2338int dsend_packet_diplomacy_cancel_pact(struct connection *pc, int other_player_id, enum clause_type clause);
2339
2340int send_packet_page_msg(struct connection *pc, const struct packet_page_msg *packet);
2341void lsend_packet_page_msg(struct conn_list *dest, const struct packet_page_msg *packet);
2342
2343int send_packet_page_msg_part(struct connection *pc, const struct packet_page_msg_part *packet);
2344void lsend_packet_page_msg_part(struct conn_list *dest, const struct packet_page_msg_part *packet);
2345
2346int send_packet_report_req(struct connection *pc, const struct packet_report_req *packet);
2348
2349int send_packet_conn_info(struct connection *pc, const struct packet_conn_info *packet);
2350void lsend_packet_conn_info(struct conn_list *dest, const struct packet_conn_info *packet);
2351
2352int send_packet_conn_ping_info(struct connection *pc, const struct packet_conn_ping_info *packet);
2353void lsend_packet_conn_ping_info(struct conn_list *dest, const struct packet_conn_ping_info *packet);
2354
2355int send_packet_conn_ping(struct connection *pc);
2356
2357int send_packet_conn_pong(struct connection *pc);
2358
2360
2361int send_packet_client_info(struct connection *pc, const struct packet_client_info *packet);
2362
2363int send_packet_end_phase(struct connection *pc);
2364void lsend_packet_end_phase(struct conn_list *dest);
2365
2366int send_packet_start_phase(struct connection *pc, const struct packet_start_phase *packet);
2367void lsend_packet_start_phase(struct conn_list *dest, const struct packet_start_phase *packet);
2368int dsend_packet_start_phase(struct connection *pc, int phase);
2369void dlsend_packet_start_phase(struct conn_list *dest, int phase);
2370
2371int send_packet_new_year(struct connection *pc, const struct packet_new_year *packet);
2372void lsend_packet_new_year(struct conn_list *dest, const struct packet_new_year *packet);
2373
2374int send_packet_begin_turn(struct connection *pc);
2375void lsend_packet_begin_turn(struct conn_list *dest);
2376
2377int send_packet_end_turn(struct connection *pc);
2378void lsend_packet_end_turn(struct conn_list *dest);
2379
2381void lsend_packet_freeze_client(struct conn_list *dest);
2382
2383int send_packet_thaw_client(struct connection *pc);
2384void lsend_packet_thaw_client(struct conn_list *dest);
2385
2387
2388int send_packet_spaceship_place(struct connection *pc, const struct packet_spaceship_place *packet);
2390
2391int send_packet_spaceship_info(struct connection *pc, const struct packet_spaceship_info *packet);
2392void lsend_packet_spaceship_info(struct conn_list *dest, const struct packet_spaceship_info *packet);
2393
2394int send_packet_ruleset_unit(struct connection *pc, const struct packet_ruleset_unit *packet);
2395void lsend_packet_ruleset_unit(struct conn_list *dest, const struct packet_ruleset_unit *packet);
2396
2397int send_packet_ruleset_unit_bonus(struct connection *pc, const struct packet_ruleset_unit_bonus *packet);
2398void lsend_packet_ruleset_unit_bonus(struct conn_list *dest, const struct packet_ruleset_unit_bonus *packet);
2399
2400int send_packet_ruleset_unit_flag(struct connection *pc, const struct packet_ruleset_unit_flag *packet);
2401void lsend_packet_ruleset_unit_flag(struct conn_list *dest, const struct packet_ruleset_unit_flag *packet);
2402
2404void lsend_packet_ruleset_unit_class_flag(struct conn_list *dest, const struct packet_ruleset_unit_class_flag *packet);
2405
2406int send_packet_ruleset_game(struct connection *pc, const struct packet_ruleset_game *packet);
2407void lsend_packet_ruleset_game(struct conn_list *dest, const struct packet_ruleset_game *packet);
2408
2409int send_packet_ruleset_specialist(struct connection *pc, const struct packet_ruleset_specialist *packet);
2410void lsend_packet_ruleset_specialist(struct conn_list *dest, const struct packet_ruleset_specialist *packet);
2411
2413void lsend_packet_ruleset_government_ruler_title(struct conn_list *dest, const struct packet_ruleset_government_ruler_title *packet);
2414
2415int send_packet_ruleset_tech(struct connection *pc, const struct packet_ruleset_tech *packet);
2416void lsend_packet_ruleset_tech(struct conn_list *dest, const struct packet_ruleset_tech *packet);
2417
2418int send_packet_ruleset_tech_class(struct connection *pc, const struct packet_ruleset_tech_class *packet);
2419void lsend_packet_ruleset_tech_class(struct conn_list *dest, const struct packet_ruleset_tech_class *packet);
2420
2421int send_packet_ruleset_tech_flag(struct connection *pc, const struct packet_ruleset_tech_flag *packet);
2422void lsend_packet_ruleset_tech_flag(struct conn_list *dest, const struct packet_ruleset_tech_flag *packet);
2423
2424int send_packet_ruleset_government(struct connection *pc, const struct packet_ruleset_government *packet);
2425void lsend_packet_ruleset_government(struct conn_list *dest, const struct packet_ruleset_government *packet);
2426
2428void lsend_packet_ruleset_terrain_control(struct conn_list *dest, const struct packet_ruleset_terrain_control *packet);
2429
2431void lsend_packet_rulesets_ready(struct conn_list *dest);
2432
2433int send_packet_ruleset_nation_sets(struct connection *pc, const struct packet_ruleset_nation_sets *packet);
2434void lsend_packet_ruleset_nation_sets(struct conn_list *dest, const struct packet_ruleset_nation_sets *packet);
2435
2437void lsend_packet_ruleset_nation_groups(struct conn_list *dest, const struct packet_ruleset_nation_groups *packet);
2438
2439int send_packet_ruleset_nation(struct connection *pc, const struct packet_ruleset_nation *packet);
2440void lsend_packet_ruleset_nation(struct conn_list *dest, const struct packet_ruleset_nation *packet);
2441
2442int send_packet_nation_availability(struct connection *pc, const struct packet_nation_availability *packet);
2443void lsend_packet_nation_availability(struct conn_list *dest, const struct packet_nation_availability *packet);
2444
2445int send_packet_ruleset_style(struct connection *pc, const struct packet_ruleset_style *packet);
2446void lsend_packet_ruleset_style(struct conn_list *dest, const struct packet_ruleset_style *packet);
2447
2448int send_packet_ruleset_city(struct connection *pc, const struct packet_ruleset_city *packet);
2449void lsend_packet_ruleset_city(struct conn_list *dest, const struct packet_ruleset_city *packet);
2450
2451int send_packet_ruleset_building(struct connection *pc, const struct packet_ruleset_building *packet);
2452void lsend_packet_ruleset_building(struct conn_list *dest, const struct packet_ruleset_building *packet);
2453
2454int send_packet_ruleset_terrain(struct connection *pc, const struct packet_ruleset_terrain *packet);
2455void lsend_packet_ruleset_terrain(struct conn_list *dest, const struct packet_ruleset_terrain *packet);
2456
2457int send_packet_ruleset_terrain_flag(struct connection *pc, const struct packet_ruleset_terrain_flag *packet);
2458void lsend_packet_ruleset_terrain_flag(struct conn_list *dest, const struct packet_ruleset_terrain_flag *packet);
2459
2460int send_packet_ruleset_unit_class(struct connection *pc, const struct packet_ruleset_unit_class *packet);
2461void lsend_packet_ruleset_unit_class(struct conn_list *dest, const struct packet_ruleset_unit_class *packet);
2462
2463int send_packet_ruleset_extra(struct connection *pc, const struct packet_ruleset_extra *packet);
2464void lsend_packet_ruleset_extra(struct conn_list *dest, const struct packet_ruleset_extra *packet);
2465
2466int send_packet_ruleset_extra_flag(struct connection *pc, const struct packet_ruleset_extra_flag *packet);
2467void lsend_packet_ruleset_extra_flag(struct conn_list *dest, const struct packet_ruleset_extra_flag *packet);
2468
2469int send_packet_ruleset_base(struct connection *pc, const struct packet_ruleset_base *packet);
2470void lsend_packet_ruleset_base(struct conn_list *dest, const struct packet_ruleset_base *packet);
2471
2472int send_packet_ruleset_road(struct connection *pc, const struct packet_ruleset_road *packet);
2473void lsend_packet_ruleset_road(struct conn_list *dest, const struct packet_ruleset_road *packet);
2474
2475int send_packet_ruleset_goods(struct connection *pc, const struct packet_ruleset_goods *packet);
2476void lsend_packet_ruleset_goods(struct conn_list *dest, const struct packet_ruleset_goods *packet);
2477
2478int send_packet_ruleset_disaster(struct connection *pc, const struct packet_ruleset_disaster *packet);
2479void lsend_packet_ruleset_disaster(struct conn_list *dest, const struct packet_ruleset_disaster *packet);
2480
2481int send_packet_ruleset_achievement(struct connection *pc, const struct packet_ruleset_achievement *packet);
2482void lsend_packet_ruleset_achievement(struct conn_list *dest, const struct packet_ruleset_achievement *packet);
2483
2484int send_packet_ruleset_trade(struct connection *pc, const struct packet_ruleset_trade *packet);
2485void lsend_packet_ruleset_trade(struct conn_list *dest, const struct packet_ruleset_trade *packet);
2486
2487int send_packet_ruleset_action(struct connection *pc, const struct packet_ruleset_action *packet);
2488void lsend_packet_ruleset_action(struct conn_list *dest, const struct packet_ruleset_action *packet);
2489
2491void lsend_packet_ruleset_action_enabler(struct conn_list *dest, const struct packet_ruleset_action_enabler *packet);
2492
2493int send_packet_ruleset_action_auto(struct connection *pc, const struct packet_ruleset_action_auto *packet);
2494void lsend_packet_ruleset_action_auto(struct conn_list *dest, const struct packet_ruleset_action_auto *packet);
2495
2496int send_packet_ruleset_music(struct connection *pc, const struct packet_ruleset_music *packet);
2497void lsend_packet_ruleset_music(struct conn_list *dest, const struct packet_ruleset_music *packet);
2498
2499int send_packet_ruleset_multiplier(struct connection *pc, const struct packet_ruleset_multiplier *packet);
2500void lsend_packet_ruleset_multiplier(struct conn_list *dest, const struct packet_ruleset_multiplier *packet);
2501int dsend_packet_ruleset_multiplier(struct connection *pc, Multiplier_type_id id, int start, int stop, int step, int def, int offset, int factor, int minimum_turns, const char *name, const char *rule_name, int reqs_count, const struct requirement *reqs, const char *helptext);
2502void dlsend_packet_ruleset_multiplier(struct conn_list *dest, Multiplier_type_id id, int start, int stop, int step, int def, int offset, int factor, int minimum_turns, const char *name, const char *rule_name, int reqs_count, const struct requirement *reqs, const char *helptext);
2503
2504int send_packet_ruleset_clause(struct connection *pc, const struct packet_ruleset_clause *packet);
2505void lsend_packet_ruleset_clause(struct conn_list *dest, const struct packet_ruleset_clause *packet);
2506
2507int send_packet_ruleset_control(struct connection *pc, const struct packet_ruleset_control *packet);
2508void lsend_packet_ruleset_control(struct conn_list *dest, const struct packet_ruleset_control *packet);
2509
2510int send_packet_ruleset_summary(struct connection *pc, const struct packet_ruleset_summary *packet);
2511void lsend_packet_ruleset_summary(struct conn_list *dest, const struct packet_ruleset_summary *packet);
2512
2514void lsend_packet_ruleset_description_part(struct conn_list *dest, const struct packet_ruleset_description_part *packet);
2515
2516int send_packet_single_want_hack_req(struct connection *pc, const struct packet_single_want_hack_req *packet);
2517
2519int dsend_packet_single_want_hack_reply(struct connection *pc, bool you_have_hack);
2520
2521int send_packet_ruleset_choices(struct connection *pc, const struct packet_ruleset_choices *packet);
2522
2523int send_packet_game_load(struct connection *pc, const struct packet_game_load *packet);
2524void lsend_packet_game_load(struct conn_list *dest, const struct packet_game_load *packet);
2525int dsend_packet_game_load(struct connection *pc, bool load_successful, const char *load_filename);
2526void dlsend_packet_game_load(struct conn_list *dest, bool load_successful, const char *load_filename);
2527
2529
2530int send_packet_server_setting_const(struct connection *pc, const struct packet_server_setting_const *packet);
2531
2532int send_packet_server_setting_bool(struct connection *pc, const struct packet_server_setting_bool *packet);
2533
2534int send_packet_server_setting_int(struct connection *pc, const struct packet_server_setting_int *packet);
2535
2536int send_packet_server_setting_str(struct connection *pc, const struct packet_server_setting_str *packet);
2537
2538int send_packet_server_setting_enum(struct connection *pc, const struct packet_server_setting_enum *packet);
2539
2541
2542int send_packet_set_topology(struct connection *pc, const struct packet_set_topology *packet);
2543
2544int send_packet_ruleset_effect(struct connection *pc, const struct packet_ruleset_effect *packet);
2545void lsend_packet_ruleset_effect(struct conn_list *dest, const struct packet_ruleset_effect *packet);
2546
2547int send_packet_ruleset_resource(struct connection *pc, const struct packet_ruleset_resource *packet);
2548void lsend_packet_ruleset_resource(struct conn_list *dest, const struct packet_ruleset_resource *packet);
2549
2550int send_packet_scenario_info(struct connection *pc, const struct packet_scenario_info *packet);
2551
2552int send_packet_scenario_description(struct connection *pc, const struct packet_scenario_description *packet);
2553
2554int send_packet_save_scenario(struct connection *pc, const struct packet_save_scenario *packet);
2555int dsend_packet_save_scenario(struct connection *pc, const char *name);
2556
2557int send_packet_vote_new(struct connection *pc, const struct packet_vote_new *packet);
2558
2559int send_packet_vote_update(struct connection *pc, const struct packet_vote_update *packet);
2560
2561int send_packet_vote_remove(struct connection *pc, const struct packet_vote_remove *packet);
2562
2563int send_packet_vote_resolve(struct connection *pc, const struct packet_vote_resolve *packet);
2564
2565int send_packet_vote_submit(struct connection *pc, const struct packet_vote_submit *packet);
2566
2567int send_packet_edit_mode(struct connection *pc, const struct packet_edit_mode *packet);
2568int dsend_packet_edit_mode(struct connection *pc, bool state);
2569
2571
2573
2574int send_packet_edit_toggle_fogofwar(struct connection *pc, const struct packet_edit_toggle_fogofwar *packet);
2576
2577int send_packet_edit_tile_terrain(struct connection *pc, const struct packet_edit_tile_terrain *packet);
2579
2580int send_packet_edit_tile_extra(struct connection *pc, const struct packet_edit_tile_extra *packet);
2581int dsend_packet_edit_tile_extra(struct connection *pc, int tile, int extra_type_id, bool removal, int eowner, int size);
2582
2583int send_packet_edit_startpos(struct connection *pc, const struct packet_edit_startpos *packet);
2584int dsend_packet_edit_startpos(struct connection *pc, int id, bool removal, int tag);
2585
2586int send_packet_edit_startpos_full(struct connection *pc, const struct packet_edit_startpos_full *packet);
2587
2588int send_packet_edit_tile(struct connection *pc, const struct packet_edit_tile *packet);
2589
2590int send_packet_edit_unit_create(struct connection *pc, const struct packet_edit_unit_create *packet);
2591int dsend_packet_edit_unit_create(struct connection *pc, int owner, int tile, Unit_type_id type, int count, int tag);
2592
2593int send_packet_edit_unit_remove(struct connection *pc, const struct packet_edit_unit_remove *packet);
2594int dsend_packet_edit_unit_remove(struct connection *pc, int owner, int tile, Unit_type_id type, int count);
2595
2597int dsend_packet_edit_unit_remove_by_id(struct connection *pc, int id16, int id32);
2598
2599int send_packet_edit_unit(struct connection *pc, const struct packet_edit_unit *packet);
2600
2601int send_packet_edit_city_create(struct connection *pc, const struct packet_edit_city_create *packet);
2602int dsend_packet_edit_city_create(struct connection *pc, int owner, int tile, int size, int tag);
2603
2604int send_packet_edit_city_remove(struct connection *pc, const struct packet_edit_city_remove *packet);
2605int dsend_packet_edit_city_remove(struct connection *pc, int id16, int id32);
2606
2607int send_packet_edit_city(struct connection *pc, const struct packet_edit_city *packet);
2608
2609int send_packet_edit_player_create(struct connection *pc, const struct packet_edit_player_create *packet);
2610int dsend_packet_edit_player_create(struct connection *pc, int tag);
2611
2612int send_packet_edit_player_remove(struct connection *pc, const struct packet_edit_player_remove *packet);
2613int dsend_packet_edit_player_remove(struct connection *pc, int id);
2614
2615int send_packet_edit_player(struct connection *pc, const struct packet_edit_player *packet);
2616void lsend_packet_edit_player(struct conn_list *dest, const struct packet_edit_player *packet);
2617
2618int send_packet_edit_player_vision(struct connection *pc, const struct packet_edit_player_vision *packet);
2619int dsend_packet_edit_player_vision(struct connection *pc, int player, int tile, bool known, int size);
2620
2621int send_packet_edit_game(struct connection *pc, const struct packet_edit_game *packet);
2622
2623int send_packet_edit_scenario_desc(struct connection *pc, const struct packet_edit_scenario_desc *packet);
2624
2625int send_packet_edit_object_created(struct connection *pc, const struct packet_edit_object_created *packet);
2626int dsend_packet_edit_object_created(struct connection *pc, int tag, int id);
2627
2628int send_packet_play_music(struct connection *pc, const struct packet_play_music *packet);
2629void lsend_packet_play_music(struct conn_list *dest, const struct packet_play_music *packet);
2630
2631int send_packet_web_city_info_addition(struct connection *pc, const struct packet_web_city_info_addition *packet, bool force_to_send);
2632void lsend_packet_web_city_info_addition(struct conn_list *dest, const struct packet_web_city_info_addition *packet, bool force_to_send);
2633
2635
2637void lsend_packet_web_ruleset_unit_addition(struct conn_list *dest, const struct packet_web_ruleset_unit_addition *packet);
2638
2639
2640void delta_stats_report(void);
2641void delta_stats_reset(void);
2642
2643#ifdef __cplusplus
2644}
2645#endif /* __cplusplus */
#define MAX_NUM_ACTIONS
Definition actions.h:296
@ FEELING_LAST
Definition city.h:277
#define MAX_LEN_CONTENT
Definition connection.h:59
#define MAX_LEN_PACKET
Definition connection.h:56
#define MAX_LEN_PASSWORD
Definition connection.h:58
#define MAX_LEN_CAPSTR
Definition connection.h:57
struct unit struct city struct unit struct tile struct extra_type const struct act_prob *act_probs int actor_unit_id struct unit struct unit int cost
Definition dialogs_g.h:73
int int initiated_from int int giver
Definition diplodlg_g.h:28
int counterpart
Definition diplodlg_g.h:25
struct @21::@22 reqs
#define MAX_NUM_CONNECTIONS
Definition fc_types.h:38
#define MAX_CITY_NATIONALITIES
Definition fc_types.h:79
#define MAX_VET_LEVELS
Definition fc_types.h:49
road_compat
Definition fc_types.h:1105
#define MAX_RULESET_NAME_LENGTH
Definition fc_types.h:383
#define MAX_GRANARY_INIS
Definition fc_types.h:72
#define MAX_NUM_NATIONS
Definition fc_types.h:60
#define MAX_NUM_RULESETS
Definition fc_types.h:382
#define MAX_NUM_NATION_SETS
Definition fc_types.h:57
int Goods_type_id
Definition fc_types.h:357
diplomacy_mode
Definition fc_types.h:903
#define MAX_NUM_BUILDING_LIST
Definition fc_types.h:46
#define MAX_NUM_REQS
Definition fc_types.h:380
#define MAX_LEN_ENUM
Definition fc_types.h:74
int Impr_type_id
Definition fc_types.h:346
revolen_type
Definition fc_types.h:1134
int Nation_type_id
Definition fc_types.h:350
int Terrain_type_id
Definition fc_types.h:343
int action_id
Definition fc_types.h:359
#define SP_MAX
Definition fc_types.h:379
int Specialist_type_id
Definition fc_types.h:345
int Government_type_id
Definition fc_types.h:351
#define MAX_CALENDAR_FRAGMENTS
Definition fc_types.h:62
#define MAX_NUM_NATION_GROUPS
Definition fc_types.h:58
#define MAX_NUM_PLAYER_SLOTS
Definition fc_types.h:32
#define MAX_NUM_LEADERS
Definition fc_types.h:56
happyborders_type
Definition fc_types.h:1141
#define MAX_NUM_MULTIPLIERS
Definition fc_types.h:55
int Resource_type_id
Definition fc_types.h:344
#define MAX_NUM_UNIT_LIST
Definition fc_types.h:45
#define MAX_LEN_MAP_LABEL
Definition fc_types.h:68
#define MAX_LEN_NAME
Definition fc_types.h:66
spaceship_place_type
Definition fc_types.h:1148
int Unit_type_id
Definition fc_types.h:352
#define MAX_NUM_TECH_LIST
Definition fc_types.h:44
victory_condition_type
Definition fc_types.h:1122
@ O_LAST
Definition fc_types.h:91
#define MAX_LEN_CITYNAME
Definition fc_types.h:67
signed short Continent_id
Definition fc_types.h:342
borders_mode
Definition fc_types.h:890
int Base_type_id
Definition fc_types.h:353
int Multiplier_type_id
Definition fc_types.h:356
static int target_extra_id
struct city * owner
Definition citydlg.c:219
static void load_filename(const char *filename)
Definition pages.c:2854
GType type
Definition repodlgs.c:1312
#define B_LAST
Definition improvement.h:42
const char * name
Definition inputfile.c:127
#define ATTRIBUTE_CHUNK_SIZE
Definition packets.h:65
#define MAX_LEN_MSG
Definition packets.h:43
report_type
Definition packets.h:73
#define MAX_LEN_ROUTE
Definition packets.h:44
authentication_type
Definition packets.h:88
int dsend_packet_edit_city_create(struct connection *pc, int owner, int tile, int size, int tag)
void lsend_packet_ruleset_summary(struct conn_list *dest, const struct packet_ruleset_summary *packet)
int dsend_packet_city_make_worker(struct connection *pc, int city_id16, int city_id32, int tile_id)
int dsend_packet_diplomacy_create_clause_req(struct connection *pc, int counterpart, int giver, enum clause_type type, int value)
int send_packet_conn_ping(struct connection *pc)
void lsend_packet_diplomacy_create_clause(struct conn_list *dest, const struct packet_diplomacy_create_clause *packet)
int send_packet_player_change_government(struct connection *pc, const struct packet_player_change_government *packet)
int send_packet_diplomacy_accept_treaty(struct connection *pc, const struct packet_diplomacy_accept_treaty *packet)
int send_packet_city_rally_point(struct connection *pc, const struct packet_city_rally_point *packet, bool force_to_send)
void delta_stats_reset(void)
Definition packets_gen.c:47
int send_packet_vote_resolve(struct connection *pc, const struct packet_vote_resolve *packet)
void lsend_packet_start_phase(struct conn_list *dest, const struct packet_start_phase *packet)
void lsend_packet_ruleset_building(struct conn_list *dest, const struct packet_ruleset_building *packet)
int send_packet_edit_city(struct connection *pc, const struct packet_edit_city *packet)
int send_packet_server_setting_bitwise(struct connection *pc, const struct packet_server_setting_bitwise *packet)
void lsend_packet_new_year(struct conn_list *dest, const struct packet_new_year *packet)
void lsend_packet_endgame_player(struct conn_list *dest, const struct packet_endgame_player *packet)
int send_packet_ruleset_game(struct connection *pc, const struct packet_ruleset_game *packet)
void lsend_packet_ruleset_unit_class_flag(struct conn_list *dest, const struct packet_ruleset_unit_class_flag *packet)
int send_packet_unknown_research(struct connection *pc, const struct packet_unknown_research *packet)
void lsend_packet_tile_info(struct conn_list *dest, const struct packet_tile_info *packet)
int send_packet_ruleset_resource(struct connection *pc, const struct packet_ruleset_resource *packet)
int dsend_packet_player_rates(struct connection *pc, int tax, int luxury, int science)
int dsend_packet_spaceship_place(struct connection *pc, enum spaceship_place_type type, int num)
int send_packet_ruleset_unit_bonus(struct connection *pc, const struct packet_ruleset_unit_bonus *packet)
int send_packet_edit_unit_create(struct connection *pc, const struct packet_edit_unit_create *packet)
void lsend_packet_edit_player(struct conn_list *dest, const struct packet_edit_player *packet)
int send_packet_end_turn(struct connection *pc)
int send_packet_ruleset_achievement(struct connection *pc, const struct packet_ruleset_achievement *packet)
int send_packet_edit_city_create(struct connection *pc, const struct packet_edit_city_create *packet)
void lsend_packet_research_info(struct conn_list *dest, const struct packet_research_info *packet)
int send_packet_worker_task(struct connection *pc, const struct packet_worker_task *packet)
void lsend_packet_web_ruleset_unit_addition(struct conn_list *dest, const struct packet_web_ruleset_unit_addition *packet)
void dlsend_packet_ruleset_multiplier(struct conn_list *dest, Multiplier_type_id id, int start, int stop, int step, int def, int offset, int factor, int minimum_turns, const char *name, const char *rule_name, int reqs_count, const struct requirement *reqs, const char *helptext)
void lsend_packet_map_info(struct conn_list *dest, const struct packet_map_info *packet)
int dsend_packet_connect_msg(struct connection *pc, const char *message)
int send_packet_edit_toggle_fogofwar(struct connection *pc, const struct packet_edit_toggle_fogofwar *packet)
void lsend_packet_game_load(struct conn_list *dest, const struct packet_game_load *packet)
void lsend_packet_ruleset_achievement(struct conn_list *dest, const struct packet_ruleset_achievement *packet)
void lsend_packet_ruleset_nation_sets(struct conn_list *dest, const struct packet_ruleset_nation_sets *packet)
int send_packet_city_name_suggestion_info(struct connection *pc, const struct packet_city_name_suggestion_info *packet)
int send_packet_ruleset_government(struct connection *pc, const struct packet_ruleset_government *packet)
int send_packet_unit_remove(struct connection *pc, const struct packet_unit_remove *packet)
void lsend_packet_city_nationalities(struct conn_list *dest, const struct packet_city_nationalities *packet, bool force_to_send)
int send_packet_player_phase_done(struct connection *pc, const struct packet_player_phase_done *packet)
void lsend_packet_ruleset_multiplier(struct conn_list *dest, const struct packet_ruleset_multiplier *packet)
int dsend_packet_unit_do_action(struct connection *pc, int actor_id16, int actor_id32, int target_id, int sub_tgt_id, const char *name, action_id action_type)
int dsend_packet_diplomacy_cancel_meeting(struct connection *pc, int counterpart, int initiated_from)
int dsend_packet_player_remove(struct connection *pc, int playerno)
void lsend_packet_ruleset_city(struct conn_list *dest, const struct packet_ruleset_city *packet)
int send_packet_edit_game(struct connection *pc, const struct packet_edit_game *packet)
void lsend_packet_diplomacy_cancel_meeting(struct conn_list *dest, const struct packet_diplomacy_cancel_meeting *packet)
int dsend_packet_diplomacy_cancel_pact(struct connection *pc, int other_player_id, enum clause_type clause)
int send_packet_nation_availability(struct connection *pc, const struct packet_nation_availability *packet)
void dlsend_packet_city_remove(struct conn_list *dest, int city_id16, int city_id32)
int dsend_packet_authentication_req(struct connection *pc, enum authentication_type type, const char *message)
int send_packet_ruleset_nation_sets(struct connection *pc, const struct packet_ruleset_nation_sets *packet)
void lsend_packet_ruleset_unit(struct conn_list *dest, const struct packet_ruleset_unit *packet)
int dsend_packet_unit_action_answer(struct connection *pc, int actor_id16, int actor_id32, int target_id, int cost, action_id action_type, int request_kind)
int send_packet_unit_action_query(struct connection *pc, const struct packet_unit_action_query *packet)
int dsend_packet_diplomacy_init_meeting_req(struct connection *pc, int counterpart)
int send_packet_city_make_specialist(struct connection *pc, const struct packet_city_make_specialist *packet)
int send_packet_ruleset_unit_class(struct connection *pc, const struct packet_ruleset_unit_class *packet)
int send_packet_ruleset_multiplier(struct connection *pc, const struct packet_ruleset_multiplier *packet)
int send_packet_ruleset_extra_flag(struct connection *pc, const struct packet_ruleset_extra_flag *packet)
void lsend_packet_unit_remove(struct conn_list *dest, const struct packet_unit_remove *packet)
int dsend_packet_diplomacy_remove_clause(struct connection *pc, int counterpart, int giver, enum clause_type type, int value)
int send_packet_city_rename(struct connection *pc, const struct packet_city_rename *packet)
void dlsend_packet_diplomacy_init_meeting(struct conn_list *dest, int counterpart, int initiated_from)
int send_packet_endgame_player(struct connection *pc, const struct packet_endgame_player *packet)
void lsend_packet_ruleset_clause(struct conn_list *dest, const struct packet_ruleset_clause *packet)
int send_packet_new_year(struct connection *pc, const struct packet_new_year *packet)
int send_packet_server_setting_str(struct connection *pc, const struct packet_server_setting_str *packet)
int send_packet_ruleset_road(struct connection *pc, const struct packet_ruleset_road *packet)
void lsend_packet_chat_msg(struct conn_list *dest, const struct packet_chat_msg *packet)
void dlsend_packet_city_name_suggestion_info(struct conn_list *dest, int unit_id16, int unit_id32, const char *name)
int send_packet_ruleset_unit_flag(struct connection *pc, const struct packet_ruleset_unit_flag *packet)
int dsend_packet_edit_city_remove(struct connection *pc, int id16, int id32)
int send_packet_ruleset_city(struct connection *pc, const struct packet_ruleset_city *packet)
int send_packet_ruleset_goods(struct connection *pc, const struct packet_ruleset_goods *packet)
int dsend_packet_unit_sscs_set(struct connection *pc, int unit_id16, int unit_id32, enum unit_ss_data_type type, int value)
void lsend_packet_begin_turn(struct conn_list *dest)
int send_packet_unit_type_upgrade(struct connection *pc, const struct packet_unit_type_upgrade *packet)
int dsend_packet_investigate_finished(struct connection *pc, int unit_id16, int unit_id32, int city_id16, int city_id32)
void delta_stats_report(void)
Definition packets_gen.c:45
int send_packet_processing_finished(struct connection *pc)
void lsend_packet_ruleset_unit_flag(struct conn_list *dest, const struct packet_ruleset_unit_flag *packet)
int send_packet_page_msg(struct connection *pc, const struct packet_page_msg *packet)
int send_packet_conn_pong(struct connection *pc)
int send_packet_player_multiplier(struct connection *pc, const struct packet_player_multiplier *packet)
int send_packet_server_join_req(struct connection *pc, const struct packet_server_join_req *packet)
void lsend_packet_endgame_report(struct conn_list *dest, const struct packet_endgame_report *packet)
int send_packet_endgame_report(struct connection *pc, const struct packet_endgame_report *packet)
int send_packet_server_setting_const(struct connection *pc, const struct packet_server_setting_const *packet)
int send_packet_city_remove(struct connection *pc, const struct packet_city_remove *packet)
int dsend_packet_city_remove(struct connection *pc, int city_id16, int city_id32)
void lsend_packet_conn_info(struct conn_list *dest, const struct packet_conn_info *packet)
int send_packet_server_info(struct connection *pc, const struct packet_server_info *packet)
int send_packet_edit_unit_remove(struct connection *pc, const struct packet_edit_unit_remove *packet)
int send_packet_unit_server_side_agent_set(struct connection *pc, const struct packet_unit_server_side_agent_set *packet)
void lsend_packet_early_chat_msg(struct conn_list *dest, const struct packet_early_chat_msg *packet)
int send_packet_city_name_suggestion_req(struct connection *pc, const struct packet_city_name_suggestion_req *packet)
int send_packet_ruleset_extra(struct connection *pc, const struct packet_ruleset_extra *packet)
int send_packet_city_info(struct connection *pc, const struct packet_city_info *packet, bool force_to_send)
void lsend_packet_ruleset_action(struct conn_list *dest, const struct packet_ruleset_action *packet)
int send_packet_unit_actions(struct connection *pc, const struct packet_unit_actions *packet)
int dsend_packet_edit_unit_remove_by_id(struct connection *pc, int id16, int id32)
int send_packet_ruleset_tech_class(struct connection *pc, const struct packet_ruleset_tech_class *packet)
void lsend_packet_trade_route_info(struct conn_list *dest, const struct packet_trade_route_info *packet)
void lsend_packet_diplomacy_accept_treaty(struct conn_list *dest, const struct packet_diplomacy_accept_treaty *packet)
int dsend_packet_server_join_req(struct connection *pc, const char *username, const char *capability, const char *version_label, int major_version, int minor_version, int patch_version)
int send_packet_ruleset_summary(struct connection *pc, const struct packet_ruleset_summary *packet)
void lsend_packet_ruleset_extra(struct conn_list *dest, const struct packet_ruleset_extra *packet)
int send_packet_edit_tile_extra(struct connection *pc, const struct packet_edit_tile_extra *packet)
int dsend_packet_server_info(struct connection *pc, const char *version_label, int major_version, int minor_version, int patch_version, int emerg_version)
void lsend_packet_ruleset_nation_groups(struct conn_list *dest, const struct packet_ruleset_nation_groups *packet)
void lsend_packet_ruleset_terrain_control(struct conn_list *dest, const struct packet_ruleset_terrain_control *packet)
int send_packet_single_want_hack_req(struct connection *pc, const struct packet_single_want_hack_req *packet)
void dlsend_packet_diplomacy_remove_clause(struct conn_list *dest, int counterpart, int giver, enum clause_type type, int value)
void lsend_packet_ruleset_government_ruler_title(struct conn_list *dest, const struct packet_ruleset_government_ruler_title *packet)
int send_packet_scenario_info(struct connection *pc, const struct packet_scenario_info *packet)
int send_packet_ruleset_base(struct connection *pc, const struct packet_ruleset_base *packet)
int send_packet_server_setting_int(struct connection *pc, const struct packet_server_setting_int *packet)
int send_packet_web_ruleset_unit_addition(struct connection *pc, const struct packet_web_ruleset_unit_addition *packet)
int dsend_packet_city_sell(struct connection *pc, int city_id16, int city_id32, int build_id)
void lsend_packet_ruleset_music(struct conn_list *dest, const struct packet_ruleset_music *packet)
int send_packet_ruleset_choices(struct connection *pc, const struct packet_ruleset_choices *packet)
int send_packet_server_setting_control(struct connection *pc, const struct packet_server_setting_control *packet)
int dsend_packet_chat_msg_req(struct connection *pc, const char *message)
int send_packet_play_music(struct connection *pc, const struct packet_play_music *packet)
int dsend_packet_city_name_suggestion_info(struct connection *pc, int unit_id16, int unit_id32, const char *name)
int send_packet_server_setting_bool(struct connection *pc, const struct packet_server_setting_bool *packet)
int send_packet_city_change(struct connection *pc, const struct packet_city_change *packet)
int send_packet_processing_started(struct connection *pc)
int dsend_packet_city_make_specialist(struct connection *pc, int city_id16, int city_id32, int tile_id)
int send_packet_report_req(struct connection *pc, const struct packet_report_req *packet)
int dsend_packet_diplomacy_create_clause(struct connection *pc, int counterpart, int giver, enum clause_type type, int value)
int send_packet_vote_submit(struct connection *pc, const struct packet_vote_submit *packet)
int send_packet_trade_route_info(struct connection *pc, const struct packet_trade_route_info *packet)
void lsend_packet_city_info(struct conn_list *dest, const struct packet_city_info *packet, bool force_to_send)
int send_packet_chat_msg(struct connection *pc, const struct packet_chat_msg *packet)
void lsend_packet_ruleset_control(struct conn_list *dest, const struct packet_ruleset_control *packet)
int send_packet_unit_do_action(struct connection *pc, const struct packet_unit_do_action *packet)
int send_packet_early_chat_msg(struct connection *pc, const struct packet_early_chat_msg *packet)
int send_packet_ruleset_action_auto(struct connection *pc, const struct packet_ruleset_action_auto *packet)
int dsend_packet_nuke_tile_info(struct connection *pc, int tile)
int send_packet_city_make_worker(struct connection *pc, const struct packet_city_make_worker *packet)
int send_packet_diplomacy_remove_clause_req(struct connection *pc, const struct packet_diplomacy_remove_clause_req *packet)
int dsend_packet_diplomacy_cancel_meeting_req(struct connection *pc, int counterpart)
int send_packet_unit_orders(struct connection *pc, const struct packet_unit_orders *packet)
int send_packet_conn_ping_info(struct connection *pc, const struct packet_conn_ping_info *packet)
int dsend_packet_player_tech_goal(struct connection *pc, int tech)
int send_packet_player_rates(struct connection *pc, const struct packet_player_rates *packet)
int send_packet_player_diplstate(struct connection *pc, const struct packet_player_diplstate *packet)
int send_packet_edit_player_remove(struct connection *pc, const struct packet_edit_player_remove *packet)
int dsend_packet_city_change(struct connection *pc, int city_id16, int city_id32, int production_kind, int production_value)
int send_packet_city_sabotage_list(struct connection *pc, const struct packet_city_sabotage_list *packet)
void lsend_packet_team_name_info(struct conn_list *dest, const struct packet_team_name_info *packet)
void lsend_packet_ruleset_effect(struct conn_list *dest, const struct packet_ruleset_effect *packet)
int dsend_packet_ruleset_multiplier(struct connection *pc, Multiplier_type_id id, int start, int stop, int step, int def, int offset, int factor, int minimum_turns, const char *name, const char *rule_name, int reqs_count, const struct requirement *reqs, const char *helptext)
int send_packet_city_refresh(struct connection *pc, const struct packet_city_refresh *packet)
void lsend_packet_unit_short_info(struct conn_list *dest, const struct packet_unit_short_info *packet, bool force_to_send)
int send_packet_diplomacy_accept_treaty_req(struct connection *pc, const struct packet_diplomacy_accept_treaty_req *packet)
int send_packet_unit_action_answer(struct connection *pc, const struct packet_unit_action_answer *packet)
void lsend_packet_ruleset_terrain_flag(struct conn_list *dest, const struct packet_ruleset_terrain_flag *packet)
void lsend_packet_ruleset_unit_class(struct conn_list *dest, const struct packet_ruleset_unit_class *packet)
int send_packet_edit_player_vision(struct connection *pc, const struct packet_edit_player_vision *packet)
int send_packet_single_want_hack_reply(struct connection *pc, const struct packet_single_want_hack_reply *packet)
int send_packet_end_phase(struct connection *pc)
int send_packet_edit_startpos_full(struct connection *pc, const struct packet_edit_startpos_full *packet)
void lsend_packet_ruleset_disaster(struct conn_list *dest, const struct packet_ruleset_disaster *packet)
void lsend_packet_spaceship_info(struct conn_list *dest, const struct packet_spaceship_info *packet)
int dsend_packet_diplomacy_init_meeting(struct connection *pc, int counterpart, int initiated_from)
int send_packet_ruleset_terrain(struct connection *pc, const struct packet_ruleset_terrain *packet)
void lsend_packet_page_msg(struct conn_list *dest, const struct packet_page_msg *packet)
int send_packet_player_info(struct connection *pc, const struct packet_player_info *packet)
int dsend_packet_city_change_specialist(struct connection *pc, int city_id16, int city_id32, Specialist_type_id from, Specialist_type_id to)
int send_packet_city_options_req(struct connection *pc, const struct packet_city_options_req *packet)
int dsend_packet_nation_select_req(struct connection *pc, int player_no, Nation_type_id nation_no, bool is_male, const char *name, int style)
int send_packet_ruleset_clause(struct connection *pc, const struct packet_ruleset_clause *packet)
int send_packet_diplomacy_create_clause_req(struct connection *pc, const struct packet_diplomacy_create_clause_req *packet)
int send_packet_city_nationalities(struct connection *pc, const struct packet_city_nationalities *packet, bool force_to_send)
int dsend_packet_edit_startpos(struct connection *pc, int id, bool removal, int tag)
int send_packet_nation_select_req(struct connection *pc, const struct packet_nation_select_req *packet)
void lsend_packet_ruleset_description_part(struct conn_list *dest, const struct packet_ruleset_description_part *packet)
void lsend_packet_city_short_info(struct conn_list *dest, const struct packet_city_short_info *packet)
void lsend_packet_ruleset_government(struct conn_list *dest, const struct packet_ruleset_government *packet)
int send_packet_ruleset_tech(struct connection *pc, const struct packet_ruleset_tech *packet)
int dsend_packet_city_refresh(struct connection *pc, int city_id16, int city_id32)
int send_packet_player_place_infra(struct connection *pc, const struct packet_player_place_infra *packet)
int send_packet_ruleset_nation(struct connection *pc, const struct packet_ruleset_nation *packet)
int send_packet_begin_turn(struct connection *pc)
void lsend_packet_ruleset_unit_bonus(struct conn_list *dest, const struct packet_ruleset_unit_bonus *packet)
void dlsend_packet_nuke_tile_info(struct conn_list *dest, int tile)
int send_packet_connect_msg(struct connection *pc, const struct packet_connect_msg *packet)
int send_packet_player_remove(struct connection *pc, const struct packet_player_remove *packet)
int send_packet_diplomacy_cancel_meeting_req(struct connection *pc, const struct packet_diplomacy_cancel_meeting_req *packet)
void lsend_packet_worker_task(struct conn_list *dest, const struct packet_worker_task *packet)
int dsend_packet_player_phase_done(struct connection *pc, int turn)
int send_packet_investigate_started(struct connection *pc, const struct packet_investigate_started *packet)
int send_packet_investigate_finished(struct connection *pc, const struct packet_investigate_finished *packet)
int send_packet_client_heartbeat(struct connection *pc)
int send_packet_city_short_info(struct connection *pc, const struct packet_city_short_info *packet)
int send_packet_edit_object_created(struct connection *pc, const struct packet_edit_object_created *packet)
int send_packet_authentication_reply(struct connection *pc, const struct packet_authentication_reply *packet)
int send_packet_edit_player(struct connection *pc, const struct packet_edit_player *packet)
int dsend_packet_investigate_started(struct connection *pc, int unit_id16, int unit_id32, int city_id16, int city_id32)
void lsend_packet_ruleset_base(struct conn_list *dest, const struct packet_ruleset_base *packet)
int dsend_packet_game_load(struct connection *pc, bool load_successful, const char *load_filename)
int send_packet_unit_short_info(struct connection *pc, const struct packet_unit_short_info *packet, bool force_to_send)
int send_packet_ruleset_terrain_flag(struct connection *pc, const struct packet_ruleset_terrain_flag *packet)
void lsend_packet_unit_info(struct conn_list *dest, const struct packet_unit_info *packet)
int dsend_packet_player_change_government(struct connection *pc, Government_type_id government)
void lsend_packet_ruleset_resource(struct conn_list *dest, const struct packet_ruleset_resource *packet)
void dlsend_packet_diplomacy_create_clause(struct conn_list *dest, int counterpart, int giver, enum clause_type type, int value)
void lsend_packet_ruleset_specialist(struct conn_list *dest, const struct packet_ruleset_specialist *packet)
int send_packet_conn_info(struct connection *pc, const struct packet_conn_info *packet)
void lsend_packet_play_music(struct conn_list *dest, const struct packet_play_music *packet)
int send_packet_game_info(struct connection *pc, const struct packet_game_info *packet)
int dsend_packet_edit_player_create(struct connection *pc, int tag)
void lsend_packet_city_name_suggestion_info(struct conn_list *dest, const struct packet_city_name_suggestion_info *packet)
int send_packet_web_city_info_addition(struct connection *pc, const struct packet_web_city_info_addition *packet, bool force_to_send)
int send_packet_edit_unit_remove_by_id(struct connection *pc, const struct packet_edit_unit_remove_by_id *packet)
int send_packet_diplomacy_cancel_pact(struct connection *pc, const struct packet_diplomacy_cancel_pact *packet)
void dlsend_packet_diplomacy_accept_treaty(struct conn_list *dest, int counterpart, bool I_accepted, bool other_accepted)
int send_packet_edit_recalculate_borders(struct connection *pc)
int send_packet_set_topology(struct connection *pc, const struct packet_set_topology *packet)
int send_packet_spaceship_place(struct connection *pc, const struct packet_spaceship_place *packet)
void dlsend_packet_start_phase(struct conn_list *dest, int phase)
int dsend_packet_unit_actions(struct connection *pc, int actor_unit_id16, int actor_unit_id32, int target_unit_id16, int target_unit_id32, int target_city_id16, int target_city_id32, int target_tile_id, int target_extra_id, int request_kind, const struct act_prob *action_probabilities)
void lsend_packet_ruleset_tech(struct conn_list *dest, const struct packet_ruleset_tech *packet)
int send_packet_authentication_req(struct connection *pc, const struct packet_authentication_req *packet)
void lsend_packet_ruleset_trade(struct conn_list *dest, const struct packet_ruleset_trade *packet)
int send_packet_map_info(struct connection *pc, const struct packet_map_info *packet)
int send_packet_freeze_client(struct connection *pc)
int send_packet_player_attribute_chunk(struct connection *pc, const struct packet_player_attribute_chunk *packet)
int send_packet_tile_info(struct connection *pc, const struct packet_tile_info *packet)
int send_packet_edit_unit(struct connection *pc, const struct packet_edit_unit *packet)
int dsend_packet_player_research(struct connection *pc, int tech)
int dsend_packet_city_rename(struct connection *pc, int city_id16, int city_id32, const char *name)
int send_packet_nuke_tile_info(struct connection *pc, const struct packet_nuke_tile_info *packet)
int send_packet_ruleset_unit_class_flag(struct connection *pc, const struct packet_ruleset_unit_class_flag *packet)
int send_packet_ruleset_terrain_control(struct connection *pc, const struct packet_ruleset_terrain_control *packet)
int dsend_packet_unit_get_actions(struct connection *pc, int actor_unit_id16, int actor_unit_id32, int target_unit_id16, int target_unit_id32, int target_tile_id, int target_extra_id, int request_kind)
void lsend_packet_ruleset_action_enabler(struct conn_list *dest, const struct packet_ruleset_action_enabler *packet)
int send_packet_city_buy(struct connection *pc, const struct packet_city_buy *packet)
void dlsend_packet_game_load(struct conn_list *dest, bool load_successful, const char *load_filename)
int dsend_packet_edit_object_created(struct connection *pc, int tag, int id)
int dsend_packet_city_buy(struct connection *pc, int city_id16, int city_id32)
int send_packet_edit_scenario_desc(struct connection *pc, const struct packet_edit_scenario_desc *packet)
int send_packet_diplomacy_create_clause(struct connection *pc, const struct packet_diplomacy_create_clause *packet)
int send_packet_ruleset_trade(struct connection *pc, const struct packet_ruleset_trade *packet)
int send_packet_player_ready(struct connection *pc, const struct packet_player_ready *packet)
void lsend_packet_nuke_tile_info(struct conn_list *dest, const struct packet_nuke_tile_info *packet)
void lsend_packet_freeze_client(struct conn_list *dest)
void dlsend_packet_diplomacy_cancel_meeting(struct conn_list *dest, int counterpart, int initiated_from)
void lsend_packet_nation_availability(struct conn_list *dest, const struct packet_nation_availability *packet)
int dsend_packet_edit_unit_remove(struct connection *pc, int owner, int tile, Unit_type_id type, int count)
int send_packet_city_change_specialist(struct connection *pc, const struct packet_city_change_specialist *packet)
int dsend_packet_unit_remove(struct connection *pc, int unit_id16, int unit_id32)
void lsend_packet_web_city_info_addition(struct conn_list *dest, const struct packet_web_city_info_addition *packet, bool force_to_send)
int send_packet_calendar_info(struct connection *pc, const struct packet_calendar_info *packet)
int dsend_packet_diplomacy_remove_clause_req(struct connection *pc, int counterpart, int giver, enum clause_type type, int value)
int send_packet_vote_remove(struct connection *pc, const struct packet_vote_remove *packet)
int send_packet_unit_get_actions(struct connection *pc, const struct packet_unit_get_actions *packet)
int send_packet_unit_change_activity(struct connection *pc, const struct packet_unit_change_activity *packet)
int dsend_packet_start_phase(struct connection *pc, int phase)
void lsend_packet_ruleset_style(struct conn_list *dest, const struct packet_ruleset_style *packet)
int send_packet_chat_msg_req(struct connection *pc, const struct packet_chat_msg_req *packet)
void lsend_packet_conn_ping_info(struct conn_list *dest, const struct packet_conn_ping_info *packet)
int dsend_packet_unit_action_query(struct connection *pc, int actor_id16, int actor_id32, int target_id, action_id action_type, int request_kind)
void lsend_packet_end_phase(struct conn_list *dest)
int dsend_packet_edit_unit_create(struct connection *pc, int owner, int tile, Unit_type_id type, int count, int tag)
int dsend_packet_edit_player_remove(struct connection *pc, int id)
int dsend_packet_unit_type_upgrade(struct connection *pc, Unit_type_id type)
int send_packet_ruleset_action(struct connection *pc, const struct packet_ruleset_action *packet)
void lsend_packet_unit_combat_info(struct conn_list *dest, const struct packet_unit_combat_info *packet)
int dsend_packet_unit_server_side_agent_set(struct connection *pc, int unit_id16, int unit_id32, enum server_side_agent agent)
int dsend_packet_city_worklist(struct connection *pc, int city_id16, int city_id32, const struct worklist *worklist)
int send_packet_edit_city_remove(struct connection *pc, const struct packet_edit_city_remove *packet)
int send_packet_ruleset_effect(struct connection *pc, const struct packet_ruleset_effect *packet)
int send_packet_edit_mode(struct connection *pc, const struct packet_edit_mode *packet)
int dsend_packet_player_place_infra(struct connection *pc, int tile, int extra)
int send_packet_ruleset_style(struct connection *pc, const struct packet_ruleset_style *packet)
int send_packet_ruleset_disaster(struct connection *pc, const struct packet_ruleset_disaster *packet)
void lsend_packet_server_shutdown(struct conn_list *dest)
int dsend_packet_diplomacy_accept_treaty(struct connection *pc, int counterpart, bool I_accepted, bool other_accepted)
int send_packet_ruleset_unit(struct connection *pc, const struct packet_ruleset_unit *packet)
int send_packet_vote_update(struct connection *pc, const struct packet_vote_update *packet)
int dsend_packet_save_scenario(struct connection *pc, const char *name)
int dsend_packet_edit_tile_extra(struct connection *pc, int tile, int extra_type_id, bool removal, int eowner, int size)
int send_packet_ruleset_nation_groups(struct connection *pc, const struct packet_ruleset_nation_groups *packet)
int send_packet_server_join_reply(struct connection *pc, const struct packet_server_join_reply *packet)
int dsend_packet_unit_change_activity(struct connection *pc, int unit_id16, int unit_id32, enum unit_activity activity, int target)
int send_packet_edit_startpos(struct connection *pc, const struct packet_edit_startpos *packet)
void lsend_packet_ruleset_tech_flag(struct conn_list *dest, const struct packet_ruleset_tech_flag *packet)
int send_packet_edit_tile_terrain(struct connection *pc, const struct packet_edit_tile_terrain *packet)
int send_packet_edit_tile(struct connection *pc, const struct packet_edit_tile *packet)
int dsend_packet_city_name_suggestion_req(struct connection *pc, int unit_id16, int unit_id32)
int send_packet_server_setting_enum(struct connection *pc, const struct packet_server_setting_enum *packet)
void lsend_packet_achievement_info(struct conn_list *dest, const struct packet_achievement_info *packet)
int send_packet_edit_check_tiles(struct connection *pc)
int send_packet_ruleset_control(struct connection *pc, const struct packet_ruleset_control *packet)
void lsend_packet_city_sabotage_list(struct conn_list *dest, const struct packet_city_sabotage_list *packet)
int send_packet_diplomacy_remove_clause(struct connection *pc, const struct packet_diplomacy_remove_clause *packet)
int send_packet_ruleset_government_ruler_title(struct connection *pc, const struct packet_ruleset_government_ruler_title *packet)
int send_packet_diplomacy_cancel_meeting(struct connection *pc, const struct packet_diplomacy_cancel_meeting *packet)
int send_packet_thaw_client(struct connection *pc)
int send_packet_edit_player_create(struct connection *pc, const struct packet_edit_player_create *packet)
int send_packet_unit_info(struct connection *pc, const struct packet_unit_info *packet)
int send_packet_ruleset_action_enabler(struct connection *pc, const struct packet_ruleset_action_enabler *packet)
int send_packet_player_tech_goal(struct connection *pc, const struct packet_player_tech_goal *packet)
int send_packet_diplomacy_init_meeting(struct connection *pc, const struct packet_diplomacy_init_meeting *packet)
int send_packet_team_name_info(struct connection *pc, const struct packet_team_name_info *packet)
int dsend_packet_single_want_hack_reply(struct connection *pc, bool you_have_hack)
int send_packet_server_shutdown(struct connection *pc)
int send_packet_research_info(struct connection *pc, const struct packet_research_info *packet)
packet_type
@ PACKET_PLAYER_MULTIPLIER
@ PACKET_DIPLOMACY_ACCEPT_TREATY
@ PACKET_PLAYER_CHANGE_GOVERNMENT
@ PACKET_WEB_PLAYER_INFO_ADDITION
@ PACKET_SAVE_SCENARIO
@ PACKET_RULESET_MULTIPLIER
@ PACKET_THAW_CLIENT
@ PACKET_EDIT_TOGGLE_FOGOFWAR
@ PACKET_EDIT_MODE
@ PACKET_RULESET_MUSIC
@ PACKET_LAST
@ PACKET_RULESET_GOODS
@ PACKET_ENDGAME_PLAYER
@ PACKET_UNIT_ACTION_ANSWER
@ PACKET_EDIT_PLAYER
@ PACKET_DIPLOMACY_CANCEL_MEETING_REQ
@ PACKET_SERVER_SETTING_ENUM
@ PACKET_SET_TOPOLOGY
@ PACKET_WEB_CITY_INFO_ADDITION
@ PACKET_CONN_PING
@ PACKET_CITY_MAKE_WORKER
@ PACKET_CITY_OPTIONS_REQ
@ PACKET_VOTE_UPDATE
@ PACKET_CITY_NAME_SUGGESTION_INFO
@ PACKET_CITY_CHANGE
@ PACKET_UNIT_SSCS_SET
@ PACKET_PROCESSING_STARTED
@ PACKET_UNIT_DO_ACTION
@ PACKET_UNIT_REMOVE
@ PACKET_END_PHASE
@ PACKET_SERVER_SETTING_INT
@ PACKET_RULESET_EXTRA
@ PACKET_EDIT_PLAYER_CREATE
@ PACKET_EDIT_GAME
@ PACKET_CONN_PING_INFO
@ PACKET_END_TURN
@ PACKET_EDIT_TILE_EXTRA
@ PACKET_SPACESHIP_PLACE
@ PACKET_NEW_YEAR
@ PACKET_NATION_SELECT_REQ
@ PACKET_ENDGAME_REPORT
@ PACKET_RULESET_ACTION_AUTO
@ PACKET_UNIT_COMBAT_INFO
@ PACKET_RULESETS_READY
@ PACKET_UNIT_SHORT_INFO
@ PACKET_SERVER_JOIN_REQ
@ PACKET_REPORT_REQ
@ PACKET_RULESET_UNIT_CLASS_FLAG
@ PACKET_RULESET_TECH_CLASS
@ PACKET_EDIT_CITY_CREATE
@ PACKET_SINGLE_WANT_HACK_REPLY
@ PACKET_GAME_INFO
@ PACKET_DIPLOMACY_INIT_MEETING_REQ
@ PACKET_PROCESSING_FINISHED
@ PACKET_RULESET_ACTION
@ PACKET_PLAYER_ATTRIBUTE_BLOCK
@ PACKET_CITY_SELL
@ PACKET_CITY_NAME_SUGGESTION_REQ
@ PACKET_UNKNOWN_RESEARCH
@ PACKET_CHAT_MSG_REQ
@ PACKET_NUKE_TILE_INFO
@ PACKET_PLAYER_DIPLSTATE
@ PACKET_RULESET_TECH
@ PACKET_CLIENT_HEARTBEAT
@ PACKET_RULESET_ROAD
@ PACKET_RULESET_NATION_SETS
@ PACKET_CITY_SABOTAGE_LIST
@ PACKET_MAP_INFO
@ PACKET_RULESET_CLAUSE
@ PACKET_DIPLOMACY_CREATE_CLAUSE_REQ
@ PACKET_CITY_BUY
@ PACKET_CHAT_MSG
@ PACKET_EDIT_CITY_REMOVE
@ PACKET_EDIT_STARTPOS
@ PACKET_SERVER_SETTING_CONST
@ PACKET_PLAYER_RESEARCH
@ PACKET_BEGIN_TURN
@ PACKET_RULESET_TERRAIN_CONTROL
@ PACKET_PLAYER_PHASE_DONE
@ PACKET_GAME_LOAD
@ PACKET_PLAYER_REMOVE
@ PACKET_CLIENT_INFO
@ PACKET_CITY_WORKLIST
@ PACKET_DIPLOMACY_CANCEL_MEETING
@ PACKET_UNIT_TYPE_UPGRADE
@ PACKET_START_PHASE
@ PACKET_AUTHENTICATION_REPLY
@ PACKET_SPACESHIP_INFO
@ PACKET_UNIT_GET_ACTIONS
@ PACKET_PLAYER_ATTRIBUTE_CHUNK
@ PACKET_RULESET_TERRAIN_FLAG
@ PACKET_CITY_MAKE_SPECIALIST
@ PACKET_RULESET_ACHIEVEMENT
@ PACKET_RULESET_EFFECT
@ PACKET_RULESET_DISASTER
@ PACKET_RULESET_CONTROL
@ PACKET_SINGLE_WANT_HACK_REQ
@ PACKET_PLAYER_PLACE_INFRA
@ PACKET_VOTE_NEW
@ PACKET_AUTHENTICATION_REQ
@ PACKET_RULESET_TRADE
@ PACKET_EDIT_PLAYER_REMOVE
@ PACKET_CONN_INFO
@ PACKET_SERVER_SETTING_BITWISE
@ PACKET_EDIT_TILE_TERRAIN
@ PACKET_DIPLOMACY_INIT_MEETING
@ PACKET_RULESET_SUMMARY
@ PACKET_UNIT_ACTION_QUERY
@ PACKET_PLAY_MUSIC
@ PACKET_TRADE_ROUTE_INFO
@ PACKET_RULESET_STYLE
@ PACKET_RULESET_CITY
@ PACKET_CITY_NATIONALITIES
@ PACKET_EDIT_SCENARIO_DESC
@ PACKET_FREEZE_CLIENT
@ PACKET_VOTE_RESOLVE
@ PACKET_EDIT_UNIT_CREATE
@ PACKET_TIMEOUT_INFO
@ PACKET_RULESET_GAME
@ PACKET_UNIT_CHANGE_ACTIVITY
@ PACKET_EDIT_UNIT_REMOVE
@ PACKET_RULESET_UNIT_FLAG
@ PACKET_DIPLOMACY_REMOVE_CLAUSE
@ PACKET_TILE_INFO
@ PACKET_EDIT_OBJECT_CREATED
@ PACKET_CITY_SHORT_INFO
@ PACKET_CALENDAR_INFO
@ PACKET_SERVER_JOIN_REPLY
@ PACKET_SERVER_SETTING_STR
@ PACKET_VOTE_SUBMIT
@ PACKET_EDIT_PLAYER_VISION
@ PACKET_SCENARIO_INFO
@ PACKET_EDIT_CHECK_TILES
@ PACKET_RULESET_CHOICES
@ PACKET_CITY_CHANGE_SPECIALIST
@ PACKET_RULESET_SPECIALIST
@ PACKET_CITY_REFRESH
@ PACKET_CITY_REMOVE
@ PACKET_UNIT_INFO
@ PACKET_RULESET_NATION_GROUPS
@ PACKET_CONNECT_MSG
@ PACKET_EARLY_CHAT_MSG
@ PACKET_RULESET_UNIT_CLASS
@ PACKET_PLAYER_INFO
@ PACKET_EDIT_TILE
@ PACKET_PLAYER_READY
@ PACKET_WEB_RULESET_UNIT_ADDITION
@ PACKET_SERVER_SHUTDOWN
@ PACKET_RULESET_TERRAIN
@ PACKET_RULESET_EXTRA_FLAG
@ PACKET_RULESET_DESCRIPTION_PART
@ PACKET_EDIT_UNIT
@ PACKET_RULESET_BASE
@ PACKET_SERVER_SETTING_BOOL
@ PACKET_RESEARCH_INFO
@ PACKET_CONN_PONG
@ PACKET_EDIT_RECALCULATE_BORDERS
@ PACKET_PAGE_MSG_PART
@ PACKET_EDIT_CITY
@ PACKET_RULESET_UNIT
@ PACKET_PLAYER_TECH_GOAL
@ PACKET_UNIT_ACTIONS
@ PACKET_INVESTIGATE_FINISHED
@ PACKET_RULESET_ACTION_ENABLER
@ PACKET_INVESTIGATE_STARTED
@ PACKET_CITY_RALLY_POINT
@ PACKET_RULESET_UNIT_BONUS
@ PACKET_RULESET_BUILDING
@ PACKET_RULESET_NATION
@ PACKET_UNIT_SERVER_SIDE_AGENT_SET
@ PACKET_SERVER_INFO
@ PACKET_RULESET_GOVERNMENT_RULER_TITLE
@ PACKET_SPACESHIP_LAUNCH
@ PACKET_DIPLOMACY_REMOVE_CLAUSE_REQ
@ PACKET_DIPLOMACY_ACCEPT_TREATY_REQ
@ PACKET_DIPLOMACY_CREATE_CLAUSE
@ PACKET_RULESET_GOVERNMENT
@ PACKET_SCENARIO_DESCRIPTION
@ PACKET_SERVER_SETTING_CONTROL
@ PACKET_ACHIEVEMENT_INFO
@ PACKET_PAGE_MSG
@ PACKET_RULESET_TECH_FLAG
@ PACKET_RULESET_RESOURCE
@ PACKET_UNIT_ORDERS
@ PACKET_EDIT_UNIT_REMOVE_BY_ID
@ PACKET_EDIT_STARTPOS_FULL
@ PACKET_DIPLOMACY_CANCEL_PACT
@ PACKET_TEAM_NAME_INFO
@ PACKET_CITY_INFO
@ PACKET_PLAYER_RATES
@ PACKET_NATION_AVAILABILITY
@ PACKET_CITY_RENAME
@ PACKET_VOTE_REMOVE
@ PACKET_WORKER_TASK
int send_packet_vote_new(struct connection *pc, const struct packet_vote_new *packet)
int send_packet_unit_sscs_set(struct connection *pc, const struct packet_unit_sscs_set *packet)
void lsend_packet_ruleset_tech_class(struct conn_list *dest, const struct packet_ruleset_tech_class *packet)
int send_packet_scenario_description(struct connection *pc, const struct packet_scenario_description *packet)
int send_packet_player_attribute_block(struct connection *pc)
int send_packet_achievement_info(struct connection *pc, const struct packet_achievement_info *packet)
int send_packet_web_player_info_addition(struct connection *pc, const struct packet_web_player_info_addition *packet)
int dsend_packet_report_req(struct connection *pc, enum report_type type)
void lsend_packet_ruleset_goods(struct conn_list *dest, const struct packet_ruleset_goods *packet)
int send_packet_spaceship_launch(struct connection *pc)
void lsend_packet_end_turn(struct conn_list *dest)
void lsend_packet_diplomacy_remove_clause(struct conn_list *dest, const struct packet_diplomacy_remove_clause *packet)
int send_packet_spaceship_info(struct connection *pc, const struct packet_spaceship_info *packet)
int dsend_packet_city_options_req(struct connection *pc, int city_id16, int city_id32, bv_city_options options)
int send_packet_page_msg_part(struct connection *pc, const struct packet_page_msg_part *packet)
void lsend_packet_ruleset_game(struct conn_list *dest, const struct packet_ruleset_game *packet)
int send_packet_ruleset_building(struct connection *pc, const struct packet_ruleset_building *packet)
void lsend_packet_page_msg_part(struct conn_list *dest, const struct packet_page_msg_part *packet)
void lsend_packet_ruleset_nation(struct conn_list *dest, const struct packet_ruleset_nation *packet)
int send_packet_diplomacy_init_meeting_req(struct connection *pc, const struct packet_diplomacy_init_meeting_req *packet)
int dsend_packet_edit_tile_terrain(struct connection *pc, int tile, Terrain_type_id terrain, int size)
void dlsend_packet_unit_remove(struct conn_list *dest, int unit_id16, int unit_id32)
void lsend_packet_rulesets_ready(struct conn_list *dest)
int dsend_packet_diplomacy_accept_treaty_req(struct connection *pc, int counterpart)
int send_packet_rulesets_ready(struct connection *pc)
void lsend_packet_city_remove(struct conn_list *dest, const struct packet_city_remove *packet)
int send_packet_timeout_info(struct connection *pc, const struct packet_timeout_info *packet)
int send_packet_player_research(struct connection *pc, const struct packet_player_research *packet)
int send_packet_ruleset_music(struct connection *pc, const struct packet_ruleset_music *packet)
int send_packet_start_phase(struct connection *pc, const struct packet_start_phase *packet)
void lsend_packet_ruleset_extra_flag(struct conn_list *dest, const struct packet_ruleset_extra_flag *packet)
int send_packet_city_worklist(struct connection *pc, const struct packet_city_worklist *packet)
void lsend_packet_diplomacy_init_meeting(struct conn_list *dest, const struct packet_diplomacy_init_meeting *packet)
void lsend_packet_ruleset_road(struct conn_list *dest, const struct packet_ruleset_road *packet)
int send_packet_ruleset_tech_flag(struct connection *pc, const struct packet_ruleset_tech_flag *packet)
void lsend_packet_thaw_client(struct conn_list *dest)
int send_packet_ruleset_description_part(struct connection *pc, const struct packet_ruleset_description_part *packet)
int dsend_packet_edit_player_vision(struct connection *pc, int player, int tile, bool known, int size)
int dsend_packet_edit_toggle_fogofwar(struct connection *pc, int player)
void lsend_packet_ruleset_terrain(struct conn_list *dest, const struct packet_ruleset_terrain *packet)
void lsend_packet_ruleset_action_auto(struct conn_list *dest, const struct packet_ruleset_action_auto *packet)
int send_packet_ruleset_specialist(struct connection *pc, const struct packet_ruleset_specialist *packet)
int dsend_packet_player_ready(struct connection *pc, int player_no, bool is_ready)
int send_packet_client_info(struct connection *pc, const struct packet_client_info *packet)
int send_packet_game_load(struct connection *pc, const struct packet_game_load *packet)
int dsend_packet_edit_mode(struct connection *pc, bool state)
int send_packet_city_sell(struct connection *pc, const struct packet_city_sell *packet)
int send_packet_save_scenario(struct connection *pc, const struct packet_save_scenario *packet)
int send_packet_unit_combat_info(struct connection *pc, const struct packet_unit_combat_info *packet)
void lsend_packet_city_rally_point(struct conn_list *dest, const struct packet_city_rally_point *packet, bool force_to_send)
#define MAX_LEN_ADDR
Definition shared.h:31
int step
Definition specpq.h:92
size_t size
Definition specvec.h:72
Definition agents.h:40
char password[MAX_LEN_PASSWORD]
Definition packets_gen.h:68
enum authentication_type type
Definition packets_gen.h:63
char positive_year_label[MAX_LEN_NAME]
char negative_year_label[MAX_LEN_NAME]
char calendar_fragment_name[MAX_CALENDAR_FRAGMENTS][MAX_LEN_NAME]
enum event_type event
int last_turns_shield_surplus
int usage[O_LAST]
int ppl_content[FEELING_LAST]
bv_city_options city_options
enum capital_type capital
int surplus[O_LAST]
int ppl_unhappy[FEELING_LAST]
int citizen_base[O_LAST]
int specialists[SP_MAX]
int ppl_angry[FEELING_LAST]
bv_imprs improvements
char name[MAX_LEN_CITYNAME]
int ppl_happy[FEELING_LAST]
int prod[O_LAST]
int unhappy_penalty[O_LAST]
int waste[O_LAST]
char name[MAX_LEN_CITYNAME]
int nation_id[MAX_CITY_NATIONALITIES]
int nation_citizens[MAX_CITY_NATIONALITIES]
bv_city_options options
struct unit_order orders[MAX_LEN_ROUTE]
char name[MAX_LEN_CITYNAME]
enum capital_type capital
char name[MAX_LEN_CITYNAME]
char distribution[MAX_LEN_NAME]
enum gui_type gui
char capability[MAX_LEN_CAPSTR]
char addr[MAX_LEN_ADDR]
char username[MAX_LEN_NAME]
enum cmdlevel access_level
float ping_time[MAX_NUM_CONNECTIONS]
int conn_id[MAX_NUM_CONNECTIONS]
enum event_type event
int specialists[SP_MAX]
int built[B_LAST]
char name[MAX_LEN_CITYNAME]
bv_city_options city_options
char scenario_name[256]
char scenario_authors[MAX_LEN_PACKET/3]
char ranked_username[MAX_LEN_NAME]
Nation_type_id nation
char username[MAX_LEN_NAME]
char name[MAX_LEN_NAME]
Government_type_id government
bool inventions[A_LAST+1]
Government_type_id target_government
char scenario_desc[MAX_LEN_CONTENT]
bv_startpos_nations nations
Terrain_type_id terrain
Resource_type_id resource
Nation_type_id startpos_nation
char label[MAX_LEN_NAME]
Terrain_type_id terrain
Unit_type_id utype
enum unit_activity activity
Base_type_id activity_base
char category_name[32][MAX_LEN_NAME]
Definition packets_gen.h:90
bool tech_steal_allow_holes
enum gameloss_style gameloss_style
enum goods_selection_method goods_selection
enum borders_mode borders
enum happyborders_type happyborders
Government_type_id government_during_revolution_id
enum gold_upkeep_style gold_upkeep_style
bool damage_reduces_bombard_rate
int nuke_defender_survival_chance_pct
enum tech_upkeep_style tech_upkeep_style
bool tech_trade_loss_allow_holes
int granary_food_ini[MAX_GRANARY_INIS]
enum diplomacy_mode diplomacy
enum free_tech_method free_tech_method
bool steal_maps_reveals_all_cities
enum trade_revenue_style trade_revenue_style
bool only_real_fight_makes_veteran
int great_wonder_owners[B_LAST]
int low_firepower_pearl_harbour
bool global_advances[A_LAST]
enum airlifting_style airlifting_style
enum tech_leakage_style tech_leakage
enum ai_level skill_level
enum revolen_type revolentype
enum phase_mode_type phase_mode
bool airlift_from_always_enabled
enum caravan_bonus_style caravan_bonus_style
bool only_killing_makes_veteran
bool poison_empties_food_stock
bv_actions diplchance_initial_odds
bool tech_trade_allow_holes
int low_firepower_nonnat_bombard
bool tech_parasite_allow_holes
int low_firepower_combat_bonus
int border_city_permanent_radius_sq
enum persistent_ready persistent_ready
int low_firepower_badwallattacker
bool airlift_to_always_enabled
enum wonder_visib_type small_wonder_visibility
enum tech_cost_style tech_cost_style
bool combat_odds_scaled_veterancy
enum victory_condition_type victory_conditions
int civil_war_bonus_celebrating
Government_type_id default_government_id
int min_city_center_output[O_LAST]
char load_filename[MAX_LEN_PACKET]
bool is_pickable[MAX_NUM_NATIONS]
char name[MAX_LEN_NAME]
Definition packets_gen.h:79
Nation_type_id nation_no
Definition packets_gen.h:77
char lines[MAX_LEN_CONTENT]
enum event_type event
char headline[MAX_LEN_MSG]
char caption[MAX_LEN_MSG]
char tag[MAX_LEN_NAME]
unsigned char data[ATTRIBUTE_CHUNK_SIZE]
Government_type_id government
enum diplstate_type type
enum ai_level ai_skill_level
char username[MAX_LEN_NAME]
bv_plr_flags flags
enum mood_type mood
bv_player gives_shared_vision
int love[MAX_NUM_PLAYER_SLOTS]
Government_type_id target_government
int multiplier_target[MAX_NUM_MULTIPLIERS]
bool real_embassy[MAX_NUM_PLAYER_SLOTS]
int multiplier_changed[MAX_NUM_MULTIPLIERS]
Nation_type_id nation
enum barbarian_type barbarian_type
char name[MAX_LEN_NAME]
Government_type_id government
int wonders[B_LAST]
int multipliers[MAX_NUM_MULTIPLIERS]
enum report_type type
char inventions[A_LAST+1]
char rule_name[MAX_LEN_NAME]
enum achievement_type type
char name[MAX_LEN_NAME]
action_id alternatives[MAX_NUM_ACTIONS]
struct requirement reqs[MAX_NUM_REQS]
enum action_auto_perf_cause cause
struct requirement actor_reqs[MAX_NUM_REQS]
struct requirement target_reqs[MAX_NUM_REQS]
enum action_sub_target_kind sub_tgt_kind
enum action_actor_kind act_kind
bv_action_sub_results sub_results
char ui_name[MAX_LEN_NAME]
enum action_target_kind tgt_kind
enum action_result result
enum base_gui_type gui_type
char helptext[MAX_LEN_PACKET]
struct requirement obs_reqs[MAX_NUM_REQS]
char soundtag_alt[MAX_LEN_NAME]
struct requirement reqs[MAX_NUM_REQS]
enum impr_genus_id genus
char name[MAX_LEN_NAME]
char soundtag[MAX_LEN_NAME]
char rule_name[MAX_LEN_NAME]
char graphic_str[MAX_LEN_NAME]
char graphic_alt[MAX_LEN_NAME]
char rulesets[MAX_NUM_RULESETS][MAX_RULESET_NAME_LENGTH]
char citizens_graphic[MAX_LEN_NAME]
char name[MAX_LEN_NAME]
char rule_name[MAX_LEN_NAME]
char graphic_alt[MAX_LEN_NAME]
char graphic[MAX_LEN_NAME]
struct requirement reqs[MAX_NUM_REQS]
enum clause_type type
struct requirement receiver_reqs[MAX_NUM_REQS]
struct requirement giver_reqs[MAX_NUM_REQS]
char preferred_soundset[MAX_LEN_NAME]
char version[MAX_LEN_NAME]
char preferred_tileset[MAX_LEN_NAME]
char alt_dir[MAX_LEN_NAME]
char preferred_musicset[MAX_LEN_NAME]
char name[MAX_LEN_NAME]
char text[MAX_LEN_CONTENT]
char rule_name[MAX_LEN_NAME]
struct requirement reqs[MAX_NUM_REQS]
bv_disaster_effects effects
char name[MAX_LEN_NAME]
struct requirement reqs[MAX_NUM_REQS]
Multiplier_type_id multiplier
enum effect_type effect_type
char helptxt[MAX_LEN_PACKET]
char name[MAX_LEN_NAME]
bv_unit_classes native_to
struct requirement reqs[MAX_NUM_REQS]
char graphic_alt[MAX_LEN_NAME]
char act_gfx_alt2[MAX_LEN_NAME]
struct requirement disappearance_reqs[MAX_NUM_REQS]
bv_extra_flags flags
char act_gfx_alt[MAX_LEN_NAME]
char activity_gfx[MAX_LEN_NAME]
char rule_name[MAX_LEN_NAME]
enum extra_unit_seen_type eus
struct requirement appearance_reqs[MAX_NUM_REQS]
char name[MAX_LEN_NAME]
char graphic_str[MAX_LEN_NAME]
char rmact_gfx_alt[MAX_LEN_NAME]
char rmact_gfx[MAX_LEN_NAME]
struct requirement rmreqs[MAX_NUM_REQS]
char helptext[MAX_LEN_PACKET]
int work_raise_chance[MAX_VET_LEVELS]
int base_raise_chance[MAX_VET_LEVELS]
int global_init_techs[MAX_NUM_TECH_LIST]
int move_bonus[MAX_VET_LEVELS]
char veteran_name[MAX_VET_LEVELS][MAX_LEN_NAME]
Impr_type_id global_init_buildings[MAX_NUM_BUILDING_LIST]
int power_fact[MAX_VET_LEVELS]
char helptext[MAX_LEN_PACKET]
bv_goods_flags flags
char name[MAX_LEN_NAME]
char rule_name[MAX_LEN_NAME]
struct requirement reqs[MAX_NUM_REQS]
char graphic_alt[MAX_LEN_NAME]
char rule_name[MAX_LEN_NAME]
char name[MAX_LEN_NAME]
Government_type_id id
char graphic_str[MAX_LEN_NAME]
struct requirement reqs[MAX_NUM_REQS]
char helptext[MAX_LEN_PACKET]
char name[MAX_LEN_NAME]
Multiplier_type_id id
struct requirement reqs[MAX_NUM_REQS]
char rule_name[MAX_LEN_NAME]
char helptext[MAX_LEN_PACKET]
char music_combat[MAX_LEN_NAME]
struct requirement reqs[MAX_NUM_REQS]
char music_peaceful[MAX_LEN_NAME]
char groups[MAX_NUM_NATION_GROUPS][MAX_LEN_NAME]
bool hidden[MAX_NUM_NATION_GROUPS]
char rule_names[MAX_NUM_NATION_SETS][MAX_LEN_NAME]
char names[MAX_NUM_NATION_SETS][MAX_LEN_NAME]
char descriptions[MAX_NUM_NATION_SETS][MAX_LEN_MSG]
int init_techs[MAX_NUM_TECH_LIST]
char leader_name[MAX_NUM_LEADERS][MAX_LEN_NAME]
char noun_plural[MAX_LEN_NAME]
char adjective[MAX_LEN_NAME]
Impr_type_id init_buildings[MAX_NUM_BUILDING_LIST]
Unit_type_id init_units[MAX_NUM_UNIT_LIST]
bool leader_is_male[MAX_NUM_LEADERS]
char translation_domain[MAX_LEN_NAME]
char graphic_str[MAX_LEN_NAME]
Government_type_id init_government_id
int groups[MAX_NUM_NATION_GROUPS]
enum barbarian_type barbarian_type
int sets[MAX_NUM_NATION_SETS]
char graphic_alt[MAX_LEN_NAME]
char rule_name[MAX_LEN_NAME]
char legend[MAX_LEN_MSG]
bv_road_flags flags
int tile_incr_const[O_LAST]
enum road_gui_type gui_type
bv_max_extras integrates
enum road_compat compat
enum road_move_mode move_mode
int tile_bonus[O_LAST]
int tile_incr[O_LAST]
struct requirement first_reqs[MAX_NUM_REQS]
char rule_name[MAX_LEN_NAME]
char graphic_alt[MAX_LEN_NAME]
struct requirement reqs[MAX_NUM_REQS]
Specialist_type_id id
char helptext[MAX_LEN_PACKET]
char short_name[MAX_LEN_NAME]
char graphic_str[MAX_LEN_NAME]
char plural_name[MAX_LEN_NAME]
char name[MAX_LEN_NAME]
char rule_name[MAX_LEN_NAME]
char text[MAX_LEN_CONTENT]
char name[MAX_LEN_NAME]
char rule_name[MAX_LEN_NAME]
char name[MAX_LEN_NAME]
char helptxt[MAX_LEN_PACKET]
char name[MAX_LEN_NAME]
struct requirement research_reqs[MAX_NUM_REQS]
char graphic_str[MAX_LEN_NAME]
char rule_name[MAX_LEN_NAME]
char graphic_alt[MAX_LEN_NAME]
bv_tech_flags flags
char helptext[MAX_LEN_PACKET]
char gui_type_base0[MAX_LEN_NAME]
char gui_type_base1[MAX_LEN_NAME]
char name[MAX_LEN_NAME]
char helptxt[MAX_LEN_PACKET]
Terrain_type_id transform_result
char helptext[MAX_LEN_PACKET]
bv_terrain_flags flags
Resource_type_id resources[MAX_RESOURCE_TYPES]
char graphic_str[MAX_LEN_NAME]
bv_unit_classes native_to
Terrain_type_id cultivate_result
Terrain_type_id plant_result
char name[MAX_LEN_NAME]
int road_output_incr_pct[O_LAST]
char graphic_alt[MAX_LEN_NAME]
char rule_name[MAX_LEN_NAME]
enum trade_route_illegal_cancelling cancelling
enum trade_route_bonus_type bonus_type
enum combat_bonus_type type
enum unit_type_flag_id flag
char helptxt[MAX_LEN_PACKET]
char rule_name[MAX_LEN_NAME]
bv_unit_class_flags flags
char name[MAX_LEN_NAME]
char helptext[MAX_LEN_PACKET]
char name[MAX_LEN_NAME]
char helptxt[MAX_LEN_PACKET]
char graphic_alt[MAX_LEN_NAME]
enum vision_layer vlayer
enum transp_def_type tp_defense
char rule_name[MAX_LEN_NAME]
int power_fact[MAX_VET_LEVELS]
char name[MAX_LEN_NAME]
char graphic_str[MAX_LEN_NAME]
char sound_fight_alt[MAX_LEN_NAME]
bv_unit_classes disembarks
bv_unit_classes cargo
bv_unit_type_flags flags
char sound_move_alt[MAX_LEN_NAME]
bv_unit_classes targets
struct requirement build_reqs[MAX_NUM_REQS]
int base_raise_chance[MAX_VET_LEVELS]
int work_raise_chance[MAX_VET_LEVELS]
char sound_fight[MAX_LEN_NAME]
bv_unit_classes embarks
char veteran_name[MAX_VET_LEVELS][MAX_LEN_NAME]
char sound_move[MAX_LEN_NAME]
char helptext[MAX_LEN_PACKET]
bv_unit_type_roles roles
int move_bonus[MAX_VET_LEVELS]
char name[MAX_LEN_NAME]
char description[MAX_LEN_CONTENT]
char datafile[MAX_LEN_NAME]
char authors[MAX_LEN_PACKET/3]
char support_names[64][MAX_LEN_NAME]
char pretty_names[64][MAX_LEN_ENUM]
enum setting_default_level setdef
enum setting_default_level setdef
char name[MAX_LEN_NAME]
char short_help[MAX_LEN_PACKET]
char extra_help[MAX_LEN_PACKET]
char category_names[256][MAX_LEN_NAME]
enum setting_default_level setdef
char pretty_names[64][MAX_LEN_ENUM]
char support_names[64][MAX_LEN_NAME]
enum setting_default_level setdef
char default_val[MAX_LEN_PACKET]
char val[MAX_LEN_PACKET]
enum setting_default_level setdef
char token[MAX_LEN_NAME]
bv_spaceship_structure structure
enum spaceship_place_type type
char team_name[MAX_LEN_NAME]
Resource_type_id resource
enum known_type known
char label[MAX_LEN_MAP_LABEL]
Continent_id continent
Terrain_type_id terrain
char spec_sprite[MAX_LEN_NAME]
enum route_direction direction
struct act_prob action_probabilities[MAX_NUM_ACTIONS]
enum unit_activity activity
char name[MAX_LEN_NAME]
int upkeep[O_LAST]
enum action_decision action_decision_want
struct unit_order orders[MAX_LEN_ROUTE]
enum unit_activity activity
Unit_type_id type
enum unit_activity changed_from
enum direction8 facing
enum server_side_agent ssa_controller
struct unit_order orders[MAX_LEN_ROUTE]
enum server_side_agent agent
enum direction8 facing
enum unit_ss_data_type type
char user[MAX_LEN_NAME]
enum unit_activity activity
Definition tile.h:49
#define A_LAST
Definition tech.h:45
#define MAX_RESOURCE_TYPES
Definition terrain.h:67
known_type
Definition tile.h:34
trade_route_illegal_cancelling
Definition traderoutes.h:29