ScummVM API documentation
dimuse_tables.h
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 modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation, either version 3 of the License, or
10 * (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, see <http://www.gnu.org/licenses/>.
19 *
20 */
21
22#if !defined(SCUMM_IMUSE_DIGI_TABLES_H) && defined(ENABLE_SCUMM_7_8)
23#define SCUMM_IMUSE_DIGI_TABLES_H
24
25#include "common/scummsys.h"
26
27namespace Scumm {
28
29struct imuseRoomMap {
30 int8 roomId;
31 byte stateIndex1;
32 byte offset;
33 byte stateIndex2;
34 byte attribPos;
35 byte stateIndex3;
36};
37
38struct imuseDigTable {
39 byte transitionType;
40 int16 soundId;
41 char name[20];
42 byte attribPos;
43 byte hookId;
44 char filename[13];
45};
46
47struct imuseComiTable {
48 byte transitionType;
49 int16 soundId;
50 char name[20];
51 byte attribPos;
52 byte hookId;
53 int16 fadeOutDelay;
54 char filename[13];
55};
56
57
58struct imuseFtNames {
59 char name[20];
60};
61
62struct imuseFtStateTable {
63 char audioName[9];
64 byte transitionType;
65 byte volume;
66 char name[21];
67};
68
69struct imuseFtSeqTable {
70 char audioName[9];
71 byte transitionType;
72 byte volume;
73};
74
75extern const imuseRoomMap _digStateMusicMap[];
76extern const imuseDigTable _digStateMusicTable[];
77extern const imuseDigTable _digSeqMusicTable[];
78extern const imuseComiTable _comiStateMusicTable[];
79extern const imuseComiTable _comiSeqMusicTable[];
80extern const imuseComiTable _comiDemoStateMusicTable[];
81extern const imuseFtStateTable _ftStateMusicTable[];
82extern const imuseFtSeqTable _ftSeqMusicTable[];
83extern const imuseFtNames _ftSeqNames[];
84
85} // End of namespace Scumm
86
87#endif
Definition: actor.h:30