Crossfire Server, Branches 1.12
R18729
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
File List
Globals
image.h
Go to the documentation of this file.
1
/*
2
CrossFire, A Multiplayer game for X-windows
3
4
Copyright (C) 2006 Mark Wedel & Crossfire Development Team
5
Copyright (C) 1992 Frank Tore Johansen
6
7
This program is free software; you can redistribute it and/or modify
8
it under the terms of the GNU General Public License as published by
9
the Free Software Foundation; either version 2 of the License, or
10
(at your option) any later version.
11
12
This program is distributed in the hope that it will be useful,
13
but WITHOUT ANY WARRANTY; without even the implied warranty of
14
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
GNU General Public License for more details.
16
17
You should have received a copy of the GNU General Public License
18
along with this program; if not, write to the Free Software
19
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
20
21
The authors can be reached via e-mail at crossfire-devel@real-time.com
22
*/
23
29
#ifndef IMAGE_H
30
#define IMAGE_H
31
33
typedef
struct
face_info
{
34
uint8
*
data
;
35
uint16
datalen
;
36
uint32
checksum
;
37
}
face_info
;
38
40
typedef
struct
{
41
char
*
prefix
;
42
char
*
fullname
;
43
uint8
fallback
;
44
char
*
size
;
45
char
*
extension
;
46
char
*
comment
;
47
face_info
*
faces
;
48
}
face_sets
;
49
#define MAX_FACE_SETS 20
51
extern face_sets facesets[MAX_FACE_SETS];
52
53
#define MAX_IMAGE_SIZE 10000
54
55
#endif
/* IMAGE_H */
face_info
Definition:
image.h:33
face_sets::faces
face_info * faces
Definition:
image.h:47
face_sets::fallback
uint8 fallback
Definition:
image.h:43
face_info::datalen
uint16 datalen
Definition:
image.h:35
face_sets::prefix
char * prefix
Definition:
image.h:41
face_sets::extension
char * extension
Definition:
image.h:45
face_info::data
uint8 * data
Definition:
image.h:34
uint8
unsigned char uint8
Definition:
global.h:75
face_sets::size
char * size
Definition:
image.h:44
face_sets::comment
char * comment
Definition:
image.h:46
uint16
unsigned short uint16
Definition:
global.h:67
face_info
struct face_info face_info
face_sets::fullname
char * fullname
Definition:
image.h:42
uint32
unsigned int uint32
Definition:
global.h:58
face_info::checksum
uint32 checksum
Definition:
image.h:36
face_sets
Definition:
image.h:40
crossfire-code
server
branches
1.12
include
image.h
Generated on Sun Nov 18 2018 02:40:29 for Crossfire Server, Branches 1.12 by
1.8.6