Crossfire Client, Branch
R11627
|
00001 /* 00002 * static char *rcsid_x11_h = 00003 * "$Id: x11.h 4963 2006-09-21 05:50:22Z mwedel $"; 00004 */ 00005 /* 00006 Crossfire client, a client program for the crossfire program. 00007 00008 Copyright (C) 2001 Mark Wedel & Crossfire Development Team 00009 00010 This program is free software; you can redistribute it and/or modify 00011 it under the terms of the GNU General Public License as published by 00012 the Free Software Foundation; either version 2 of the License, or 00013 (at your option) any later version. 00014 00015 This program is distributed in the hope that it will be useful, 00016 but WITHOUT ANY WARRANTY; without even the implied warranty of 00017 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00018 GNU General Public License for more details. 00019 00020 You should have received a copy of the GNU General Public License 00021 along with this program; if not, write to the Free Software 00022 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 00023 00024 The author can be reached via e-mail to crossfire-devel@real-time.com 00025 */ 00026 00027 #ifndef GX11_H 00028 #define GX11_H 00029 00030 #include "client-types.h" 00031 00032 extern int map_size; 00033 extern uint8 updatekeycodes; 00034 extern int updatelock; 00035 00036 struct PixmapInfo { 00037 Pixmap pixmap,mask; 00038 uint8 width, height; /* size of pixmap in tiles */ 00039 }; 00040 00041 extern struct PixmapInfo *pixmaps[MAXPIXMAPNUM]; 00042 extern Display *display; 00043 extern uint8 image_size; 00044 extern Window win_root,win_game; 00045 extern GC gc_game; 00046 extern Colormap colormap; 00047 extern Window win_stats,win_message; 00048 00049 00050 #endif