Message-ID: <3D459A75.8ED408CC@attNOSPAMglobal.net>
Date: Mon, 29 Jul 2002 12:41:41 -0700
From: Chip Hayes <jwhayes@attglobal.net>
Reply-To: jwhayes@attglobal.net
Organization: Bent Creek Entertainment
X-Mailer: Mozilla 4.72 (Macintosh; U; PPC)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: rec.arts.int-fiction
Subject: Re: [INFORM[ SetTime()
References: <3d43c8ce.15232679@news.demon.co.uk>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 32.101.251.217
X-Trace: 29 Jul 2002 19:33:48 GMT, 32.101.251.217
Lines: 43
X-Complaints-To: abuse@prserv.net
Path: news.duke.edu!newsgate.duke.edu!nntp-out.monmouth.com!newspeer.monmouth.com!news.maxwell.syr.edu!news-out.nuthinbutnews.com!propagator-sterling!news-in.nuthinbutnews.com!cyclone1.gnilink.net!washdc3-snf1!washdc3-snh1.gtei.net!news.gtei.net!newsfeed.us.prserv.net!prserv.net!news3.prserv.net!32.101.251.217
Xref: news.duke.edu rec.arts.int-fiction:106713



Doug Roberts wrote:
>
> I'd like to have the score and turns represented properly, but still
> have the time available, used in daemons and the PC's watch.
>

Here's what I did in TINSELTOWN BLUES, which is probably the long way
around.  I just hacked and replaced DrawStatusLine with this:


[ DrawStatusLine width posa posb i j visibility_levels;
   @split_window 1; @set_window 1; @set_cursor 1 1; style reverse;
   width = 0->33; posa = width-26; posb = width-13;
   spaces width;
   @set_cursor 1 2;
   if (location == thedark) print (name) location;
   else
   {   visibility_levels = FindVisibilityLevels();
       if (visibility_ceiling == location)
           print (name) location;
       else print (The) visibility_ceiling;
       for (j=1, i=parent(player):j<visibility_levels:j++, i=parent(i))
		if (i has supporter)
			L__M(##Look,1,i);
		else
			L__M(##Look,2,i);
   }
   if (width > 76)
    {   @set_cursor 1 posa; print (string) SCORE__TX, score;
        @set_cursor 1 posb; print (string) TIME__TX;
        LanguageTimeOfDay(sline1, sline2);
    }
   else if (width > 63 && width <= 76)
    {   @set_cursor 1 posb; print sline1, "/", sline2;
    }
	@set_cursor 1 1; style roman; @set_window 0;
];

Which gives you both the time and the moves.

Chip
