|
|
|
|
@ -402,8 +402,8 @@ BOOL StartGame(BOOL bNewGame, BOOL bSinglePlayer)
|
|
|
|
|
*/ |
|
|
|
|
static void SaveOptions() |
|
|
|
|
{ |
|
|
|
|
setIniInt("Diablo", "Intro", sgOptions.Diablo.bInto); |
|
|
|
|
setIniInt("Hellfire", "Intro", sgOptions.Hellfire.bInto); |
|
|
|
|
setIniInt("Diablo", "Intro", sgOptions.Diablo.bIntro); |
|
|
|
|
setIniInt("Hellfire", "Intro", sgOptions.Hellfire.bIntro); |
|
|
|
|
setIniValue("Hellfire", "SItem", sgOptions.Hellfire.szItem); |
|
|
|
|
|
|
|
|
|
setIniInt("Audio", "Sound Volume", sgOptions.Audio.nSoundVolume); |
|
|
|
|
@ -470,8 +470,8 @@ static void SaveOptions()
|
|
|
|
|
*/ |
|
|
|
|
static void LoadOptions() |
|
|
|
|
{ |
|
|
|
|
sgOptions.Diablo.bInto = getIniBool("Diablo", "Intro", true); |
|
|
|
|
sgOptions.Hellfire.bInto = getIniBool("Hellfire", "Intro", true); |
|
|
|
|
sgOptions.Diablo.bIntro = getIniBool("Diablo", "Intro", true); |
|
|
|
|
sgOptions.Hellfire.bIntro = getIniBool("Hellfire", "Intro", true); |
|
|
|
|
getIniValue("Hellfire", "SItem", sgOptions.Hellfire.szItem, sizeof(sgOptions.Hellfire.szItem), ""); |
|
|
|
|
|
|
|
|
|
sgOptions.Audio.nSoundVolume = getIniInt("Audio", "Sound Volume", VOLUME_MAX); |
|
|
|
|
@ -588,13 +588,13 @@ static void diablo_splash()
|
|
|
|
|
|
|
|
|
|
play_movie("gendata\\logo.smk", TRUE); |
|
|
|
|
|
|
|
|
|
if (gbIsHellfire && sgOptions.Hellfire.bInto) { |
|
|
|
|
if (gbIsHellfire && sgOptions.Hellfire.bIntro) { |
|
|
|
|
play_movie("gendata\\Hellfire.smk", TRUE); |
|
|
|
|
sgOptions.Hellfire.bInto = false; |
|
|
|
|
sgOptions.Hellfire.bIntro = false; |
|
|
|
|
} |
|
|
|
|
if (!gbIsHellfire && !gbIsSpawn && sgOptions.Diablo.bInto) { |
|
|
|
|
if (!gbIsHellfire && !gbIsSpawn && sgOptions.Diablo.bIntro) { |
|
|
|
|
play_movie("gendata\\diablo1.smk", TRUE); |
|
|
|
|
sgOptions.Diablo.bInto = false; |
|
|
|
|
sgOptions.Diablo.bIntro = false; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
UiTitleDialog(); |
|
|
|
|
|