[Scummvm-devel] Sam'n'Max CD problems

Sam Kenny SamKenny at cit.com.au
Sun Feb 3 14:59:02 CET 2002

Hi Florian,

I'm afraid I don't know the answer to the script descumm question, but the
others I do have some info on.

The intro hangs because drawString draws off the end of the buffer and
overwrites a  sound header, I'm currently working on a patch to submit for
this. A quick fix for this is around line 463 in string.cpp in drawString to
	if (a==1 && (_features&GF_AFTER_V6))
	if (!string[a].no_talk_anim && (_features&GF_AFTER_V6))
but it may have other side effects, but the intro runs to the end.

The drawBox color==-1 does actually work, it's something else that is
causing it, it seems as if the loading of some of the graphics objects is
not correct and it is just blitting stuff from old memory that hasn't been
cleared, I haven't tracked it down yet, but it appeared just before
christmas time, around the time the setShake support was added, but it may
have been from an unrelated patch around then, if you want to go hunting.



> -----Original Message-----
> From: Florian Schulze [mailto:florian.proff.schulze at gmx.net] 
> Sent: Monday, 4 February 2002 12:03 AM
> To: scummvm-devel at lists.sourceforge.net
> Subject: [Scummvm-devel] Sam'n'Max CD problems
> Hi!
> I'm still investigating and learning how ScummVM works, but 
> I'm currently
> debugging the problems in Sam & Max Hit the Road, CD-ROM 
> Version 1.0, 23-06-94.
> I found some odd problem in the intro script room-77-200. 
> When I try to
> decompile it with descumm6 I get this error: "No items on 
> stack to pop!". BTW,
> the intro hangs shortly after the Sam'n'Max Logo. The screen 
> still gets updated,
> but it dosn't continue.
> Also the hack with color==-1 in drawBox doesn't seem to work. 
> Some artifacts of
> the old picture are still there.
> Florian Schulze
> _______________________________________________
> Scummvm-devel mailing list
> Scummvm-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/scummvm-devel

More information about the Scummvm-devel mailing list