Crossfire Client, Branches  R11627
x11.h
Go to the documentation of this file.
1 /*
2  * static char *rcsid_x11_h =
3  * "$Id: x11.h 4963 2006-09-21 05:50:22Z mwedel $";
4  */
5 /*
6  Crossfire client, a client program for the crossfire program.
7 
8  Copyright (C) 2001 Mark Wedel & Crossfire Development Team
9 
10  This program is free software; you can redistribute it and/or modify
11  it under the terms of the GNU General Public License as published by
12  the Free Software Foundation; either version 2 of the License, or
13  (at your option) any later version.
14 
15  This program is distributed in the hope that it will be useful,
16  but WITHOUT ANY WARRANTY; without even the implied warranty of
17  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18  GNU General Public License for more details.
19 
20  You should have received a copy of the GNU General Public License
21  along with this program; if not, write to the Free Software
22  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
23 
24  The author can be reached via e-mail to crossfire-devel@real-time.com
25 */
26 
27 #ifndef GX11_H
28 #define GX11_H
29 
30 #include "client-types.h"
31 
32 extern int map_size;
33 extern uint8 updatekeycodes;
34 extern int updatelock;
35 
36 struct PixmapInfo {
37  Pixmap pixmap,mask;
38  uint8 width, height; /* size of pixmap in tiles */
39 };
40 
41 extern struct PixmapInfo *pixmaps[MAXPIXMAPNUM];
42 extern Display *display;
43 extern uint8 image_size;
44 extern Window win_root,win_game;
45 extern GC gc_game;
46 extern Colormap colormap;
47 extern Window win_stats,win_message;
48 
49 
50 #endif
Pixmap pixmap
Definition: x11.h:37
#define MAXPIXMAPNUM
Definition: client.h:470
int map_size
uint8 height
Definition: x11.h:38
Window win_stats
Definition: x11.c:188
Pixmap mask
Definition: x11.h:37
GC gc_game
Definition: x11.c:255
Window win_game
Definition: x11.c:189
uint8 updatekeycodes
Definition: gx11.c:204
Display * display
Definition: x11.c:184
Window win_message
Definition: x11.c:188
uint8 image_size
Definition: gx11.c:116
uint8 width
Definition: x11.h:38
unsigned char uint8
Definition: client-types.h:81
Window win_root
Definition: x11.c:189
struct PixmapInfo * pixmaps[MAXPIXMAPNUM]
Definition: gx11.c:118
int updatelock
Definition: gx11.c:310
Colormap colormap
Definition: x11.c:190