mirror of
https://github.com/1dot13/source.git
synced 2026-09-09 14:46:05 +02:00
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:
@@ -2597,6 +2597,9 @@ void LoadModSettings(){
|
|||||||
gModSettings.ubMeanwhileAddMadlabSector4X = iniReader.ReadInteger("Meanwhile", "ADD_MADLAB_SECTOR_4_X", 4);
|
gModSettings.ubMeanwhileAddMadlabSector4X = iniReader.ReadInteger("Meanwhile", "ADD_MADLAB_SECTOR_4_X", 4);
|
||||||
gModSettings.ubMeanwhileAddMadlabSector4Y = iniReader.ReadInteger("Meanwhile", "ADD_MADLAB_SECTOR_4_Y", 5);
|
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.ubEndGameVictorySectorX = iniReader.ReadInteger("End Game", "VICTORY_SECTOR_X", 3);
|
||||||
gModSettings.ubEndGameVictorySectorY = iniReader.ReadInteger("End Game", "VICTORY_SECTOR_Y", 16);
|
gModSettings.ubEndGameVictorySectorY = iniReader.ReadInteger("End Game", "VICTORY_SECTOR_Y", 16);
|
||||||
gModSettings.iEndGameVictoryGridNo = iniReader.ReadInteger("End Game", "VICTORY_POSITION", 5687);
|
gModSettings.iEndGameVictoryGridNo = iniReader.ReadInteger("End Game", "VICTORY_POSITION", 5687);
|
||||||
|
|||||||
@@ -1968,6 +1968,8 @@ typedef struct
|
|||||||
UINT8 ubEndGameVictorySectorY;
|
UINT8 ubEndGameVictorySectorY;
|
||||||
INT32 iEndGameVictoryGridNo;
|
INT32 iEndGameVictoryGridNo;
|
||||||
|
|
||||||
|
BOOLEAN CreatureMeanwhileCutscene;
|
||||||
|
|
||||||
}MOD_SETTINGS;
|
}MOD_SETTINGS;
|
||||||
|
|
||||||
// silversurfer: item property modifiers
|
// silversurfer: item property modifiers
|
||||||
|
|||||||
@@ -301,7 +301,7 @@ void InitCreatureQuest()
|
|||||||
#if (defined JA2UB)
|
#if (defined JA2UB)
|
||||||
//Ja25 No meanwhiles && no creatures
|
//Ja25 No meanwhiles && no creatures
|
||||||
#else
|
#else
|
||||||
if( fPlayMeanwhile && !gfCreatureMeanwhileScenePlayed )
|
if( fPlayMeanwhile && !gfCreatureMeanwhileScenePlayed && gModSettings.CreatureMeanwhileCutscene == TRUE )
|
||||||
{
|
{
|
||||||
//Start the meanwhile scene for the queen ordering the release of the creatures.
|
//Start the meanwhile scene for the queen ordering the release of the creatures.
|
||||||
HandleCreatureRelease();
|
HandleCreatureRelease();
|
||||||
|
|||||||
Reference in New Issue
Block a user