Crossfire Client, Branches
R11627
Main Page
Related Pages
Modules
Data Structures
Files
File List
Globals
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
;
49
uint16
icon_width
,
icon_height
;
50
void
*
map_mask
, *
map_image
;
51
uint16
map_width
,
map_height
;
52
void
*
fog_image
;
53
uint16
smooth_face
;
54
#ifdef HAVE_OPENGL
55
GLuint map_texture, fog_texture;
56
#endif
57
}
PixmapInfo
;
58
59
extern
PixmapInfo
*
pixmaps
[
MAXPIXMAPNUM
];
PixmapInfo
Definition:
gx11.h:60
PixmapInfo::icon_height
uint16 icon_height
Definition:
gx11.h:62
PixmapInfo::fog_image
void * fog_image
Definition:
gx11.h:65
PixmapInfo::map_height
uint16 map_height
Definition:
gx11.h:64
PixmapInfo::icon_width
uint16 icon_width
Definition:
gx11.h:62
PixmapInfo::map_image
void * map_image
Definition:
gx11.h:63
PixmapInfo::map_mask
void * map_mask
Definition:
gx11.h:63
PixmapInfo::icon_image
void * icon_image
Definition:
gx11.h:61
uint16
unsigned short uint16
Definition:
client-types.h:79
PixmapInfo::smooth_face
uint16 smooth_face
Definition:
gx11.h:66
pixmaps
PixmapInfo * pixmaps[MAXPIXMAPNUM]
Definition:
gx11.c:118
PixmapInfo
struct PixmapInfo PixmapInfo
MAXPIXMAPNUM
#define MAXPIXMAPNUM
Definition:
image.h:41
PixmapInfo::map_width
uint16 map_width
Definition:
gx11.h:64
PixmapInfo::icon_mask
void * icon_mask
Definition:
gx11.h:61
crossfire-code
client
branches
1.12
gtk-v2
src
image.h
Generated on Fri Nov 16 2018 02:05:35 for Crossfire Client, Branches by
1.8.6