ConvertShapeCrusader.cpp

Go to the documentation of this file.
00001 /*
00002  *  Copyright (C) 2002, 2003 The Pentagram Team
00003  *
00004  *  This program is free software; you can redistribute it and/or modify
00005  *  it under the terms of the GNU General Public License as published by
00006  *  the Free Software Foundation; either version 2 of the License, or
00007  *  (at your option) any later version.
00008  *
00009  *  This program is distributed in the hope that it will be useful,
00010  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
00011  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00012  *  GNU General Public License for more details.
00013  *
00014  *  You should have received a copy of the GNU General Public License
00015  *  along with this program; if not, write to the Free Software
00016  *  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
00017  */
00018 
00019 #include "pent_include.h"
00020 #include "ConvertShapeCrusader.h"
00021 
00022 // Shape format configuration for Crusader
00023 const ConvertShapeFormat                CrusaderShapeFormat =
00024 {
00025         "Crusader",
00026         6,              // header
00027         "",             // ident
00028         0,              // bytes_ident 
00029         0,              // bytes_special
00030         4,              // header_unk
00031         2,              // num_frames
00032 
00033         8,              // frameheader
00034         3,              // frame_offset
00035         1,              // frameheader_unk
00036         4,              // frame_length
00037         0,              // frame_length_kludge
00038 
00039         28,             // frameheader2        20 for mouse/gumps
00040         8,              // frame_unknown       0  for mouse/gumps
00041         4,              // frame_compression
00042         4,              // frame_width
00043         4,              // frame_height
00044         4,              // frame_xoff
00045         4,              // frame_yoff
00046 
00047         4,              // line_offset
00048         0               // line_offset_absolute
00049 };
00050 
00051 // Shape format configuration for 2D Crusader Shapes
00052 const ConvertShapeFormat                Crusader2DShapeFormat =
00053 {
00054         "Crusader 2D",
00055         6,              // header
00056         "",             // ident
00057         0,              // bytes_ident 
00058         0,              // bytes_special
00059         4,              // header_unk
00060         2,              // num_frames
00061 
00062         8,              // frameheader
00063         3,              // frame_offset
00064         1,              // frameheader_unk
00065         4,              // frame_length
00066         0,              // frame_length_kludge
00067 
00068         20,             // frameheader2        20 for mouse/gumps
00069         0,              // frame_unknown       0  for mouse/gumps
00070         4,              // frame_compression
00071         4,              // frame_width
00072         4,              // frame_height
00073         4,              // frame_xoff
00074         4,              // frame_yoff
00075 
00076         4,              // line_offset
00077         0               // line_offset_absolute
00078 };

Generated on Fri Jul 27 22:27:12 2007 for pentagram by  doxygen 1.4.7