2 * upkg: tool for manipulating Unreal Tournament packages.
3 * Copyright (C) 2009 Nick Bowler
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20 #ifndef MODPLUG_TYPES_H_
21 #define MODPLUG_TYPES_H_
23 #define MOD_TYPE_NONE 0x00
24 #define MOD_TYPE_MOD 0x01
25 #define MOD_TYPE_S3M 0x02
26 #define MOD_TYPE_XM 0x04
27 #define MOD_TYPE_MED 0x08
28 #define MOD_TYPE_MTM 0x10
29 #define MOD_TYPE_IT 0x20
30 #define MOD_TYPE_669 0x40
31 #define MOD_TYPE_ULT 0x80
32 #define MOD_TYPE_STM 0x100
33 #define MOD_TYPE_FAR 0x200
34 #define MOD_TYPE_WAV 0x400
35 #define MOD_TYPE_AMF 0x800
36 #define MOD_TYPE_AMS 0x1000
37 #define MOD_TYPE_DSM 0x2000
38 #define MOD_TYPE_MDL 0x4000
39 #define MOD_TYPE_OKT 0x8000
40 #define MOD_TYPE_MID 0x10000
41 #define MOD_TYPE_DMF 0x20000
42 #define MOD_TYPE_PTM 0x40000
43 #define MOD_TYPE_DBM 0x80000
44 #define MOD_TYPE_MT2 0x100000
45 #define MOD_TYPE_AMF0 0x200000
46 #define MOD_TYPE_PSM 0x400000
47 #define MOD_TYPE_J2B 0x800000
48 #define MOD_TYPE_ABC 0x1000000
49 #define MOD_TYPE_PAT 0x2000000
50 #define MOD_TYPE_UMX 0x80000000 // Fake type
51 #define MAX_MODTYPE 24