Crossfire Client, Branches  R11627
image.h
Go to the documentation of this file.
1 /*
2  * char *rcsid_gtk2_image_h =
3  * "$Id: image.h 9192 2008-06-01 14:19:23Z anmaster $";
4  */
5 
6 /*
7  Crossfire client, a client program for the crossfire program.
8 
9  Copyright (C) 2005 Mark Wedel & Crossfire Development Team
10 
11  This program is free software; you can redistribute it and/or modify
12  it under the terms of the GNU General Public License as published by
13  the Free Software Foundation; either version 2 of the License, or
14  (at your option) any later version.
15 
16  This program is distributed in the hope that it will be useful,
17  but WITHOUT ANY WARRANTY; without even the implied warranty of
18  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19  GNU General Public License for more details.
20 
21  You should have received a copy of the GNU General Public License
22  along with this program; if not, write to the Free Software
23  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
24 
25  The author can be reached via e-mail to crossfire@metalforge.org
26 */
27 
40 #define DEFAULT_IMAGE_SIZE 32
41 #define MAXPIXMAPNUM 10000
42 
43 #ifdef HAVE_OPENGL
44 #include <GL/gl.h>
45 #endif
46 
47 typedef struct PixmapInfo {
48  void *icon_mask, *icon_image;
50  void *map_mask, *map_image;
52  void *fog_image;
54 #ifdef HAVE_OPENGL
55  GLuint map_texture, fog_texture;
56 #endif
57 } PixmapInfo;
58 
uint16 icon_height
Definition: gx11.h:62
void * fog_image
Definition: gx11.h:65
uint16 map_height
Definition: gx11.h:64
uint16 icon_width
Definition: gx11.h:62
void * map_image
Definition: gx11.h:63
void * map_mask
Definition: gx11.h:63
void * icon_image
Definition: gx11.h:61
unsigned short uint16
Definition: client-types.h:79
uint16 smooth_face
Definition: gx11.h:66
PixmapInfo * pixmaps[MAXPIXMAPNUM]
Definition: gx11.c:118
struct PixmapInfo PixmapInfo
#define MAXPIXMAPNUM
Definition: image.h:41
uint16 map_width
Definition: gx11.h:64
void * icon_mask
Definition: gx11.h:61