diff options
author | Paweł Kołodziejski | 2004-01-18 16:43:16 +0000 |
---|---|---|
committer | Paweł Kołodziejski | 2004-01-18 16:43:16 +0000 |
commit | 287491770134423f588332d9471f2a4e2e73a4fa (patch) | |
tree | 2ba75b2af380f4609894dbc867dcbcd603550fe0 /scumm/imuse_digi | |
parent | fa354638c6f6701efee600fdb107baa3309a003e (diff) | |
download | scummvm-rg350-287491770134423f588332d9471f2a4e2e73a4fa.tar.gz scummvm-rg350-287491770134423f588332d9471f2a4e2e73a4fa.tar.bz2 scummvm-rg350-287491770134423f588332d9471f2a4e2e73a4fa.zip |
optimized types for tables
svn-id: r12488
Diffstat (limited to 'scumm/imuse_digi')
-rw-r--r-- | scumm/imuse_digi/dimuse.h | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/scumm/imuse_digi/dimuse.h b/scumm/imuse_digi/dimuse.h index d5965aae29..a6fdfba8fc 100644 --- a/scumm/imuse_digi/dimuse.h +++ b/scumm/imuse_digi/dimuse.h @@ -146,29 +146,29 @@ public: }; struct imuseRoomMap { - int roomId; - int musicTableIndex; - int unk1; - int unk2; - int unk3; - int unk4; + byte roomId; + byte musicTableIndex; + byte unk1; + byte unk2; + byte unk3; + byte unk4; }; struct imuseDigTable { - int opcode; - int soundId; + byte opcode; + int16 soundId; char name[20]; - int param; + byte param; char filename[13]; }; struct imuseComiTable { - int opcode; - int soundId; + byte opcode; + int16 soundId; char name[20]; - int param; - int hookId; - int fadeDelay; + byte param; + byte hookId; + int16 fadeDelay; char filename[13]; }; @@ -179,14 +179,14 @@ struct imuseFtNames { struct imuseFtStateTable { char audioName[9]; - int8 opcode; + byte opcode; int8 volume; char name[21]; }; struct imuseFtSeqTable { char audioName[9]; - int8 opcode; + byte opcode; int8 volume; }; |