Complete.Org: Mailing Lists: Archives: freeciv-dev: August 2004:
[Freeciv-Dev] Re: (PR#9800) unit_type_exists should be removed
Home

[Freeciv-Dev] Re: (PR#9800) unit_type_exists should be removed

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients: ;
Subject: [Freeciv-Dev] Re: (PR#9800) unit_type_exists should be removed
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 24 Aug 2004 14:46:31 -0700
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=9800 >

Jason Short wrote:
> <URL: http://rt.freeciv.org/Ticket/Display.html?id=9800 >
> 
> unit_type_exists should be removed.  Unit types which don't exist 
> (crusaders, elephants, etc.) should be removed from the ruleset (or just 
> commented out).  The only reason for keeping these around was savegame 
> compatiblity and that's no longer an issue.

Same with tech_exists, of course.

improvement_exists seems to depend on server options.  OTOH it would 
probably be just as easy to skip those items when loading the ruleset. 
So eventually improvement_exists can be removed as well.

The advantage of removing these is that you no longer have to remember 
to check them.

jason




[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] Re: (PR#9800) unit_type_exists should be removed, Jason Short <=