Crossfire Client, Trunk  R20507
image.h
Go to the documentation of this file.
1 /*
2  * char *rcsid_gtk2_image_h =
3  * "$Id: image.h 20040 2015-11-13 20:28:43Z partmedia $";
4  */
5 
6 /*
7  Crossfire client, a client program for the crossfire program.
8 
9  Copyright (C) 2005-2008,2010 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;
49  GdkPixbuf *icon_image;
53  void *fog_image;
54  guint16 smooth_face;
55 #ifdef HAVE_OPENGL
56  GLuint map_texture, fog_texture;
57 #endif
58 } PixmapInfo;
59 
61 extern int have_new_image;
int have_new_image
Definition: image.c:52
void * fog_image
Definition: image.h:53
void * map_mask
Definition: image.h:51
void * map_image
Definition: image.h:51
guint16 icon_height
Definition: image.h:50
guint16 smooth_face
A face used for smoothing with this face.
Definition: image.h:54
guint16 map_height
Definition: image.h:52
guint16 map_width
Definition: image.h:52
guint16 icon_width
Definition: image.h:50
void * icon_mask
Definition: image.h:48
PixmapInfo * pixmaps[MAXPIXMAPNUM]
Definition: image.c:47
GdkPixbuf * icon_image
Definition: image.h:49
struct PixmapInfo PixmapInfo
#define MAXPIXMAPNUM
Definition: image.h:41