Fix text in pre-v3 games. Still broken:

Charset outline color, scripts randomly hanging, sound, actor animations,
bootparams, full throttle.

svn-id: r3826
This commit is contained in:
James Brown 2002-03-25 10:05:32 +00:00
parent 72d64af24b
commit 7d6020f37a

15
sdl.cpp
View file

@ -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;