URL:
<http://gna.org/patch/?3234>
Summary: Start to support to [recall_cost] key
Project: Battle for Wesnoth
Submitted by: None
Submitted on: Mon 02 Apr 2012 07:50:11 AM UTC
Priority: 1 - Later
Status: None
Privacy: Public
Assigned to: None
Originator Email: [email protected]
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
unit.hpp:
* added function int recall_cost() const
* added parameter unit_recall_value_
unit.cpp:
* added function int recall_cost() const
* added parameter unit_recall_value_
* constructors fill the unit_recall_value_ on initializers
* when creating a cfg from a unit it also fills the
[recall_value] key.
menu_events.cpp:
recall:
* allows you to open the recall menu if you have one gold
possibly will create a bug allowing recall units
even if you don't have enough gold (in which case will
cause you to have negative gold)
* asking first if the recalled unit have defined a
recall cost. If not will use the default recall cost.
undo, redo:
* when undo, redo recall ask first if the recalled unit
have defined a recall cost. If not will
use the default recall cost.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Mon 02 Apr 2012 07:50:11 AM UTC Name: unit.hpp Size: 20kB By: None
<http://gna.org/patch/download.php?file_id=15497>
-------------------------------------------------------
Date: Mon 02 Apr 2012 07:50:11 AM UTC Name: menu_events.cpp Size: 117kB
By: None
<http://gna.org/patch/download.php?file_id=15498>
-------------------------------------------------------
Date: Mon 02 Apr 2012 07:50:11 AM UTC Name: unit.cpp Size: 88kB By: None
<http://gna.org/patch/download.php?file_id=15499>
_______________________________________________________
Reply to this item at:
<http://gna.org/patch/?3234>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs