URL:
<http://gna.org/patch/?3987>
Summary: Pointer to extra type to road/base types
Project: Freeciv
Submitted by: cazfi
Submitted on: Wed 10 Jul 2013 11:09:25 PM EEST
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.6.0
_______________________________________________________
Details:
Currently it's somewhat costly to get extra_type from base_type or road_type
with extra_type_get(). Attached patch adds direct pointer from base_type and
road_type structures to their extra_type. No callers are touched to avoid
conflicts with other patches currently being processed. New patches should use
these new base_extra_get() and road_base_get() functions instead of
extra_type_get() when appropriate.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Wed 10 Jul 2013 11:09:25 PM EEST Name: BaseroadExtraGet.patch Size:
4kB By: cazfi
<http://gna.org/patch/download.php?file_id=18241>
_______________________________________________________
Reply to this item at:
<http://gna.org/patch/?3987>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev