mirror of
https://github.com/1dot13/source.git
synced 2026-09-02 14:36:06 +02:00
Externalizations (by Buggler)
- creature xml to use other insertion directions if per-determined direction is invalid - swapped East and South Insertion_Code enum to be align with Strategic_Move enum - option for crepitus to attack a random player-controlled town, not just the originating town - externalized creatures spreading hardcoded defines to Creatures_Settings.ini git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@6732 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
+44
-6
@@ -696,6 +696,7 @@ typedef struct
|
||||
//Misc settings
|
||||
BOOLEAN fAmmoDynamicWeight; //Pulmu
|
||||
BOOLEAN fEnableCrepitus;
|
||||
BOOLEAN fCrepitusAttackAllTowns;
|
||||
BOOLEAN fEnableAllWeaponCaches;
|
||||
BOOLEAN fEnableAllTerrorists;
|
||||
BOOLEAN gfRevealItems;
|
||||
@@ -1469,6 +1470,46 @@ typedef struct
|
||||
INT8 bValues[32];
|
||||
} REPUTATION_SETTINGS;
|
||||
|
||||
typedef struct
|
||||
{
|
||||
//Crepitus Feeding Sector
|
||||
UINT8 ubCrepitusFeedingSectorX;
|
||||
UINT8 ubCrepitusFeedingSectorY;
|
||||
UINT8 ubCrepitusFeedingSectorZ;
|
||||
|
||||
UINT16 usCreatureSpreadTimeNovice;
|
||||
UINT16 usCreatureSpreadTimeExperienced;
|
||||
UINT16 usCreatureSpreadTimeExpert;
|
||||
UINT16 usCreatureSpreadTimeInsane;
|
||||
|
||||
UINT8 ubQueenReproductionBaseNovice;
|
||||
UINT8 ubQueenReproductionBaseExperienced;
|
||||
UINT8 ubQueenReproductionBaseExpert;
|
||||
UINT8 ubQueenReproductionBaseInsane;
|
||||
|
||||
UINT8 ubQueenReproductionBonusNovice;
|
||||
UINT8 ubQueenReproductionBonusExperienced;
|
||||
UINT8 ubQueenReproductionBonusExpert;
|
||||
UINT8 ubQueenReproductionBonusInsane;
|
||||
|
||||
UINT8 ubQueenInitBonusSpreadsNovice;
|
||||
UINT8 ubQueenInitBonusSpreadsExperienced;
|
||||
UINT8 ubQueenInitBonusSpreadsExpert;
|
||||
UINT8 ubQueenInitBonusSpreadsInsane;
|
||||
|
||||
INT8 bCreaturePopulationModifierNovice;
|
||||
INT8 bCreaturePopulationModifierExperienced;
|
||||
INT8 bCreaturePopulationModifierExpert;
|
||||
INT8 bCreaturePopulationModifierInsane;
|
||||
|
||||
INT8 bCreatureTownAggressivenessNovice;
|
||||
INT8 bCreatureTownAggressivenessExperienced;
|
||||
INT8 bCreatureTownAggressivenessExpert;
|
||||
INT8 bCreatureTownAggressivenessInsane;
|
||||
|
||||
|
||||
} CREATURES_SETTINGS;
|
||||
|
||||
typedef struct
|
||||
{
|
||||
UINT8 ubMaxNumberOfTraits;
|
||||
@@ -2081,12 +2122,6 @@ typedef struct
|
||||
|
||||
BOOLEAN CreatureMeanwhileCutscene;
|
||||
|
||||
//[Creatures]
|
||||
//Crepitus Feeding Sector
|
||||
UINT8 ubCrepitusFeedingSectorX;
|
||||
UINT8 ubCrepitusFeedingSectorY;
|
||||
UINT8 ubCrepitusFeedingSectorZ;
|
||||
|
||||
}MOD_SETTINGS;
|
||||
|
||||
// silversurfer: item property modifiers
|
||||
@@ -2182,6 +2217,8 @@ extern MORALE_SETTINGS gMoraleSettings;
|
||||
|
||||
extern REPUTATION_SETTINGS gReputationSettings;
|
||||
|
||||
extern CREATURES_SETTINGS gCreaturesSettings;
|
||||
|
||||
// HEADROCK HAM 4: CTH constants read from a separate INI file
|
||||
extern CTH_CONSTANTS gGameCTHConstants;
|
||||
|
||||
@@ -2202,6 +2239,7 @@ void LoadTauntsSettings();
|
||||
void LoadHelicopterRepairRefuelSettings();
|
||||
void LoadMoraleSettings();
|
||||
void LoadReputationSettings();
|
||||
void LoadCreaturesSettings();
|
||||
void FreeGameExternalOptions();
|
||||
|
||||
void InitGameOptions();
|
||||
|
||||
Reference in New Issue
Block a user