aboutsummaryrefslogtreecommitdiff
path: root/engines/tsage/sound.h
diff options
context:
space:
mode:
authorPaul Gilbert2011-05-26 20:30:30 +1000
committerPaul Gilbert2011-05-26 20:30:30 +1000
commit1d190139125bd5ed0af43213c779a71b3b0615f5 (patch)
tree79fe4e617d60df8dfa655e6df602fe751434182a /engines/tsage/sound.h
parent927bb2fdc43a51ad91b653016652532fb1086cef (diff)
downloadscummvm-rg350-1d190139125bd5ed0af43213c779a71b3b0615f5.tar.gz
scummvm-rg350-1d190139125bd5ed0af43213c779a71b3b0615f5.tar.bz2
scummvm-rg350-1d190139125bd5ed0af43213c779a71b3b0615f5.zip
TSAGE: Updated the separation of fields from the Sound class to the trackInfoStruct structure
Diffstat (limited to 'engines/tsage/sound.h')
-rw-r--r--engines/tsage/sound.h20
1 files changed, 13 insertions, 7 deletions
diff --git a/engines/tsage/sound.h b/engines/tsage/sound.h
index 145282c499..0f361e00bd 100644
--- a/engines/tsage/sound.h
+++ b/engines/tsage/sound.h
@@ -37,9 +37,18 @@ class Sound;
#define ADLIB_DRIVER_NUM 3
struct trackInfoStruct {
- int count;
- int rlbList[SOUND_ARR_SIZE];
- int arr2[SOUND_ARR_SIZE];
+ int _count;
+ int _rlbList[SOUND_ARR_SIZE];
+ int _arr2[SOUND_ARR_SIZE];
+ byte *_handleList[SOUND_ARR_SIZE];
+ int field82[SOUND_ARR_SIZE];
+ int field92[SOUND_ARR_SIZE];
+ int fielda2[SOUND_ARR_SIZE];
+ int fieldb2[SOUND_ARR_SIZE];
+ int fieldf2[SOUND_ARR_SIZE];
+ int field132[SOUND_ARR_SIZE];
+ int field152[SOUND_ARR_SIZE];
+
};
enum SoundDriverStatus {SNDSTATUS_FAILED = 0, SNDSTATUS_DETECTED = 1, SNDSTATUS_SKIPPED = 2};
@@ -254,11 +263,8 @@ public:
int _fieldC8[SOUND_ARR_SIZE];
int _fieldE8[SOUND_ARR_SIZE];
trackInfoStruct _trackInfo;
- byte *_handleList[75];
- int _field266;
- int _field268;
bool _primed;
- int _field26C;
+ bool _isEmpty;
byte *_field26E;
public:
Sound();