diff options
author | Eugene Sandulenko | 2005-04-13 18:27:29 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2005-04-13 18:27:29 +0000 |
commit | a5993b21129b133bdbd570a3f540caf44c0c3958 (patch) | |
tree | 79acaeabc945f4d2bdce65a7601de894a354ea28 /gob/inter.cpp | |
parent | c60678ed86b4c5bc1fb07dde269b9d853db1300c (diff) | |
download | scummvm-rg350-a5993b21129b133bdbd570a3f540caf44c0c3958.tar.gz scummvm-rg350-a5993b21129b133bdbd570a3f540caf44c0c3958.tar.bz2 scummvm-rg350-a5993b21129b133bdbd570a3f540caf44c0c3958.zip |
Support for Red Book audio in CD version of gob1.
svn-id: r17588
Diffstat (limited to 'gob/inter.cpp')
-rw-r--r-- | gob/inter.cpp | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/gob/inter.cpp b/gob/inter.cpp index a2a418407b..69ff7a0161 100644 --- a/gob/inter.cpp +++ b/gob/inter.cpp @@ -29,6 +29,7 @@ #include "gob/draw.h" #include "gob/mult.h" #include "gob/goblin.h" +#include "gob/cdrom.h" namespace Gob { @@ -408,18 +409,20 @@ void inter_drawOperations(void) { break; case 32: - // FIXME // Used in gob1 CD - warning("unimplemented drawOperation: %d", cmd); inter_evalExpr(0); + cd_startTrack(inter_resStr); break; case 33: - // FIXME // Used in gob1 CD - warning("unimplemented drawOperation: %d", cmd); - WRITE_VAR(5, 32767); - break; + WRITE_VAR(5, cd_getTrackPos()); + break; + + case 34: + // Used in gob1 CD + cd_stopPlaying(); + break; case 48: i = inter_load16(); |