Crossfire Client, Branch  R11627
image.h
Go to the documentation of this file.
00001 /*
00002  * char *rcsid_gtk2_image_h =
00003  *   "$Id: image.h 9192 2008-06-01 14:19:23Z anmaster $";
00004  */
00005 
00006 /*
00007     Crossfire client, a client program for the crossfire program.
00008 
00009     Copyright (C) 2005 Mark Wedel & Crossfire Development Team
00010 
00011     This program is free software; you can redistribute it and/or modify
00012     it under the terms of the GNU General Public License as published by
00013     the Free Software Foundation; either version 2 of the License, or
00014     (at your option) any later version.
00015 
00016     This program is distributed in the hope that it will be useful,
00017     but WITHOUT ANY WARRANTY; without even the implied warranty of
00018     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00019     GNU General Public License for more details.
00020 
00021     You should have received a copy of the GNU General Public License
00022     along with this program; if not, write to the Free Software
00023     Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
00024 
00025     The author can be reached via e-mail to crossfire@metalforge.org
00026 */
00027 
00040 #define DEFAULT_IMAGE_SIZE      32
00041 #define MAXPIXMAPNUM 10000
00042 
00043 #ifdef HAVE_OPENGL
00044 #include <GL/gl.h>
00045 #endif
00046 
00047 typedef struct PixmapInfo {
00048     void        *icon_mask, *icon_image;
00049     uint16      icon_width, icon_height;
00050     void        *map_mask, *map_image;
00051     uint16      map_width, map_height;
00052     void        *fog_image;
00053     uint16      smooth_face;  
00054 #ifdef HAVE_OPENGL
00055     GLuint      map_texture, fog_texture;
00056 #endif
00057 } PixmapInfo;
00058 
00059 extern PixmapInfo *pixmaps[MAXPIXMAPNUM];