Crossfire Server, Branch 1.12  R12190
image.h
Go to the documentation of this file.
00001 /*
00002     CrossFire, A Multiplayer game for X-windows
00003 
00004     Copyright (C) 2006 Mark Wedel & Crossfire Development Team
00005     Copyright (C) 1992 Frank Tore Johansen
00006 
00007     This program is free software; you can redistribute it and/or modify
00008     it under the terms of the GNU General Public License as published by
00009     the Free Software Foundation; either version 2 of the License, or
00010     (at your option) any later version.
00011 
00012     This program is distributed in the hope that it will be useful,
00013     but WITHOUT ANY WARRANTY; without even the implied warranty of
00014     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00015     GNU General Public License for more details.
00016 
00017     You should have received a copy of the GNU General Public License
00018     along with this program; if not, write to the Free Software
00019     Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
00020 
00021     The authors can be reached via e-mail at crossfire-devel@real-time.com
00022 */
00023 
00029 #ifndef IMAGE_H
00030 #define IMAGE_H
00031 
00033 typedef struct face_info {
00034     uint8 *data;            
00035     uint16 datalen;         
00036     uint32 checksum;        
00037 } face_info;
00038 
00040 typedef struct {
00041     char    *prefix;    
00042     char    *fullname;
00043     uint8   fallback;   
00044     char    *size;
00045     char    *extension;
00046     char    *comment;
00047     face_info   *faces; 
00048 } face_sets;
00049 #define MAX_FACE_SETS   20  
00051 extern face_sets facesets[MAX_FACE_SETS];
00052 
00053 #define MAX_IMAGE_SIZE 10000
00054 
00055 #endif /* IMAGE_H */