New MOD-Setting (by Jazz)

- CREATURE_MEANWHILE_CUTSCENE: Play the meanwhile cutscene ordering the release of creatures?

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@6683 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
Wanne
2013-12-05 08:24:46 +00:00
parent b9b58fe790
commit 4cf6aa49d2
3 changed files with 6 additions and 1 deletions
+3
View File
@@ -2597,6 +2597,9 @@ void LoadModSettings(){
gModSettings.ubMeanwhileAddMadlabSector4X = iniReader.ReadInteger("Meanwhile", "ADD_MADLAB_SECTOR_4_X", 4);
gModSettings.ubMeanwhileAddMadlabSector4Y = iniReader.ReadInteger("Meanwhile", "ADD_MADLAB_SECTOR_4_Y", 5);
gModSettings.CreatureMeanwhileCutscene = iniReader.ReadBoolean("Meanwhile", "CREATURE_MEANWHILE_CUTSCENE", TRUE);
gModSettings.ubEndGameVictorySectorX = iniReader.ReadInteger("End Game", "VICTORY_SECTOR_X", 3);
gModSettings.ubEndGameVictorySectorY = iniReader.ReadInteger("End Game", "VICTORY_SECTOR_Y", 16);
gModSettings.iEndGameVictoryGridNo = iniReader.ReadInteger("End Game", "VICTORY_POSITION", 5687);
+2
View File
@@ -1968,6 +1968,8 @@ typedef struct
UINT8 ubEndGameVictorySectorY;
INT32 iEndGameVictoryGridNo;
BOOLEAN CreatureMeanwhileCutscene;
}MOD_SETTINGS;
// silversurfer: item property modifiers
+1 -1
View File
@@ -301,7 +301,7 @@ void InitCreatureQuest()
#if (defined JA2UB)
//Ja25 No meanwhiles && no creatures
#else
if( fPlayMeanwhile && !gfCreatureMeanwhileScenePlayed )
if( fPlayMeanwhile && !gfCreatureMeanwhileScenePlayed && gModSettings.CreatureMeanwhileCutscene == TRUE )
{
//Start the meanwhile scene for the queen ordering the release of the creatures.
HandleCreatureRelease();