Wanne 7ba509cd40 New "mini" Feature: Added possibility to set optional Tag <mAbsolutePrice> in MercStartingGear.xml to define absolute prices for gearkits (by Tais)
- I put both (startup and gearkit selection in BR's) the initializations for gearkit prices into if's that will check if the absolute price is higher than -1 and lower or equal to 32000 (INT16)
- I also added the reading of the tag in xml_mercstartinggear.cpp, to be able to support zero priced gearkits in absolute prices I set the absolute price of a gearkit to -1 on opening tag of a gearkit, if there's an mAbsolutePrice tag set in the gearkit it will override the value, if not nothing happens and all will behave normal
- so nothing will change in 1.13 as it is, it will just give modders the ability to set absolute prices with a new tag

TODO: Maybe we should also add this optional <mAbsolutePrice> tag to the XML Editor in the future.


git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@4868 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2011-12-27 15:39:52 +00:00
2011-06-17 10:56:48 +00:00
2011-12-27 13:21:27 +00:00
2011-12-27 13:21:27 +00:00
2007-06-09 09:01:04 +00:00
2007-06-09 09:01:04 +00:00
2011-12-27 13:21:27 +00:00
2011-06-22 21:20:38 +00:00
2011-12-27 13:21:27 +00:00
2007-10-20 06:56:34 +00:00
2007-10-20 06:56:34 +00:00
2007-10-20 06:56:34 +00:00
2007-10-20 06:56:34 +00:00
S
Description
No description provided
57 MiB
Languages
C++ 90.4%
C 9.3%
HTML 0.2%
CMake 0.1%