<URL: http://bugs.freeciv.org/Ticket/Display.html?id=40368 >

Madeline Book wrote:
> <URL: http://bugs.freeciv.org/Ticket/Display.html?id=40368 >
> What is the purpose of having resources defined in the
> civ1 terrain ruleset, but with 'name' field set to "unused"?
> It seems completely unnecessary, and in fact S2_1 does not
> have such "dummy" entries.
> I bring this up because they annoyingly litter the editor's
> resource selection list.
> If nobody knows the intended purpose of these unused
> resource definitions, and I find that nothing of value
> is lost by removing them, I'll submit a patch to do so
> shortly.

At one point the terrain types were enumerated in the code.  It was then 
necessary to keep every terrain (and improvement, etc) in the same 
order.  Thus the unused entries were needed to mark a terrain type that 
wasn't present in civ1.

Unless I'm very wrong, they are not needed anymore.


Freeciv-dev mailing list

Reply via email to