Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

chunck_type.h

Go to the documentation of this file.
00001 /*
00002 Copyright (c) 2002 Xavier Trochu
00003 
00004 This software is provided 'as-is', without any express or implied warranty. In no event
00005 will the authors be held liable for any damages arising from the use of this software.
00006 
00007 Permission is granted to anyone to use this software for any purpose, including commercial
00008 applications, and to alter it and redistribute it freely, subject to the following
00009 restrictions:
00010 
00011 1. The origin of this software must not be misrepresented; you must not claim that you
00012    wrote the original software. If you use this software in a product, an acknowledgment
00013    in the product documentation would be appreciated but is not required.
00014 
00015 2. Altered source versions must be plainly marked as such, and must not be misrepresented 
00016    as being the original software.
00017 
00018 3. This notice may not be removed or altered from any source distribution.
00019 */
00020 #ifndef __CHUNCK_TYPE_H
00021 #define __CHUNCK_TYPE_H
00022 
00023 #include "chunck.h"
00024 
00025 #define MAKE_TYPE(a,b,c,d) static_cast<chunck::type>( ((a) << 24) | ((b) << 16) | ((c) << 8) | (d) )
00026 
00027 static const chunck::type TYPE_ANIM = MAKE_TYPE('A', 'N', 'I', 'M');
00028 static const chunck::type TYPE_AHDR = MAKE_TYPE('A', 'H', 'D', 'R');
00029 static const chunck::type TYPE_FRME = MAKE_TYPE('F', 'R', 'M', 'E');
00030 static const chunck::type TYPE_NPAL = MAKE_TYPE('N', 'P', 'A', 'L');
00031 static const chunck::type TYPE_FOBJ = MAKE_TYPE('F', 'O', 'B', 'J');
00032 static const chunck::type TYPE_PSAD = MAKE_TYPE('P', 'S', 'A', 'D');
00033 static const chunck::type TYPE_TRES = MAKE_TYPE('T', 'R', 'E', 'S');
00034 static const chunck::type TYPE_XPAL = MAKE_TYPE('X', 'P', 'A', 'L');
00035 static const chunck::type TYPE_IACT = MAKE_TYPE('I', 'A', 'C', 'T');
00036 static const chunck::type TYPE_STOR = MAKE_TYPE('S', 'T', 'O', 'R');
00037 static const chunck::type TYPE_FTCH = MAKE_TYPE('F', 'T', 'C', 'H');
00038 static const chunck::type TYPE_SKIP = MAKE_TYPE('S', 'K', 'I', 'P');
00039 static const chunck::type TYPE_STRK = MAKE_TYPE('S', 'T', 'R', 'K');
00040 static const chunck::type TYPE_SMRK = MAKE_TYPE('S', 'M', 'R', 'K');
00041 static const chunck::type TYPE_SHDR = MAKE_TYPE('S', 'H', 'D', 'R');
00042 static const chunck::type TYPE_SDAT = MAKE_TYPE('S', 'D', 'A', 'T');
00043 static const chunck::type TYPE_SAUD = MAKE_TYPE('S', 'A', 'U', 'D');
00044 static const chunck::type TYPE_iMUS = MAKE_TYPE('i', 'M', 'U', 'S');
00045 static const chunck::type TYPE_FRMT = MAKE_TYPE('F', 'R', 'M', 'T');
00046 static const chunck::type TYPE_TEXT = MAKE_TYPE('T', 'E', 'X', 'T');
00047 static const chunck::type TYPE_REGN = MAKE_TYPE('R', 'E', 'G', 'N');
00048 static const chunck::type TYPE_STOP = MAKE_TYPE('S', 'T', 'O', 'P');
00049 static const chunck::type TYPE_MAP_ = MAKE_TYPE('M', 'A', 'P', ' ');
00050 static const chunck::type TYPE_DATA = MAKE_TYPE('D', 'A', 'T', 'A');
00051 static const chunck::type TYPE_ETRS = MAKE_TYPE('E', 'T', 'R', 'S');
00052 
00053 #undef MAKE_TYPE
00054 
00055 #endif

Generated on Fri Aug 9 22:54:29 2002 for san_player by doxygen1.2.16