New modifiers for Item Properties

The new Item_Settings.ini is there to host modifiers for item properties in the different XML files. For now it is only used for the Weapon Overheating feature to adjust parameters based on gun class.
It uses the new struct gItemSettings which is populated in function void LoadItemSettings() on game start.

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@6463 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
silversurfer
2013-10-02 12:40:08 +00:00
parent bc7b3e2d62
commit cc51c13529
6 changed files with 95 additions and 1 deletions
+2
View File
@@ -134,6 +134,8 @@ BOOLEAN InitializeGame(void)
LoadCTHConstants();
//DBrot: load mod settings
LoadModSettings();
// silversurfer: load item settings modifiers
LoadItemSettings();
#ifdef JA2UB
LoadGameUBOptions(); // JA25 UB