/[LeafOK_CVS]/pvpgn-1.7.4/src/bnetd/game_conv.h
ViewVC logotype

Annotation of /pvpgn-1.7.4/src/bnetd/game_conv.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations)
Tue Jun 6 03:41:37 2006 UTC (19 years, 9 months ago) by sysadm
Branch point for: GNU, MAIN
Content type: text/x-chdr
Initial revision

1 sysadm 1.1 /*
2     * Copyright (C) 1998,1999,2000 Ross Combs (rocombs@cs.nmsu.edu)
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    
20     /*****/
21     #ifndef JUST_NEED_TYPES
22     #ifndef INCLUDED_GAME_CONV_PROTOS
23     #define INCLUDED_GAME_CONV_PROTOS
24    
25     #define JUST_NEED_TYPES
26     #include "game.h"
27     #undef JUST_NEED_TYPES
28    
29     extern t_game_type bngreqtype_to_gtype(t_clienttag clienttag, unsigned short bngtype) ;
30     extern t_game_type bngtype_to_gtype(t_clienttag clienttag, unsigned short bngtype) ;
31     extern unsigned short gtype_to_bngtype(t_game_type gtype) ;
32     extern t_game_option bngoption_to_goption(t_clienttag clienttag, t_game_type gtype, unsigned short bngoption) ;
33     extern t_game_result bngresult_to_gresult(unsigned int bngresult) ;
34     extern t_game_maptype bngmaptype_to_gmaptype(unsigned int bngmaptype) ;
35     extern t_game_tileset bngtileset_to_gtileset(unsigned int bngtileset) ;
36     extern t_game_speed bngspeed_to_gspeed(unsigned int bngspeed) ;
37     extern t_game_difficulty bngdifficulty_to_gdifficulty(unsigned int bngdifficulty) ;
38     extern int game_parse_info(t_game * game, char const * gameinfo);
39    
40     #endif
41     #endif

webmaster@leafok.com
ViewVC Help
Powered by ViewVC 1.3.0-beta1