TOLTECS: - Fixed Screen::updateTalkText (text x position was read incorrectly and font color wasn't nibble-swapped)

- Hooked up the movie player; movies can be aborted with Escape (not with mouse clicks at the moment because I was too lazy to implement it; funny, writing this explanation probably took longer :))
This commit is contained in:
Benjamin Haisch 2008-10-20 19:54:29 +00:00 committed by Willem Jan Palenstijn
parent 4b13982116
commit 47ae908589
5 changed files with 31 additions and 16 deletions

View file

@ -36,6 +36,7 @@
#include "toltecs/toltecs.h"
#include "toltecs/animation.h"
#include "toltecs/movie.h"
#include "toltecs/palette.h"
#include "toltecs/resource.h"
#include "toltecs/script.h"
@ -920,7 +921,7 @@ void ScriptInterpreter::execKernelOpcode(uint16 kernelOpcode) {
case 65:// TODO
{
debug(0, "o2_playMovie(%d, %d)", arg16(3), arg16(5));
// TODO: Enable once the player is ready: _vm->_moviePlayer->playMovie()
_vm->_moviePlayer->playMovie(arg16(3));
break;
}