Re: Inform: Changing the Statusline
Tue, 7 Nov 1995 14:29:25 GMT
Fury Op (furiop@vccnorth17.its.rpi.edu) wrote:
: Hey. I want to have my game change the status line in the game
: depending on location. In some locations, it should show the
: time, as per STATUSLINE TIME; and in other locations I want
: it to show the value of a numeric variable that I define and
: update every turn. I looked at the code in the Designers
: Manual to do custom statuslines, but how do I switch back and forth?
Define a global variable to hold 0 or 1 based on the style you want to
use to draw the status line, which will be changed depending on which room
you're in. Then simply evaluate the variable in your DrawStatusLine
function.
--
C.E. Forman ceforma@rs6000.cmp.ilstu.edu
Read the I-F e-zine XYZZYnews, at ftp.gmd.de:/if-archive/magazines/xyzzynews!
* Interactive Fiction * Beavis and Butt-Head * The X-Files * MST3K * C/C++ *