Feature improvement:

- via StructureConstruct.xml and StructureDeconstruct.xml, one can now define which structures can be removed and created via items and the fortifications feature.

For more information, see http://www.ja-galaxy-forum.com/ubbthreads.php/topics/335557#Post335557

does not break savegame compatibility. Requires GameDir >= r2140.

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@7491 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
Flugente
2014-09-07 00:11:16 +00:00
parent 3f4973b54c
commit 760a1b16f1
18 changed files with 1021 additions and 344 deletions
+9
View File
@@ -66,6 +66,8 @@ typedef PARSE_STAGE;
#define DRUGSFILENAME "Items\\Drugs.xml"
#define FOODFILENAME "Items\\Food.xml"
#define FOODOPINIONFILENAME "Items\\FoodOpinion.xml"
#define STRUCTUREDECONSTRUCTFILENAME "Items\\StructureDeconstruct.xml"
#define STRUCTURECONSTRUCTFILENAME "Items\\StructureConstruct.xml"
#define CLOTHESFILENAME "Items\\Clothes.xml"
#define RANDOMITEMFILENAME "Items\\RandomItem.xml"
#define AMMOFILENAME "Items\\AmmoStrings.xml"
@@ -322,6 +324,13 @@ extern BOOLEAN WriteFoodOpinionStats();
extern BOOLEAN ReadInDiseaseStats( STR fileName );
extern BOOLEAN WriteDiseaseStats( );
// Flugente: structure (de-)construct
extern BOOLEAN ReadInStructureDeconstructStats(STR fileName);
extern BOOLEAN WriteStructureDeconstructStats();
extern BOOLEAN ReadInStructureConstructStats(STR fileName);
extern BOOLEAN WriteStructureConstructStats();
// Flugente: merchants
extern BOOLEAN ReadInMerchantStats(STR fileName);
extern BOOLEAN WriteMerchantStats();