From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7681 invoked by alias); 12 Aug 2004 08:42:27 -0000 Mailing-List: contact xconq7-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: xconq7-owner@sources.redhat.com Received: (qmail 7665 invoked from network); 12 Aug 2004 08:42:25 -0000 Received: from unknown (HELO av6-2-sn2.hy.skanova.net) (81.228.8.107) by sourceware.org with SMTP; 12 Aug 2004 08:42:25 -0000 Received: by av6-2-sn2.hy.skanova.net (Postfix, from userid 502) id A779337E44; Thu, 12 Aug 2004 10:42:21 +0200 (CEST) Received: from smtp2-2-sn2.hy.skanova.net (smtp2-2-sn2.hy.skanova.net [81.228.8.178]) by av6-2-sn2.hy.skanova.net (Postfix) with ESMTP id 94E3C37E42; Thu, 12 Aug 2004 10:42:21 +0200 (CEST) Received: from [212.181.162.155] (h155n1fls24o1048.bredband.comhem.se [212.181.162.155]) by smtp2-2-sn2.hy.skanova.net (Postfix) with ESMTP id 1776337E43; Thu, 12 Aug 2004 10:42:20 +0200 (CEST) X-Sender: u22611592@m1.226.comhem.se Message-Id: In-Reply-To: <200408120403.i7C43mu24086@panix5.panix.com> References: (message from Eric McDonald on Wed, 11 Aug 2004 12:34:45 -0400 (EDT)) Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Thu, 12 Aug 2004 08:56:00 -0000 To: Jim Kingdon From: Hans Ronne Subject: Re: time.g weirdness Cc: xconq7@sources.redhat.com X-SW-Source: 2004/txt/msg00878.txt.bz2 >What I had in mind was something much less deep. If >mp-to-enter-terrain says you need 99 movement points, and >acp-per-turn, free-mp, etc, say that a unit can never get 99 movement >points in a turn, then have the help report it as infinite. The big >problem with that is that it is very case-by-case, and it would be >easy for this computation to be out of sync with the action code. So >maybe one of the infinity variants would make more sense anyway. In fact, I did something very similar to supply_desc last year: /* Don't print out storage space if it is set to arbitrarily large (9999, 999 or 99) as in many games. */ if (um_storage_x(u, m) == 9999 || um_storage_x(u, m) == 999 || um_storage_x(u, m) == 99) { tprintf(buf, "%s %d ", m_type_name(m), unit->supply[m]); } else { tprintf(buf, "%s %d/%d ", m_type_name(m), unit->supply[m], um_storage_x(u, m)); } This is what the subsequent discussion with Peter Garrone was about. He thought (based on a less than perfect documentation) that 9999 really meant infinite storage space. Hans