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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1.1.1 - (hide annotations) (vendor branch)
Tue Jun 6 03:41:37 2006 UTC (19 years, 9 months ago) by sysadm
Branch: GNU, MAIN
CVS Tags: pvpgn_1-7-4-0_MIL, arelease, HEAD
Changes since 1.1: +0 -0 lines
Content type: text/x-chdr
no message

1 sysadm 1.1 /*
2     * Copyright (C) 2004 CreepLord (creeplord@pvpgn.org)
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     #ifndef INCLUDED_ANONGAME_MAPLISTS_TYPES
19     #define INCLUDED_ANONGAME_MAPLISTS_TYPES
20    
21     #endif
22    
23     /*****/
24     #ifndef JUST_NEED_TYPES
25     #ifndef INCLUDED_ANONGAME_MAPLISTS_PROTOS
26     #define INCLUDED_ANONGAME_MAPLISTS_PROTOS
27    
28     #define JUST_NEED_TYPES
29     #include "common/packet.h"
30     #undef JUST_NEED_TYPES
31    
32     extern int anongame_maplists_create(void);
33     extern void anongame_maplists_destroy(void);
34    
35     extern int maplists_get_totalmaps(t_clienttag clienttag);
36     extern int maplists_get_totalmaps_by_queue(t_clienttag clienttag, int queue);
37    
38     extern void maplists_add_maps_to_packet(t_packet * packet, t_clienttag clienttag);
39     extern void maplists_add_map_info_to_packet(t_packet * rpacket, t_clienttag clienttag, int queue);
40    
41     extern char * maplists_get_map(int queue, t_clienttag clienttag, int mapnumber);
42    
43     extern int anongame_add_tournament_map(t_clienttag clienttag, char * mapname);
44     extern void anongame_tournament_maplists_destroy(void);
45    
46     #endif
47     #endif

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