URL:
<http://gna.org/patch/?3170>
Summary: Sanity check ruleset road compat_specials
Project: Freeciv
Submitted by: cazfi
Submitted on: Tue 28 Feb 2012 10:06:04 PM EET
Category: general
Priority: 5 - Normal
Status: Ready For Test
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Planned Release: 2.5.0
_______________________________________________________
Details:
Current code requires that:
- There's exactly one road type that has compat_special "Road"
- There's exactly one road type that has compat_special "Railroad"
- There's no other road types
Attached patch adds ruleset sanity checking to look just these. While this
causes that the only possible road type count is 2, that's not separately
checked.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Tue 28 Feb 2012 10:06:04 PM EET Name: CompatCheck.diff Size: 1kB By:
cazfi
<http://gna.org/patch/download.php?file_id=15239>
_______________________________________________________
Reply to this item at:
<http://gna.org/patch/?3170>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev