New Feature: 2 new Iron Man game modes (by anv)

- Selectable at campaign start under "Extra Difficulty" label
- Soft Iron Man: No saving when in turn-based combat. Can save with enemies around (in sector) but only if still in real-time mode.
- Extreme Iron Man: No saving, except punctually at midnight - save screen opens by itself, so Player won't accidentally miss saving time window. Besides Player's save, game will be auto-saved at midnight too if auto-saving is on.
- New ja2_options.ini values for Extreme Iron Man setting: EXTREME_IRON_MAN_SAVING_TIME_NOTIFICATION, 


git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@7167 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
Wanne
2014-04-27 16:16:14 +00:00
parent 6a46bcfb91
commit 8b494003fd
34 changed files with 654 additions and 179 deletions
+7 -1
View File
@@ -238,9 +238,11 @@ typedef struct
BOOLEAN fImprovedInterruptSystem; // ubFiller: From 498 to 497
BOOLEAN fBackGround; // ubFiller: From 497 to 496
BOOLEAN fFoodSystem; // ubFiler: From 496 to 495
UINT8 ubIronManMode; // ubFiler: From 495 to 494
// WANNE: Decrease this filler by 1, for each new UINT8 / BOOLEAN variable, so we can maintain savegame compatibility!!
UINT8 ubFiller[495];
UINT8 ubFiller[494];
} GAME_OPTIONS;
@@ -1439,6 +1441,10 @@ typedef struct
BOOLEAN fHelicopterReturnToBaseIsNotFree;
BOOLEAN fPaySkyriderInBase;
// anv: new iron man modes
UINT8 ubExtremeIronManSavingTimeNotification;
UINT8 ubExtremeIronManSavingHour;
} GAME_EXTERNAL_OPTIONS;
typedef struct