Re: Tricky inform problem


11 Jul 95 20:50:22 BST

>
> The width of the screen may be fetched from the game header (use
> `0->33'). The height of the screen is at `0->32'. See the
> specification of the Z-machine for details, and see the definition of
> `DrawStatusLine' in Parser.h for a use.
>
> Having said that, as a player I prefer score and turns on the status
> line to a nicely centred room name.
>
> --
> Gareth Rees

Yes, me too. In fact I prowled around a disassembly of "Trinity"
at one point, to see how it did the "centred location name on the status
bar" trick. As far as I can see, it did it rather nastily (using a
lookup table, in effect, which contained the lengths of all the strings
involved).

Graham Nelson