| 1 | /* |
| 2 | * Copyright (C) 2008 Pelish ([email protected]) |
| 3 | * |
| 4 | * This program is free software; you can redistribute it and/or |
| 5 | * modify it under the terms of the GNU General Public License |
| 6 | * as published by the Free Software Foundation; either version 2 |
| 7 | * of the License, or (at your option) any later version. |
| 8 | * |
| 9 | * This program is distributed in the hope that it will be useful, |
| 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 12 | * GNU General Public License for more details. |
| 13 | * |
| 14 | * You should have received a copy of the GNU General Public License |
| 15 | * along with this program; if not, write to the Free Software |
| 16 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
| 17 | */ |
| 18 | |
| 19 | #ifndef INCLUDED_ANONGAME_WOL_TYPEScxx . . $ `src/bnetd/anongame_wol.h:20:9`! |
| 20 | #define INCLUDED_ANONGAME_WOL_TYPEScxx . . $ `src/bnetd/anongame_wol.h:20:9`! |
| 21 | |
| 22 | #ifdef ANONGAME_WOL_INTERNAL_ACCESScxx . . $ `src/bnetd/anongame_wol.cpp:19:9`! |
| 23 | |
| 24 | #ifndef JUST_NEED_TYPES |
| 25 | # define JUST_NEED_TYPEScxx . . $ `src/bnetd/anongame_wol.h:25:10`! |
| 26 | # include "connection.h"cxx . . $ `<file>/src/bnetd/connection.h`/ |
| 27 | # undef JUST_NEED_TYPEScxx . . $ `src/bnetd/anongame_wol.h:25:10`! |
| 28 | #endif |
| 29 | |
| 30 | #define MATCHTAG_ADDRESScxx . . $ `src/bnetd/anongame_wol.h:30:9`! "ADR" |
| 31 | #define MATCHTAG_PORTcxx . . $ `src/bnetd/anongame_wol.h:31:9`! "PRT" |
| 32 | #define MATCHTAG_COUNTRYcxx . . $ `src/bnetd/anongame_wol.h:32:9`! "COU" |
| 33 | #define MATCHTAG_COLOURcxx . . $ `src/bnetd/anongame_wol.h:33:9`! "COL" |
| 34 | #define MATCHTAG_MATCHRESOLUTIONcxx . . $ `src/bnetd/anongame_wol.h:34:9`! "MBR" |
| 35 | #define MATCHTAG_LOCATIONcxx . . $ `src/bnetd/anongame_wol.h:35:9`! "LOC" |
| 36 | #define MATCHTAG_SCREENRESOLUTIONcxx . . $ `src/bnetd/anongame_wol.h:36:9`! "RES" |
| 37 | |
| 38 | #define RAL2_CHANNEL_FFAcxx . . $ `src/bnetd/anongame_wol.h:38:9`! "Lob 38 0" |
| 39 | #define YURI_CHANNEL_FFAcxx . . $ `src/bnetd/anongame_wol.h:39:9`! "Lob 40 0" |
| 40 | #define YURI_CHANNEL_COOPcxx . . $ `src/bnetd/anongame_wol.h:40:9`! "Lob 39 0" |
| 41 | |
| 42 | #endif |
| 43 | |
| 44 | namespace pvpgncxx . . $ pvpgn/ |
| 45 | { |
| 46 | |
| 47 | namespace bnetdcxx . . $ pvpgn/bnetd/ |
| 48 | { |
| 49 | |
| 50 | typedef struct anongame_wol_playercxx . . $ pvpgn/bnetd/anongame_wol_player# |
| 51 | #ifdef ANONGAME_WOL_INTERNAL_ACCESScxx . . $ `src/bnetd/anongame_wol.cpp:19:9`! |
| 52 | { |
| 53 | t_connection * conncxx . . $ pvpgn/bnetd/anongame_wol_player#conn.; |
| 54 | |
| 55 | /* Red Alert 2 and Yuri's Revnenge */ |
| 56 | int addresscxx . . $ pvpgn/bnetd/anongame_wol_player#address.; |
| 57 | int portcxx . . $ pvpgn/bnetd/anongame_wol_player#port.; |
| 58 | int countrycxx . . $ pvpgn/bnetd/anongame_wol_player#country.; |
| 59 | int colourcxx . . $ pvpgn/bnetd/anongame_wol_player#colour.; |
| 60 | } |
| 61 | #endif |
| 62 | t_anongame_wol_playercxx . . $ pvpgn/bnetd/t_anongame_wol_player#; |
| 63 | |
| 64 | } |
| 65 | |
| 66 | } |
| 67 | |
| 68 | #endif |
| 69 | |
| 70 | /*******/ |
| 71 | #ifndef JUST_NEED_TYPEScxx . . $ `src/bnetd/connection.h:235:9`! |
| 72 | #ifndef INCLUDED_ANONGAME_WOL_PROTOS |
| 73 | #define INCLUDED_ANONGAME_WOL_PROTOScxx . . $ `src/bnetd/anongame_wol.h:73:9`! |
| 74 | |
| 75 | #define JUST_NEED_TYPEScxx . . $ `src/bnetd/anongame_wol.h:75:9`! |
| 76 | # include "connection.h"cxx . . $ `<file>/src/bnetd/connection.h`/ |
| 77 | #undef JUST_NEED_TYPEScxx . . $ `src/bnetd/anongame_wol.h:75:9`! |
| 78 | |
| 79 | namespace pvpgncxx . . $ pvpgn/ |
| 80 | { |
| 81 | |
| 82 | namespace bnetdcxx . . $ pvpgn/bnetd/ |
| 83 | { |
| 84 | |
| 85 | extern int anongame_wol_matchlist_createcxx . . $ pvpgn/bnetd/anongame_wol_matchlist_create(b126dc7c1de90089).(void); |
| 86 | extern int anongame_wol_matchlist_destroycxx . . $ pvpgn/bnetd/anongame_wol_matchlist_destroy(b126dc7c1de90089).(void); |
| 87 | |
| 88 | extern int anongame_wol_destroycxx . . $ pvpgn/bnetd/anongame_wol_destroy(c4dfbc2386fe4fc3).(t_connectioncxx . . $ pvpgn/bnetd/t_connection# * conn); |
| 89 | extern int anongame_wol_privmsgcxx . . $ pvpgn/bnetd/anongame_wol_privmsg(93df5f0f7c1da4a4).(t_connectioncxx . . $ pvpgn/bnetd/t_connection# * conn, int numparams, char ** params, char * text); |
| 90 | |
| 91 | } |
| 92 | |
| 93 | } |
| 94 | |
| 95 | #endif |
| 96 | #endif |
| 97 |