mirror of
https://github.com/libretro/scummvm.git
synced 2025-04-12 03:36:42 +00:00
Added FIXME for the _haveMsg hack
svn-id: r17720
This commit is contained in:
parent
6e3fd4527e
commit
9216ca4ed5
@ -329,6 +329,7 @@ void ScummEngine::CHARSET_1() {
|
|||||||
a->startAnimActor(frme);
|
a->startAnimActor(frme);
|
||||||
break;
|
break;
|
||||||
case 10:
|
case 10:
|
||||||
|
// Note the similarity to the code in unkMessage1()
|
||||||
talk_sound_a = buffer[0] | (buffer[1] << 8) | (buffer[4] << 16) | (buffer[5] << 24);
|
talk_sound_a = buffer[0] | (buffer[1] << 8) | (buffer[4] << 16) | (buffer[5] << 24);
|
||||||
talk_sound_b = buffer[8] | (buffer[9] << 8) | (buffer[12] << 16) | (buffer[13] << 24);
|
talk_sound_b = buffer[8] | (buffer[9] << 8) | (buffer[12] << 16) | (buffer[13] << 24);
|
||||||
buffer += 14;
|
buffer += 14;
|
||||||
@ -339,6 +340,10 @@ void ScummEngine::CHARSET_1() {
|
|||||||
// This is actually a hack added by ScummVM; the original did
|
// This is actually a hack added by ScummVM; the original did
|
||||||
// subtitle hiding in some other way. I am not sure exactly
|
// subtitle hiding in some other way. I am not sure exactly
|
||||||
// how, though.
|
// how, though.
|
||||||
|
// FIXME: This is actually a rather ugly hack, and we should consider
|
||||||
|
// replacing it with something better; problem is that _haveMsg is saved,
|
||||||
|
// so we need to cope with old save games if we ever change this.
|
||||||
|
// And BTW Fingolfin was responsible for this silly bad hack. Stupid me! :-).
|
||||||
if (_haveMsg == 0xFF)
|
if (_haveMsg == 0xFF)
|
||||||
_haveMsg = 0xFE;
|
_haveMsg = 0xFE;
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user