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 3 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, see <http://www.gnu.org/licenses/>.
19 #ifndef MODPLUG_TYPES_H_
20 #define MODPLUG_TYPES_H_
22 #define MOD_TYPE_NONE 0x00
23 #define MOD_TYPE_MOD 0x01
24 #define MOD_TYPE_S3M 0x02
25 #define MOD_TYPE_XM 0x04
26 #define MOD_TYPE_MED 0x08
27 #define MOD_TYPE_MTM 0x10
28 #define MOD_TYPE_IT 0x20
29 #define MOD_TYPE_669 0x40
30 #define MOD_TYPE_ULT 0x80
31 #define MOD_TYPE_STM 0x100
32 #define MOD_TYPE_FAR 0x200
33 #define MOD_TYPE_WAV 0x400
34 #define MOD_TYPE_AMF 0x800
35 #define MOD_TYPE_AMS 0x1000
36 #define MOD_TYPE_DSM 0x2000
37 #define MOD_TYPE_MDL 0x4000
38 #define MOD_TYPE_OKT 0x8000
39 #define MOD_TYPE_MID 0x10000
40 #define MOD_TYPE_DMF 0x20000
41 #define MOD_TYPE_PTM 0x40000
42 #define MOD_TYPE_DBM 0x80000
43 #define MOD_TYPE_MT2 0x100000
44 #define MOD_TYPE_AMF0 0x200000
45 #define MOD_TYPE_PSM 0x400000
46 #define MOD_TYPE_J2B 0x800000
47 #define MOD_TYPE_ABC 0x1000000
48 #define MOD_TYPE_PAT 0x2000000
49 #define MOD_TYPE_UMX 0x80000000 // Fake type
50 #define MAX_MODTYPE 24