| 1 | /* |
| 2 | * Copyright (C) 1998 Mark Baysinger ([email protected]) |
| 3 | * Copyright (C) 1998,1999,2000,2001 Ross Combs ([email protected]) |
| 4 | * |
| 5 | * This program is free software; you can redistribute it and/or |
| 6 | * modify it under the terms of the GNU General Public License |
| 7 | * as published by the Free Software Foundation; either version 2 |
| 8 | * of the License, or (at your option) any later version. |
| 9 | * |
| 10 | * This program is distributed in the hope that it will be useful, |
| 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 13 | * GNU General Public License for more details. |
| 14 | * |
| 15 | * You should have received a copy of the GNU General Public License |
| 16 | * along with this program; if not, write to the Free Software |
| 17 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
| 18 | */ |
| 19 | #ifndef INCLUDED_GAME_TYPEScxx . . $ `src/bnetd/game.h:20:9`! |
| 20 | #define INCLUDED_GAME_TYPEScxx . . $ `src/bnetd/game.h:20:9`! |
| 21 | |
| 22 | #ifdef GAME_INTERNAL_ACCESScxx . . $ `src/bnetd/game.cpp:19:9`! |
| 23 | |
| 24 | #ifdef JUST_NEED_TYPEScxx . . $ `src/bnetd/game_conv.h:25:9`! |
| 25 | # include "account.h"cxx . . $ `<file>/src/bnetd/account.h`/ |
| 26 | # include "connection.h"cxx . . $ `<file>/src/bnetd/connection.h`/ |
| 27 | # include "channel.h"cxx . . $ `<file>/src/bnetd/channel.h`/ |
| 28 | # include "common/tag.h"cxx . . $ `<file>/src/common/tag.h`/ |
| 29 | # include "common/elist.h"cxx . . $ `<file>/src/common/elist.h`/ |
| 30 | #else |
| 31 | # define JUST_NEED_TYPEScxx . . $ `src/bnetd/game.h:31:10`! |
| 32 | # include "account.h"cxx . . $ `<file>/src/bnetd/account.h`/ |
| 33 | # include "connection.h"cxx . . $ `<file>/src/bnetd/connection.h`/ |
| 34 | # include "channel.h"cxx . . $ `<file>/src/bnetd/channel.h`/ |
| 35 | # include "common/tag.h"cxx . . $ `<file>/src/common/tag.h`/ |
| 36 | # include "common/elist.h"cxx . . $ `<file>/src/common/elist.h`/ |
| 37 | # undef JUST_NEED_TYPEScxx . . $ `src/bnetd/game.h:31:10`! |
| 38 | #endif |
| 39 | |
| 40 | #endif |
| 41 | |
| 42 | namespace pvpgncxx . . $ pvpgn/ |
| 43 | { |
| 44 | |
| 45 | namespace bnetdcxx . . $ pvpgn/bnetd/ |
| 46 | { |
| 47 | |
| 48 | typedef enumcxx . . $ pvpgn/bnetd/$anonymous_type_35a405f7d67c158_0# |
| 49 | { |
| 50 | game_type_nonecxx . . $ pvpgn/bnetd/game_type_none., |
| 51 | game_type_allcxx . . $ pvpgn/bnetd/game_type_all., |
| 52 | game_type_topvbotcxx . . $ pvpgn/bnetd/game_type_topvbot., |
| 53 | game_type_meleecxx . . $ pvpgn/bnetd/game_type_melee., |
| 54 | game_type_ffacxx . . $ pvpgn/bnetd/game_type_ffa., |
| 55 | game_type_oneononecxx . . $ pvpgn/bnetd/game_type_oneonone., |
| 56 | game_type_ctfcxx . . $ pvpgn/bnetd/game_type_ctf., |
| 57 | game_type_greedcxx . . $ pvpgn/bnetd/game_type_greed., |
| 58 | game_type_slaughtercxx . . $ pvpgn/bnetd/game_type_slaughter., |
| 59 | game_type_sdeathcxx . . $ pvpgn/bnetd/game_type_sdeath., |
| 60 | game_type_laddercxx . . $ pvpgn/bnetd/game_type_ladder., |
| 61 | game_type_ironmancxx . . $ pvpgn/bnetd/game_type_ironman., |
| 62 | game_type_mapsetcxx . . $ pvpgn/bnetd/game_type_mapset., |
| 63 | game_type_teammeleecxx . . $ pvpgn/bnetd/game_type_teammelee., |
| 64 | game_type_teamffacxx . . $ pvpgn/bnetd/game_type_teamffa., |
| 65 | game_type_teamctfcxx . . $ pvpgn/bnetd/game_type_teamctf., |
| 66 | game_type_pglcxx . . $ pvpgn/bnetd/game_type_pgl., |
| 67 | game_type_diablocxx . . $ pvpgn/bnetd/game_type_diablo., |
| 68 | game_type_diablo2opencxx . . $ pvpgn/bnetd/game_type_diablo2open., |
| 69 | game_type_diablo2closedcxx . . $ pvpgn/bnetd/game_type_diablo2closed., |
| 70 | game_type_anongamecxx . . $ pvpgn/bnetd/game_type_anongame. |
| 71 | } t_game_typecxx . . $ pvpgn/bnetd/t_game_type#; |
| 72 | |
| 73 | typedef enumcxx . . $ pvpgn/bnetd/$anonymous_type_35a405f7d67c158_1# |
| 74 | { |
| 75 | game_status_startedcxx . . $ pvpgn/bnetd/game_status_started., |
| 76 | game_status_fullcxx . . $ pvpgn/bnetd/game_status_full., |
| 77 | game_status_opencxx . . $ pvpgn/bnetd/game_status_open., |
| 78 | game_status_loadedcxx . . $ pvpgn/bnetd/game_status_loaded., |
| 79 | game_status_donecxx . . $ pvpgn/bnetd/game_status_done. |
| 80 | } t_game_statuscxx . . $ pvpgn/bnetd/t_game_status#; |
| 81 | |
| 82 | typedef enumcxx . . $ pvpgn/bnetd/$anonymous_type_35a405f7d67c158_2# |
| 83 | { |
| 84 | game_result_nonecxx . . $ pvpgn/bnetd/game_result_none., |
| 85 | game_result_wincxx . . $ pvpgn/bnetd/game_result_win., |
| 86 | game_result_losscxx . . $ pvpgn/bnetd/game_result_loss., |
| 87 | game_result_drawcxx . . $ pvpgn/bnetd/game_result_draw., |
| 88 | game_result_disconnectcxx . . $ pvpgn/bnetd/game_result_disconnect., |
| 89 | game_result_observercxx . . $ pvpgn/bnetd/game_result_observer., |
| 90 | game_result_playingcxx . . $ pvpgn/bnetd/game_result_playing. |
| 91 | } t_game_resultcxx . . $ pvpgn/bnetd/t_game_result#; |
| 92 | |
| 93 | typedef enumcxx . . $ pvpgn/bnetd/$anonymous_type_35a405f7d67c158_3# |
| 94 | { |
| 95 | game_option_nonecxx . . $ pvpgn/bnetd/game_option_none., |
| 96 | game_option_melee_normalcxx . . $ pvpgn/bnetd/game_option_melee_normal., |
| 97 | game_option_ffa_normalcxx . . $ pvpgn/bnetd/game_option_ffa_normal., |
| 98 | game_option_oneonone_normalcxx . . $ pvpgn/bnetd/game_option_oneonone_normal., |
| 99 | game_option_ctf_normalcxx . . $ pvpgn/bnetd/game_option_ctf_normal., |
| 100 | game_option_greed_10000cxx . . $ pvpgn/bnetd/game_option_greed_10000., |
| 101 | game_option_greed_7500cxx . . $ pvpgn/bnetd/game_option_greed_7500., |
| 102 | game_option_greed_5000cxx . . $ pvpgn/bnetd/game_option_greed_5000., |
| 103 | game_option_greed_2500cxx . . $ pvpgn/bnetd/game_option_greed_2500., |
| 104 | game_option_slaughter_60cxx . . $ pvpgn/bnetd/game_option_slaughter_60., |
| 105 | game_option_slaughter_45cxx . . $ pvpgn/bnetd/game_option_slaughter_45., |
| 106 | game_option_slaughter_30cxx . . $ pvpgn/bnetd/game_option_slaughter_30., |
| 107 | game_option_slaughter_15cxx . . $ pvpgn/bnetd/game_option_slaughter_15., |
| 108 | game_option_sdeath_normalcxx . . $ pvpgn/bnetd/game_option_sdeath_normal., |
| 109 | game_option_ladder_countaslosscxx . . $ pvpgn/bnetd/game_option_ladder_countasloss., |
| 110 | game_option_ladder_nopenaltycxx . . $ pvpgn/bnetd/game_option_ladder_nopenalty., |
| 111 | game_option_mapset_normalcxx . . $ pvpgn/bnetd/game_option_mapset_normal., |
| 112 | game_option_teammelee_4cxx . . $ pvpgn/bnetd/game_option_teammelee_4., |
| 113 | game_option_teammelee_3cxx . . $ pvpgn/bnetd/game_option_teammelee_3., |
| 114 | game_option_teammelee_2cxx . . $ pvpgn/bnetd/game_option_teammelee_2., |
| 115 | game_option_teamffa_4cxx . . $ pvpgn/bnetd/game_option_teamffa_4., |
| 116 | game_option_teamffa_3cxx . . $ pvpgn/bnetd/game_option_teamffa_3., |
| 117 | game_option_teamffa_2cxx . . $ pvpgn/bnetd/game_option_teamffa_2., |
| 118 | game_option_teamctf_4cxx . . $ pvpgn/bnetd/game_option_teamctf_4., |
| 119 | game_option_teamctf_3cxx . . $ pvpgn/bnetd/game_option_teamctf_3., |
| 120 | game_option_teamctf_2cxx . . $ pvpgn/bnetd/game_option_teamctf_2., |
| 121 | game_option_topvbot_7cxx . . $ pvpgn/bnetd/game_option_topvbot_7., |
| 122 | game_option_topvbot_6cxx . . $ pvpgn/bnetd/game_option_topvbot_6., |
| 123 | game_option_topvbot_5cxx . . $ pvpgn/bnetd/game_option_topvbot_5., |
| 124 | game_option_topvbot_4cxx . . $ pvpgn/bnetd/game_option_topvbot_4., |
| 125 | game_option_topvbot_3cxx . . $ pvpgn/bnetd/game_option_topvbot_3., |
| 126 | game_option_topvbot_2cxx . . $ pvpgn/bnetd/game_option_topvbot_2., |
| 127 | game_option_topvbot_1cxx . . $ pvpgn/bnetd/game_option_topvbot_1. |
| 128 | } t_game_optioncxx . . $ pvpgn/bnetd/t_game_option#; |
| 129 | |
| 130 | typedef enumcxx . . $ pvpgn/bnetd/$anonymous_type_35a405f7d67c158_4# |
| 131 | { |
| 132 | game_maptype_nonecxx . . $ pvpgn/bnetd/game_maptype_none., |
| 133 | game_maptype_selfmadecxx . . $ pvpgn/bnetd/game_maptype_selfmade., |
| 134 | game_maptype_blizzardcxx . . $ pvpgn/bnetd/game_maptype_blizzard., |
| 135 | game_maptype_laddercxx . . $ pvpgn/bnetd/game_maptype_ladder., |
| 136 | game_maptype_pglcxx . . $ pvpgn/bnetd/game_maptype_pgl., |
| 137 | game_maptype_kbkcxx . . $ pvpgn/bnetd/game_maptype_kbk., |
| 138 | game_maptype_compusacxx . . $ pvpgn/bnetd/game_maptype_compusa. |
| 139 | } t_game_maptypecxx . . $ pvpgn/bnetd/t_game_maptype#; |
| 140 | |
| 141 | typedef enumcxx . . $ pvpgn/bnetd/$anonymous_type_35a405f7d67c158_5# |
| 142 | { |
| 143 | game_tileset_nonecxx . . $ pvpgn/bnetd/game_tileset_none., |
| 144 | game_tileset_badlandscxx . . $ pvpgn/bnetd/game_tileset_badlands., |
| 145 | game_tileset_spacecxx . . $ pvpgn/bnetd/game_tileset_space., |
| 146 | game_tileset_installationcxx . . $ pvpgn/bnetd/game_tileset_installation., |
| 147 | game_tileset_ashworldcxx . . $ pvpgn/bnetd/game_tileset_ashworld., |
| 148 | game_tileset_junglecxx . . $ pvpgn/bnetd/game_tileset_jungle., |
| 149 | game_tileset_desertcxx . . $ pvpgn/bnetd/game_tileset_desert., |
| 150 | game_tileset_icecxx . . $ pvpgn/bnetd/game_tileset_ice., |
| 151 | game_tileset_twilightcxx . . $ pvpgn/bnetd/game_tileset_twilight. |
| 152 | } t_game_tilesetcxx . . $ pvpgn/bnetd/t_game_tileset#; |
| 153 | |
| 154 | typedef enumcxx . . $ pvpgn/bnetd/$anonymous_type_35a405f7d67c158_6# |
| 155 | { |
| 156 | game_speed_nonecxx . . $ pvpgn/bnetd/game_speed_none., |
| 157 | game_speed_slowestcxx . . $ pvpgn/bnetd/game_speed_slowest., |
| 158 | game_speed_slowercxx . . $ pvpgn/bnetd/game_speed_slower., |
| 159 | game_speed_slowcxx . . $ pvpgn/bnetd/game_speed_slow., |
| 160 | game_speed_normalcxx . . $ pvpgn/bnetd/game_speed_normal., |
| 161 | game_speed_fastcxx . . $ pvpgn/bnetd/game_speed_fast., |
| 162 | game_speed_fastercxx . . $ pvpgn/bnetd/game_speed_faster., |
| 163 | game_speed_fastestcxx . . $ pvpgn/bnetd/game_speed_fastest. |
| 164 | } t_game_speedcxx . . $ pvpgn/bnetd/t_game_speed#; |
| 165 | |
| 166 | typedef enumcxx . . $ pvpgn/bnetd/$anonymous_type_35a405f7d67c158_7# |
| 167 | { |
| 168 | game_difficulty_nonecxx . . $ pvpgn/bnetd/game_difficulty_none., |
| 169 | game_difficulty_normalcxx . . $ pvpgn/bnetd/game_difficulty_normal., |
| 170 | game_difficulty_nightmarecxx . . $ pvpgn/bnetd/game_difficulty_nightmare., |
| 171 | game_difficulty_hellcxx . . $ pvpgn/bnetd/game_difficulty_hell., |
| 172 | game_difficulty_hardcore_normalcxx . . $ pvpgn/bnetd/game_difficulty_hardcore_normal., |
| 173 | game_difficulty_hardcore_nightmarecxx . . $ pvpgn/bnetd/game_difficulty_hardcore_nightmare., |
| 174 | game_difficulty_hardcore_hellcxx . . $ pvpgn/bnetd/game_difficulty_hardcore_hell. |
| 175 | } t_game_difficultycxx . . $ pvpgn/bnetd/t_game_difficulty#; |
| 176 | |
| 177 | typedef enumcxx . . $ pvpgn/bnetd/$anonymous_type_35a405f7d67c158_8# { |
| 178 | game_flag_nonecxx . . $ pvpgn/bnetd/game_flag_none., |
| 179 | game_flag_privatecxx . . $ pvpgn/bnetd/game_flag_private. |
| 180 | } t_game_flagcxx . . $ pvpgn/bnetd/t_game_flag#; |
| 181 | |
| 182 | |
| 183 | typedef enumcxx . . $ pvpgn/bnetd/$anonymous_type_35a405f7d67c158_9# |
| 184 | { |
| 185 | gamelist_source_nonecxx . . $ pvpgn/bnetd/gamelist_source_none., |
| 186 | gamelist_source_joinbuttoncxx . . $ pvpgn/bnetd/gamelist_source_joinbutton. /* show gamelist when user clicks "Join" button */ |
| 187 | } t_gamelist_source_typecxx . . $ pvpgn/bnetd/t_gamelist_source_type#; |
| 188 | |
| 189 | typedef struct gamecxx . . $ pvpgn/bnetd/game# |
| 190 | #ifdef GAME_INTERNAL_ACCESScxx . . $ `src/bnetd/game_conv.cpp:19:9`! |
| 191 | { |
| 192 | char const * namecxx . . $ pvpgn/bnetd/game#name.; |
| 193 | char const * passcxx . . $ pvpgn/bnetd/game#pass.; |
| 194 | char const * infocxx . . $ pvpgn/bnetd/game#info.; |
| 195 | t_game_typecxx . . $ pvpgn/bnetd/t_game_type# typecxx . . $ pvpgn/bnetd/game#type.; |
| 196 | unsigned int realmcxx . . $ pvpgn/bnetd/game#realm.; |
| 197 | char const * realmnamecxx . . $ pvpgn/bnetd/game#realmname.; |
| 198 | t_clienttagcxx . . $ pvpgn/t_clienttag# clienttagcxx . . $ pvpgn/bnetd/game#clienttag.; /* type of client (STAR, SEXP, etc) */ |
| 199 | unsigned int addrcxx . . $ pvpgn/bnetd/game#addr.; /* host IP */ |
| 200 | unsigned short portcxx . . $ pvpgn/bnetd/game#port.; /* host port */ |
| 201 | int startvercxx . . $ pvpgn/bnetd/game#startver.; |
| 202 | unsigned long versioncxx . . $ pvpgn/bnetd/game#version.; |
| 203 | t_game_statuscxx . . $ pvpgn/bnetd/t_game_status# statuscxx . . $ pvpgn/bnetd/game#status.; |
| 204 | unsigned int refcxx . . $ pvpgn/bnetd/game#ref.; /* current number of players */ |
| 205 | unsigned int countcxx . . $ pvpgn/bnetd/game#count.; /* max number of players */ |
| 206 | unsigned int idcxx . . $ pvpgn/bnetd/game#id.; |
| 207 | char const * mapnamecxx . . $ pvpgn/bnetd/game#mapname.; |
| 208 | t_game_optioncxx . . $ pvpgn/bnetd/t_game_option# optioncxx . . $ pvpgn/bnetd/game#option.; |
| 209 | t_game_maptypecxx . . $ pvpgn/bnetd/t_game_maptype# maptypecxx . . $ pvpgn/bnetd/game#maptype.; |
| 210 | t_game_tilesetcxx . . $ pvpgn/bnetd/t_game_tileset# tilesetcxx . . $ pvpgn/bnetd/game#tileset.; |
| 211 | t_game_speedcxx . . $ pvpgn/bnetd/t_game_speed# speedcxx . . $ pvpgn/bnetd/game#speed.; |
| 212 | unsigned int mapsize_xcxx . . $ pvpgn/bnetd/game#mapsize_x.; |
| 213 | unsigned int mapsize_ycxx . . $ pvpgn/bnetd/game#mapsize_y.; |
| 214 | unsigned int maxplayerscxx . . $ pvpgn/bnetd/game#maxplayers.; |
| 215 | |
| 216 | t_connection * ownercxx . . $ pvpgn/bnetd/game#owner.; |
| 217 | t_connection * * connectionscxx . . $ pvpgn/bnetd/game#connections.; |
| 218 | t_accountcxx . . $ pvpgn/bnetd/t_account# * * playerscxx . . $ pvpgn/bnetd/game#players.; |
| 219 | t_game_resultcxx . . $ pvpgn/bnetd/t_game_result# * resultscxx . . $ pvpgn/bnetd/game#results.; |
| 220 | t_game_resultcxx . . $ pvpgn/bnetd/t_game_result# * * reported_resultscxx . . $ pvpgn/bnetd/game#reported_results.; |
| 221 | char const * * report_headscxx . . $ pvpgn/bnetd/game#report_heads.; |
| 222 | char const * * report_bodiescxx . . $ pvpgn/bnetd/game#report_bodies.; |
| 223 | |
| 224 | t_channelcxx . . $ pvpgn/bnetd/t_channel# * channelcxx . . $ pvpgn/bnetd/game#channel.; /* For Games with server-side chat support */ |
| 225 | |
| 226 | stdcxx . . $ std/::time_tcxx . . $ std/time_t# create_timecxx . . $ pvpgn/bnetd/game#create_time.; |
| 227 | stdcxx . . $ std/::time_tcxx . . $ std/time_t# start_timecxx . . $ pvpgn/bnetd/game#start_time.; |
| 228 | stdcxx . . $ std/::time_tcxx . . $ std/time_t# lastaccess_timecxx . . $ pvpgn/bnetd/game#lastaccess_time.; |
| 229 | int badcxx . . $ pvpgn/bnetd/game#bad.; /* if 1, then the results will be ignored */ |
| 230 | unsigned difficultycxx . . $ pvpgn/bnetd/game#difficulty.; |
| 231 | char const * descriptioncxx . . $ pvpgn/bnetd/game#description.; |
| 232 | t_game_flagcxx . . $ pvpgn/bnetd/t_game_flag# flagcxx . . $ pvpgn/bnetd/game#flag.; |
| 233 | t_elistcxx . . $ pvpgn/t_elist# glist_linkcxx . . $ pvpgn/bnetd/game#glist_link.; |
| 234 | } |
| 235 | #endif |
| 236 | t_gamecxx . . $ pvpgn/bnetd/t_game#; |
| 237 | |
| 238 | typedef int(*t_glist_funccxx . . $ pvpgn/bnetd/t_glist_func#)(t_gamecxx . . $ pvpgn/bnetd/t_game# *, void *); |
| 239 | |
| 240 | } |
| 241 | } |
| 242 | |
| 243 | #endif |
| 244 | |
| 245 | |
| 246 | #ifndef JUST_NEED_TYPEScxx . . $ `src/bnetd/game_conv.h:25:9`! |
| 247 | #ifndef INCLUDED_GAME_PROTOS |
| 248 | #define INCLUDED_GAME_PROTOScxx . . $ `src/bnetd/game.h:248:9`! |
| 249 | |
| 250 | #define MAX_GAME_EMPTY_TIMEcxx . . $ `src/bnetd/game.h:250:9`! 300 |
| 251 | #define STARTVER_UNKNOWNcxx . . $ `src/bnetd/game.h:251:9`! 0 |
| 252 | #define STARTVER_GW1cxx . . $ `src/bnetd/game.h:252:9`! 1 |
| 253 | #define STARTVER_GW3cxx . . $ `src/bnetd/game.h:253:9`! 3 |
| 254 | #define STARTVER_GW4cxx . . $ `src/bnetd/game.h:254:9`! 4 |
| 255 | #define STARTVER_REALM1cxx . . $ `src/bnetd/game.h:255:9`! 104 |
| 256 | |
| 257 | #define JUST_NEED_TYPEScxx . . $ `src/bnetd/game.h:257:9`! |
| 258 | #include "account.h"cxx . . $ `<file>/src/bnetd/account.h`/ |
| 259 | #include "connection.h"cxx . . $ `<file>/src/bnetd/connection.h`/ |
| 260 | #include "channel.h"cxx . . $ `<file>/src/bnetd/channel.h`/ |
| 261 | #include "common/list.h"cxx . . $ `<file>/src/common/list.h`/ |
| 262 | #include "common/tag.h"cxx . . $ `<file>/src/common/tag.h`/ |
| 263 | #include "common/packet.h"cxx . . $ `<file>/src/common/packet.h`/ |
| 264 | #undef JUST_NEED_TYPEScxx . . $ `src/bnetd/game.h:257:9`! |
| 265 | |
| 266 | namespace pvpgncxx . . $ pvpgn/ |
| 267 | { |
| 268 | |
| 269 | namespace bnetdcxx . . $ pvpgn/bnetd/ |
| 270 | { |
| 271 | // game list structure with custom data |
| 272 | struct glist_cbdatacxx . . $ pvpgn/bnetd/glist_cbdata# { |
| 273 | unsigned tcountcxx . . $ pvpgn/bnetd/glist_cbdata#tcount., countercxx . . $ pvpgn/bnetd/glist_cbdata#counter.; |
| 274 | t_connectioncxx . . $ pvpgn/bnetd/t_connection# *ccxx . . $ pvpgn/bnetd/glist_cbdata#c.; |
| 275 | t_game_typecxx . . $ pvpgn/bnetd/t_game_type# gtypecxx . . $ pvpgn/bnetd/glist_cbdata#gtype.; |
| 276 | t_packetcxx . . $ pvpgn/t_packet# *rpacketcxx . . $ pvpgn/bnetd/glist_cbdata#rpacket.; |
| 277 | }; |
| 278 | |
| 279 | extern char const * game_type_get_strcxx . . $ pvpgn/bnetd/game_type_get_str(99410026be00fa29).(t_game_typecxx . . $ pvpgn/bnetd/t_game_type# type); |
| 280 | extern char const * game_status_get_strcxx . . $ pvpgn/bnetd/game_status_get_str(919d871ac64ee540).(t_game_statuscxx . . $ pvpgn/bnetd/t_game_status# status); |
| 281 | extern char const * game_result_get_strcxx . . $ pvpgn/bnetd/game_result_get_str(517f369a4a167f85).(t_game_resultcxx . . $ pvpgn/bnetd/t_game_result# result); |
| 282 | extern char const * game_option_get_strcxx . . $ pvpgn/bnetd/game_option_get_str(e828d4f1344dfcc).(t_game_optioncxx . . $ pvpgn/bnetd/t_game_option# option); |
| 283 | extern char const * game_maptype_get_strcxx . . $ pvpgn/bnetd/game_maptype_get_str(1e9597ee27ef5802).(t_game_maptypecxx . . $ pvpgn/bnetd/t_game_maptype# maptype); |
| 284 | extern char const * game_tileset_get_strcxx . . $ pvpgn/bnetd/game_tileset_get_str(ad8e0289366c942d).(t_game_tilesetcxx . . $ pvpgn/bnetd/t_game_tileset# tileset); |
| 285 | extern char const * game_speed_get_strcxx . . $ pvpgn/bnetd/game_speed_get_str(9b098fefc635a97d).(t_game_speedcxx . . $ pvpgn/bnetd/t_game_speed# speed); |
| 286 | extern char const * game_difficulty_get_strcxx . . $ pvpgn/bnetd/game_difficulty_get_str(81a3ae90da26a711).(unsigned difficulty); |
| 287 | extern t_gamecxx . . $ pvpgn/bnetd/t_game# * game_createcxx . . $ pvpgn/bnetd/game_create(75b438a61efed074).(char const * name, char const * pass, char const * info, t_game_typecxx . . $ pvpgn/bnetd/t_game_type# type, int startver, t_clienttagcxx . . $ pvpgn/t_clienttag# clienttag, unsigned long gameversion); |
| 288 | extern unsigned int game_get_idcxx . . $ pvpgn/bnetd/game_get_id(d7b85b5cd2056731).(t_gamecxx . . $ pvpgn/bnetd/t_game# const * game); |
| 289 | extern char const * game_get_namecxx . . $ pvpgn/bnetd/game_get_name(743fb6d1aa411c4e).(t_gamecxx . . $ pvpgn/bnetd/t_game# const * game); |
| 290 | extern t_game_typecxx . . $ pvpgn/bnetd/t_game_type# game_get_typecxx . . $ pvpgn/bnetd/game_get_type(11fe09fff8b42355).(t_gamecxx . . $ pvpgn/bnetd/t_game# const * game); |
| 291 | extern t_game_maptypecxx . . $ pvpgn/bnetd/t_game_maptype# game_get_maptypecxx . . $ pvpgn/bnetd/game_get_maptype(8b14781ac714f1ed).(t_gamecxx . . $ pvpgn/bnetd/t_game# const * game); |
| 292 | extern int game_set_maptypecxx . . $ pvpgn/bnetd/game_set_maptype(86556e9d61246f35).(t_gamecxx . . $ pvpgn/bnetd/t_game# * game, t_game_maptypecxx . . $ pvpgn/bnetd/t_game_maptype# maptype); |
| 293 | extern t_game_tilesetcxx . . $ pvpgn/bnetd/t_game_tileset# game_get_tilesetcxx . . $ pvpgn/bnetd/game_get_tileset(7bb4e32b969fbea2).(t_gamecxx . . $ pvpgn/bnetd/t_game# const * game); |
| 294 | extern int game_set_tilesetcxx . . $ pvpgn/bnetd/game_set_tileset(1f827d4ca92e1d0a).(t_gamecxx . . $ pvpgn/bnetd/t_game# * game, t_game_tilesetcxx . . $ pvpgn/bnetd/t_game_tileset# tileset); |
| 295 | extern t_game_speedcxx . . $ pvpgn/bnetd/t_game_speed# game_get_speedcxx . . $ pvpgn/bnetd/game_get_speed(a65d0a6992b2b41).(t_gamecxx . . $ pvpgn/bnetd/t_game# const * game); |
| 296 | extern int game_set_speedcxx . . $ pvpgn/bnetd/game_set_speed(44398f37e1e67e30).(t_gamecxx . . $ pvpgn/bnetd/t_game# * game, t_game_speedcxx . . $ pvpgn/bnetd/t_game_speed# speed); |
| 297 | extern unsigned int game_get_mapsize_xcxx . . $ pvpgn/bnetd/game_get_mapsize_x(d7b85b5cd2056731).(t_gamecxx . . $ pvpgn/bnetd/t_game# const * game); |
| 298 | extern int game_set_mapsize_xcxx . . $ pvpgn/bnetd/game_set_mapsize_x(9a59f4516a0d09ce).(t_gamecxx . . $ pvpgn/bnetd/t_game# * game, unsigned int x); |
| 299 | extern unsigned int game_get_mapsize_ycxx . . $ pvpgn/bnetd/game_get_mapsize_y(d7b85b5cd2056731).(t_gamecxx . . $ pvpgn/bnetd/t_game# const * game); |
| 300 | extern int game_set_mapsize_ycxx . . $ pvpgn/bnetd/game_set_mapsize_y(9a59f4516a0d09ce).(t_gamecxx . . $ pvpgn/bnetd/t_game# * game, unsigned int y); |
| 301 | extern unsigned int game_get_maxplayerscxx . . $ pvpgn/bnetd/game_get_maxplayers(d7b85b5cd2056731).(t_gamecxx . . $ pvpgn/bnetd/t_game# const * game); |
| 302 | extern int game_set_maxplayerscxx . . $ pvpgn/bnetd/game_set_maxplayers(9a59f4516a0d09ce).(t_gamecxx . . $ pvpgn/bnetd/t_game# * game, unsigned int maxplayers); |
| 303 | extern unsigned int game_get_difficultycxx . . $ pvpgn/bnetd/game_get_difficulty(d7b85b5cd2056731).(t_gamecxx . . $ pvpgn/bnetd/t_game# const * game); |
| 304 | extern int game_set_difficultycxx . . $ pvpgn/bnetd/game_set_difficulty(9a59f4516a0d09ce).(t_gamecxx . . $ pvpgn/bnetd/t_game# * game, unsigned int difficulty); |
| 305 | extern char const * game_get_descriptioncxx . . $ pvpgn/bnetd/game_get_description(743fb6d1aa411c4e).(t_gamecxx . . $ pvpgn/bnetd/t_game# const * game); |
| 306 | extern int game_set_descriptioncxx . . $ pvpgn/bnetd/game_set_description(bfbe5c8efad5152b).(t_gamecxx . . $ pvpgn/bnetd/t_game# * game, char const * description); |
| 307 | extern char const * game_get_passcxx . . $ pvpgn/bnetd/game_get_pass(743fb6d1aa411c4e).(t_gamecxx . . $ pvpgn/bnetd/t_game# const * game); |
| 308 | extern char const * game_get_infocxx . . $ pvpgn/bnetd/game_get_info(743fb6d1aa411c4e).(t_gamecxx . . $ pvpgn/bnetd/t_game# const * game); |
| 309 | extern unsigned long game_get_versioncxx . . $ pvpgn/bnetd/game_get_version(c15ff7a60fe5ed41).(t_gamecxx . . $ pvpgn/bnetd/t_game# const * game); |
| 310 | extern int game_get_startvercxx . . $ pvpgn/bnetd/game_get_startver(c7bb0711c87bd298).(t_gamecxx . . $ pvpgn/bnetd/t_game# const * game); |
| 311 | extern unsigned int game_get_refcxx . . $ pvpgn/bnetd/game_get_ref(d7b85b5cd2056731).(t_gamecxx . . $ pvpgn/bnetd/t_game# const * game); |
| 312 | extern unsigned int game_get_countcxx . . $ pvpgn/bnetd/game_get_count(d7b85b5cd2056731).(t_gamecxx . . $ pvpgn/bnetd/t_game# const * game); |
| 313 | extern void game_set_statuscxx . . $ pvpgn/bnetd/game_set_status(5cd08b1f639ba8c2).(t_gamecxx . . $ pvpgn/bnetd/t_game# * game, t_game_statuscxx . . $ pvpgn/bnetd/t_game_status# status); |
| 314 | extern t_game_statuscxx . . $ pvpgn/bnetd/t_game_status# game_get_statuscxx . . $ pvpgn/bnetd/game_get_status(e13bf945064795ea).(t_gamecxx . . $ pvpgn/bnetd/t_game# const * game); |
| 315 | extern unsigned int game_get_addrcxx . . $ pvpgn/bnetd/game_get_addr(d7b85b5cd2056731).(t_gamecxx . . $ pvpgn/bnetd/t_game# const * game); |
| 316 | extern unsigned short game_get_portcxx . . $ pvpgn/bnetd/game_get_port(5675c6bb4f2bafa6).(t_gamecxx . . $ pvpgn/bnetd/t_game# const * game); |
| 317 | extern unsigned int game_get_latencycxx . . $ pvpgn/bnetd/game_get_latency(d7b85b5cd2056731).(t_gamecxx . . $ pvpgn/bnetd/t_game# const * game); |
| 318 | extern t_connectioncxx . . $ pvpgn/bnetd/t_connection# * game_get_player_conncxx . . $ pvpgn/bnetd/game_get_player_conn(da5fb43dd1d11f74).(t_gamecxx . . $ pvpgn/bnetd/t_game# const * game, unsigned int i); |
| 319 | extern t_clienttagcxx . . $ pvpgn/t_clienttag# game_get_clienttagcxx . . $ pvpgn/bnetd/game_get_clienttag(d7b85b5cd2056731).(t_gamecxx . . $ pvpgn/bnetd/t_game# const * game); |
| 320 | extern int game_add_playercxx . . $ pvpgn/bnetd/game_add_player(e78f07273e1755ea).(t_gamecxx . . $ pvpgn/bnetd/t_game# * game, char const * pass, int startver, t_connectioncxx . . $ pvpgn/bnetd/t_connection# * c); |
| 321 | extern int game_del_playercxx . . $ pvpgn/bnetd/game_del_player(28b000dc6317d503).(t_gamecxx . . $ pvpgn/bnetd/t_game# * game, t_connectioncxx . . $ pvpgn/bnetd/t_connection# * c); |
| 322 | extern t_accountcxx . . $ pvpgn/bnetd/t_account# * game_get_playercxx . . $ pvpgn/bnetd/game_get_player(c2a575aa55f70f03).(t_gamecxx . . $ pvpgn/bnetd/t_game# * game, unsigned int i); |
| 323 | extern int game_set_reportcxx . . $ pvpgn/bnetd/game_set_report(656ae8b4ac453ef4).(t_gamecxx . . $ pvpgn/bnetd/t_game# * game, t_accountcxx . . $ pvpgn/bnetd/t_account# * account, char const * head, char const * body); |
| 324 | extern int game_set_reported_resultscxx . . $ pvpgn/bnetd/game_set_reported_results(144eebf375f9509c).(t_gamecxx . . $ pvpgn/bnetd/t_game# * game, t_accountcxx . . $ pvpgn/bnetd/t_account# * account, t_game_resultcxx . . $ pvpgn/bnetd/t_game_result# * results); |
| 325 | extern int game_set_self_reportcxx . . $ pvpgn/bnetd/game_set_self_report(6888f7d335a1cb84).(t_gamecxx . . $ pvpgn/bnetd/t_game# * game, t_accountcxx . . $ pvpgn/bnetd/t_account# * account, t_game_resultcxx . . $ pvpgn/bnetd/t_game_result# result); |
| 326 | extern t_game_resultcxx . . $ pvpgn/bnetd/t_game_result# * game_get_reported_resultscxx . . $ pvpgn/bnetd/game_get_reported_results(8f31a0f2fafd1702).(t_gamecxx . . $ pvpgn/bnetd/t_game# * game, t_accountcxx . . $ pvpgn/bnetd/t_account# * account); |
| 327 | extern char const * game_get_mapnamecxx . . $ pvpgn/bnetd/game_get_mapname(743fb6d1aa411c4e).(t_gamecxx . . $ pvpgn/bnetd/t_game# const * game); |
| 328 | extern int game_set_mapnamecxx . . $ pvpgn/bnetd/game_set_mapname(bfbe5c8efad5152b).(t_gamecxx . . $ pvpgn/bnetd/t_game# * game, char const * mapname); |
| 329 | extern t_connectioncxx . . $ pvpgn/bnetd/t_connection# * game_get_ownercxx . . $ pvpgn/bnetd/game_get_owner(44263c0cd290cfb5).(t_gamecxx . . $ pvpgn/bnetd/t_game# const * game); |
| 330 | extern stdcxx . . $ std/::time_tcxx . . $ std/time_t# game_get_create_timecxx . . $ pvpgn/bnetd/game_get_create_time(57cecc7178e653af).(t_gamecxx . . $ pvpgn/bnetd/t_game# const * game); |
| 331 | extern stdcxx . . $ std/::time_tcxx . . $ std/time_t# game_get_start_timecxx . . $ pvpgn/bnetd/game_get_start_time(57cecc7178e653af).(t_gamecxx . . $ pvpgn/bnetd/t_game# const * game); |
| 332 | extern int game_set_optioncxx . . $ pvpgn/bnetd/game_set_option(ab46a331a84c7de1).(t_gamecxx . . $ pvpgn/bnetd/t_game# * game, t_game_optioncxx . . $ pvpgn/bnetd/t_game_option# option); |
| 333 | extern t_game_optioncxx . . $ pvpgn/bnetd/t_game_option# game_get_optioncxx . . $ pvpgn/bnetd/game_get_option(2988101d1799294b).(t_gamecxx . . $ pvpgn/bnetd/t_game# const * game); |
| 334 | extern int gamelist_createcxx . . $ pvpgn/bnetd/gamelist_create(b126dc7c1de90089).(void); |
| 335 | extern int gamelist_destroycxx . . $ pvpgn/bnetd/gamelist_destroy(b126dc7c1de90089).(void); |
| 336 | extern t_elistcxx . . $ pvpgn/t_elist# * gamelistcxx . . $ pvpgn/bnetd/gamelist(c54ebe965c4fa87d).(void); |
| 337 | extern int gamelist_get_lengthcxx . . $ pvpgn/bnetd/gamelist_get_length(b126dc7c1de90089).(void); |
| 338 | extern t_gamecxx . . $ pvpgn/bnetd/t_game# * gamelist_find_gamecxx . . $ pvpgn/bnetd/gamelist_find_game(e383c2f40f0b546f).(char const * name, t_clienttagcxx . . $ pvpgn/t_clienttag# ctag, t_game_typecxx . . $ pvpgn/bnetd/t_game_type# type); |
| 339 | extern t_gamecxx . . $ pvpgn/bnetd/t_game# * gamelist_find_game_availablecxx . . $ pvpgn/bnetd/gamelist_find_game_available(e383c2f40f0b546f).(char const * name, t_clienttagcxx . . $ pvpgn/t_clienttag# ctag, t_game_typecxx . . $ pvpgn/bnetd/t_game_type# type); |
| 340 | extern t_gamecxx . . $ pvpgn/bnetd/t_game# * gamelist_find_game_byidcxx . . $ pvpgn/bnetd/gamelist_find_game_byid(8fdfbde43a4a6523).(unsigned int id); |
| 341 | extern void gamelist_traversecxx . . $ pvpgn/bnetd/gamelist_traverse(c7b2023d64399da8).(t_glist_funccxx . . $ pvpgn/bnetd/t_glist_func# cb, void *data, t_gamelist_source_typecxx . . $ pvpgn/bnetd/t_gamelist_source_type#); |
| 342 | extern int gamelist_total_gamescxx . . $ pvpgn/bnetd/gamelist_total_games(b126dc7c1de90089).(void); |
| 343 | extern int game_set_realmcxx . . $ pvpgn/bnetd/game_set_realm(9a59f4516a0d09ce).(t_gamecxx . . $ pvpgn/bnetd/t_game# * game, unsigned int realm); |
| 344 | extern unsigned int game_get_realmcxx . . $ pvpgn/bnetd/game_get_realm(d7b85b5cd2056731).(t_gamecxx . . $ pvpgn/bnetd/t_game# const * game); |
| 345 | extern char const * game_get_realmnamecxx . . $ pvpgn/bnetd/game_get_realmname(743fb6d1aa411c4e).(t_gamecxx . . $ pvpgn/bnetd/t_game# const * game); |
| 346 | extern int game_set_realmnamecxx . . $ pvpgn/bnetd/game_set_realmname(bfbe5c8efad5152b).(t_gamecxx . . $ pvpgn/bnetd/t_game# * game, char const * realmname); |
| 347 | extern void gamelist_check_voidgamecxx . . $ pvpgn/bnetd/gamelist_check_voidgame(49f6e7a06ebc5aa8).(void); |
| 348 | extern void game_set_flagcxx . . $ pvpgn/bnetd/game_set_flag(3b1c59db3f21a39f).(t_gamecxx . . $ pvpgn/bnetd/t_game# * game, t_game_flagcxx . . $ pvpgn/bnetd/t_game_flag# flag); |
| 349 | extern t_game_flagcxx . . $ pvpgn/bnetd/t_game_flag# game_get_flagcxx . . $ pvpgn/bnetd/game_get_flag(98b2c43fe55f6682).(t_gamecxx . . $ pvpgn/bnetd/t_game# const * game); |
| 350 | extern int game_get_count_by_clienttagcxx . . $ pvpgn/bnetd/game_get_count_by_clienttag(4c679297bf94b9eb).(t_clienttagcxx . . $ pvpgn/t_clienttag# ct); |
| 351 | extern int game_is_laddercxx . . $ pvpgn/bnetd/game_is_ladder(7ab38d5cc74e6b21).(t_gamecxx . . $ pvpgn/bnetd/t_game# *game); |
| 352 | extern int game_discislosscxx . . $ pvpgn/bnetd/game_discisloss(7ab38d5cc74e6b21).(t_gamecxx . . $ pvpgn/bnetd/t_game# *game); |
| 353 | extern int game_set_channelcxx . . $ pvpgn/bnetd/game_set_channel(d0d97163e3994052).(t_gamecxx . . $ pvpgn/bnetd/t_game# * game, t_channelcxx . . $ pvpgn/bnetd/t_channel# * channel); |
| 354 | extern t_channelcxx . . $ pvpgn/bnetd/t_channel# * game_get_channelcxx . . $ pvpgn/bnetd/game_get_channel(7d1a4b3311a97356).(t_gamecxx . . $ pvpgn/bnetd/t_game# * game); |
| 355 | } |
| 356 | |
| 357 | } |
| 358 | |
| 359 | #endif |
| 360 | #endif |