diff options
author | James Brown | 2002-03-25 10:05:32 +0000 |
---|---|---|
committer | James Brown | 2002-03-25 10:05:32 +0000 |
commit | 7d6020f37a606f2029b2d6c31704e5c1adaf1df6 (patch) | |
tree | 73b3f84f30b397adc7c7c665690b701428a66395 | |
parent | 72d64af24b96fa61a3642b42c5a4a2c9581be56f (diff) | |
download | scummvm-rg350-7d6020f37a606f2029b2d6c31704e5c1adaf1df6.tar.gz scummvm-rg350-7d6020f37a606f2029b2d6c31704e5c1adaf1df6.tar.bz2 scummvm-rg350-7d6020f37a606f2029b2d6c31704e5c1adaf1df6.zip |
Fix text in pre-v3 games. Still broken:
Charset outline color, scripts randomly hanging, sound, actor animations,
bootparams, full throttle.
svn-id: r3826
-rw-r--r-- | sdl.cpp | 15 |
1 files changed, 12 insertions, 3 deletions
@@ -981,7 +981,7 @@ int main(int argc, char* argv[]) { scumm->vm.cutSceneScriptIndex=0; scumm->vm.cutSceneStackPointer=0; - + scumm->_scummStackPos=0; scumm->_verbMouseOver=0; @@ -1072,6 +1072,17 @@ int main(int argc, char* argv[]) { scumm->_PALS_offs = 0; scumm->_fastMode = 0; + + for (i=0; i<6; i++) { + scumm->string[i].t_center = 0; + scumm->string[i].t_xpos = 0; + scumm->string[i].t_ypos = 0; + scumm->string[i].t_color = 0; + scumm->string[i].t_overhead =0; + scumm->string[i].t_charset = 0; + scumm->string[i].t_right = 0; + } + scumm->_charsetColor = 0; /* */ @@ -1106,8 +1117,6 @@ int main(int argc, char* argv[]) { // scumm->scummMain(argc, argv); // Todo: need to change that as well gui.init(scumm); /* Reinit GUI after loading a game */ - - scumm->mainRun(); return 0; |