New feature: militia resources requires the player to convert items to resources to be able to train and promote militia

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8271 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
Flugente
2016-07-15 19:33:44 +00:00
parent 5dcfe09a77
commit 7a34e9a154
21 changed files with 711 additions and 105 deletions
+3
View File
@@ -1719,6 +1719,9 @@ void HourlyProgressUpdate(void)
ExecuteStrategicAIAction( NPC_ACTION_GLOBAL_OFFENSIVE_2, 0, 0 );
}
// Flugente: our resources slowly lose their value
DevalueResources( gStrategicStatus.ubHighestProgress, ubCurrentProgress );
gStrategicStatus.ubHighestProgress = ubCurrentProgress;
// debug message
-15
View File
@@ -98,21 +98,6 @@ enum
NUM_WEAPON_CLASSES
};
// exact gun types
enum
{
NOT_GUN = 0,
GUN_PISTOL,
GUN_M_PISTOL,
GUN_SMG,
GUN_RIFLE,
GUN_SN_RIFLE,
GUN_AS_RIFLE,
GUN_LMG,
GUN_SHOTGUN
};
// ARMOUR CLASSES
enum
{