[Scummvm-devel] Zak256 help needed

winedev at admdev.com winedev at admdev.com
Sun Feb 17 08:42:03 CET 2002

Further to anyone that wants to look at it..

it seems to be due to the Y coord passed to printCharOld.

If it's not within the top black strip - eg, set the Y coord to 20.. it
prints fine. So it's a bug with the virtual screen code or something.

Help, anyone? :)

Regards,        | It's always bad news in computing.. and beware
		| of anything claming to be good news - because
                | its probably a virus. - Salmon Days
        Ender   |
  (James Brown) | [Nehahra, EasyCuts, PureLS, www.QuakeSrc.org]

On Sun, 17 Feb 2002, J.Brown (Ender/Amigo) wrote:

> Date: Sun, 17 Feb 2002 03:21:10 +0800 (WST)
> From: "J.Brown (Ender/Amigo)" <ender at enderboi.com>
> To: scummvm-devel at lists.sourceforge.net
> Subject: [Scummvm-devel] Zak256 help needed
> Well, all of us here at ScummVM central are pretty stuck on this one.
> For some reason, the actual ego text won't print. We don't know why, and a
> third party looking at it would help a lot! In case someone on the list
> wants to have a go at fixing it, here's some details:
> Zak256 can be downloaded from www.zak256.org. You can mount the iso
> provided with either mount -o loop under linux, or Daemon Tools under
> windows. Copy the .lfl files to a directory called 'zak256' in your
> scummvm directory. Start zak with 'scummvm zak256'. When the title screen
> starts, hit escape to go to the office scene.  This is a good test of
> talking.
> Here's how the talking stuff works:
> 	There are two methods for printing text, both in 'string.cpp.
> They are CHARSET_1 and DrawString. DrawString works, as it's used to draw
> the verb text once the game starts. However CHARSET_1 (used for actual
> conversation) doesn't.
> Both DrawString and CHARSET_1 ultimatly pass off to PrintChar or
> PrintCharOld. In Zak's case, we are using PrintCharOld. PrintCharOld takes
> one parameter - the ascii value to print. It uses two global variables,
> _left and _top.. which control the position the string is printed.
> Theoretically CHARSET_1 should work, as it calls PrintCharOld fine...
> which is mostly the same behavior as DrawString.... But in practice, no
> text gets printed.
> We don't know why! Someone help us :)
>  - Ender
> _______________________________________________
> 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