URL: <http://gna.org/patch/?3054>
Summary: Tile road functions Project: Freeciv Submitted by: cazfi Submitted on: Tue 15 Nov 2011 12:21:18 AM 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: This patch just adds a couple of functions to hide the fact that roads are currently specials. No users are introduced in this patch, but new code should use these functions instead of assuming that roads are part of specials. Future patches will also change existing code to use these functions. Functions introduced are tile_add_road(), tile_remove_road(), and temporary function for transition period road_type_by_eroad(). Third needed function of the family, tile_has_road(), already exist. _______________________________________________________ File Attachments: ------------------------------------------------------- Date: Tue 15 Nov 2011 12:21:18 AM EET Name: TileRoadFuncs.diff Size: 3kB By: cazfi <http://gna.org/patch/download.php?file_id=14553> _______________________________________________________ Reply to this item at: <http://gna.org/patch/?3054> _______________________________________________ Message sent via/by Gna! http://gna.org/ _______________________________________________ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev