1 /* ScummVM - Graphic Adventure Engine
2  *
3  * ScummVM is the legal property of its developers, whose names
4  * are too numerous to list here. Please refer to the COPYRIGHT
5  * file distributed with this source distribution.
6  *
7  * This program is free software; you can redistribute it and/or
8  * modify it under the terms of the GNU General Public License
9  * as published by the Free Software Foundation; either version 2
10  * of the License, or (at your option) any later version.
11  *
12  * This program is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with this program; if not, write to the Free Software
19  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
20  *
21  */
22 
23 #if !defined(SCUMM_IMUSE_DIGI_TABLES_H) && defined(ENABLE_SCUMM_7_8)
24 #define SCUMM_IMUSE_DIGI_TABLES_H
25 
26 #include "common/scummsys.h"
27 
28 namespace Scumm {
29 
30 struct imuseRoomMap {
31 	int8 roomId;
32 	byte stateIndex1;
33 	byte offset;
34 	byte stateIndex2;
35 	byte attribPos;
36 	byte stateIndex3;
37 };
38 
39 struct imuseDigTable {
40 	byte transitionType;
41 	int16 soundId;
42 	char name[20];
43 	byte attribPos;
44 	byte hookId;
45 	char filename[13];
46 };
47 
48 struct imuseComiTable {
49 	byte transitionType;
50 	int16 soundId;
51 	char name[20];
52 	byte attribPos;
53 	byte hookId;
54 	int16 fadeOutDelay;
55 	char filename[13];
56 };
57 
58 
59 struct imuseFtNames {
60 	char name[20];
61 };
62 
63 struct imuseFtStateTable {
64 	char audioName[9];
65 	byte transitionType;
66 	byte volume;
67 	char name[21];
68 };
69 
70 struct imuseFtSeqTable {
71 	char audioName[9];
72 	byte transitionType;
73 	byte volume;
74 };
75 
76 extern const imuseRoomMap _digStateMusicMap[];
77 extern const imuseDigTable _digStateMusicTable[];
78 extern const imuseDigTable _digSeqMusicTable[];
79 extern const imuseComiTable _comiStateMusicTable[];
80 extern const imuseComiTable _comiSeqMusicTable[];
81 extern const imuseFtStateTable _ftStateMusicTable[];
82 extern const imuseFtSeqTable _ftSeqMusicTable[];
83 extern const imuseFtNames _ftSeqNames[];
84 
85 } // End of namespace Scumm
86 
87 #endif
88