1 #pragma once
2 #include <stddef.h>
3 #include <stdint.h>
4 
5 typedef enum
6 {
7 	CWMAPTYPE_WL1,
8 	CWMAPTYPE_WL6,
9 	CWMAPTYPE_SOD,
10 } CWMapType;
11 
12 typedef struct
13 {
14 	uint32_t *offsets;
15 	size_t nOffsets;
16 } CWAudioHead;
17 
18 typedef struct
19 {
20 	CWAudioHead head;
21 	int nSound;
22 	int nMusic;
23 	int startAdlibSounds;
24 	int startMusic;
25 	char *data;
26 } CWAudio;
27