diff options
author | Joost Peters | 2003-12-28 01:17:29 +0000 |
---|---|---|
committer | Joost Peters | 2003-12-28 01:17:29 +0000 |
commit | effc207b694c3d2a60fc364e3ea919dea1de9a50 (patch) | |
tree | e884ff2aa1a1ab9646be4e406c5c3a5b3ba21307 /queen/command.cpp | |
parent | bcba9807358b3b121cc97d282a093afaefe623da (diff) | |
download | scummvm-rg350-effc207b694c3d2a60fc364e3ea919dea1de9a50.tar.gz scummvm-rg350-effc207b694c3d2a60fc364e3ea919dea1de9a50.tar.bz2 scummvm-rg350-effc207b694c3d2a60fc364e3ea919dea1de9a50.zip |
- added 'song' debugger command
- restore music after loading game
- fix for bug in Roland Floda Corridor music
- added LE struct reading methods (and renamed the old BE ones) for future compatibility with original DOS savegames
svn-id: r11985
Diffstat (limited to 'queen/command.cpp')
-rw-r--r-- | queen/command.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/queen/command.cpp b/queen/command.cpp index ac205923a5..a0b444bf2c 100644 --- a/queen/command.cpp +++ b/queen/command.cpp @@ -277,35 +277,35 @@ void Command::readCommandsFrom(byte *&ptr) { _cmdList = new CmdListData[_numCmdList + 1]; memset(&_cmdList[0], 0, sizeof(CmdListData)); for (i = 1; i <= _numCmdList; i++) { - _cmdList[i].readFrom(ptr); + _cmdList[i].readFromBE(ptr); } _numCmdArea = READ_BE_UINT16(ptr); ptr += 2; _cmdArea = new CmdArea[_numCmdArea + 1]; memset(&_cmdArea[0], 0, sizeof(CmdArea)); for (i = 1; i <= _numCmdArea; i++) { - _cmdArea[i].readFrom(ptr); + _cmdArea[i].readFromBE(ptr); } _numCmdObject = READ_BE_UINT16(ptr); ptr += 2; _cmdObject = new CmdObject[_numCmdObject + 1]; memset(&_cmdObject[0], 0, sizeof(CmdObject)); for (i = 1; i <= _numCmdObject; i++) { - _cmdObject[i].readFrom(ptr); + _cmdObject[i].readFromBE(ptr); } _numCmdInventory = READ_BE_UINT16(ptr); ptr += 2; _cmdInventory = new CmdInventory[_numCmdInventory + 1]; memset(&_cmdInventory[0], 0, sizeof(CmdInventory)); for (i = 1; i <= _numCmdInventory; i++) { - _cmdInventory[i].readFrom(ptr); + _cmdInventory[i].readFromBE(ptr); } _numCmdGameState = READ_BE_UINT16(ptr); ptr += 2; _cmdGameState = new CmdGameState[_numCmdGameState + 1]; memset(&_cmdGameState[0], 0, sizeof(CmdGameState)); for (i = 1; i <= _numCmdGameState; i++) { - _cmdGameState[i].readFrom(ptr); + _cmdGameState[i].readFromBE(ptr); } } |