public inbox for xconq7@sourceware.org
 help / color / mirror / Atom feed
From: Hans Ronne <hronne@comhem.se>
To: Eric McDonald <mcdonald@phy.cmich.edu>
Cc: xconq7@sources.redhat.com
Subject: Re: time.g weirdness
Date: Thu, 12 Aug 2004 17:35:00 -0000	[thread overview]
Message-ID: <l03130302bd4154b74d01@[212.181.162.155]> (raw)
In-Reply-To: <Pine.LNX.4.44.0408121253520.29406-100000@leon.phy.cmich.edu>

>On Thu, 12 Aug 2004, Jim Kingdon wrote:
>
>> > /* Don't print out storage space if it is set to arbitrarily large
>> > (9999, 999 or 99) as in many games. */
>>
>> Well, that's more problematic, in that it doesn't check storage
>> against consumption, production, etc.
>
>I agree. This is one of the pieces of code I had in mind when I
>suggested that relative infinity would be useful beyond just the
>help system.
>
>> It does seem like an argument for some more real form of infinity
>> (maybe just TABHI).
>
>I agree.

I also agree that a real infinite instead of the bogus ones (99 etc) would
be nice, so if any of you want to give it a try, I'm all for it.

There was one other consideration with the above code, though, and that was
to save space and reduce the clutter in the unit info box (and Mac unit
closeup popup). This is what they would look like in most games before the
change:

Food: 4 / 9999    Minerals: 6 / 9999    Fuel:  2 / 9999    Ideas:  12 / 9999

Typically, the right half of this line would be truncated in the closeups
(which are smaller than the unit info boxes). Now it  says instead:

Food: 4    Minerals: 6    Fuel: 2    Ideas: 12

which is much neater.

Now, if the game designer sets capacity to a bogus infinite, it usually
means that he doesn't expect the ceiling to be hit in a real game. If 99 is
too low, he would use 999 or 9999 instead. This, in turn, means that the
player has no interest in knowing about the capacity. All he needs to know
is that there is no ceiling that he has to worry about. Which is why I
suppressed the printing of bogus infinites.

The weak point here is of course that the game designer may deviate from
this rule, by intention or mistake. Having a relative infinite that
defaults to TABHI, and which is suppressed in most outputs, is therefore a
superior solution.

Hans






  reply	other threads:[~2004-08-12 17:24 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-10 17:51 Robert Goulding
2004-08-10 18:11 ` Hans Ronne
2004-08-11  1:23 ` Hans Ronne
2004-08-11 16:34   ` Jim Kingdon
2004-08-11 16:34     ` Hans Ronne
2004-08-11 16:47       ` Eric McDonald
2004-08-11 17:09         ` Hans Ronne
2004-08-12  4:03           ` Eric McDonald
2004-08-12 11:16             ` Hans Ronne
2004-08-11 16:41     ` Eric McDonald
2004-08-12  8:42       ` Jim Kingdon
2004-08-12  8:56         ` Hans Ronne
2004-08-12 15:42           ` Jim Kingdon
2004-08-12 16:58             ` Eric McDonald
2004-08-12 17:35               ` Hans Ronne [this message]
2004-08-12 16:55         ` Eric McDonald
2004-08-12 15:39 ` Hans Ronne
2004-08-12 16:53   ` Jim Kingdon
2004-08-12 16:59     ` Hans Ronne
2004-08-12 17:08     ` Eric McDonald
2004-08-12 17:19       ` Hans Ronne
2004-08-12 17:24         ` Eric McDonald
2004-08-12 18:15           ` Hans Ronne
2004-08-13 23:46             ` Eric McDonald
2004-08-14  3:50             ` Wrecked-Type Doesn't Apply to Detonating Units Elijah Meeks
2004-08-14  9:19               ` Eric McDonald
2004-08-14 15:36                 ` Hans Ronne
2004-08-14 16:00                   ` Eric McDonald
2004-08-14 17:42                     ` Eric McDonald
2004-08-16  0:27                 ` Elijah Meeks
2004-08-16 18:24                   ` Eric McDonald
2004-08-16 21:34                     ` Elijah Meeks
2004-08-17  0:50                       ` Eric McDonald

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='l03130302bd4154b74d01@[212.181.162.155]' \
    --to=hronne@comhem.se \
    --cc=mcdonald@phy.cmich.edu \
    --cc=xconq7@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).