URL:
<http://gna.org/patch/?2477>
Summary: [transport09] use pointer for transported units
(server/common)
Project: Freeciv
Submitted by: syntron
Submitted on: Fr 04 Feb 2011 17:44:01 CET
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.4.0
_______________________________________________________
Details:
* add unit->transporter (transporter for the unit)
* add a list of transported units (unit->transporting)
* accessor functions:
- bool unit_transport_load(pcargo, ptrans)
- bool unit_transport_unload(pcargo, ptrans)
- struct unit *unit_transport_get(pcargo)
- struct unit_list *unit_transport_cargo(ptrans)
* move moving of transported units into unit_move_transported() which is
called recursivly
* cleanup the function unit_move()
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Fr 04 Feb 2011 17:44:01 CET Name:
20110204-transport09-use-pointer-for-transported-units-server-common.patch.bz2
Size: 13kB By: syntron
<http://gna.org/patch/download.php?file_id=12271>
_______________________________________________________
Reply to this item at:
<http://gna.org/patch/?2477>
_______________________________________________
Nachricht geschickt von/durch Gna!
http://gna.org/
_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev