|
|
|
|
@ -281,6 +281,7 @@ void LoadOptions()
|
|
|
|
|
sgOptions.Gameplay.bRandomizeQuests = GetIniBool("Game", "Randomize Quests", true); |
|
|
|
|
sgOptions.Gameplay.bShowMonsterType = GetIniBool("Game", "Show Monster Type", false); |
|
|
|
|
sgOptions.Gameplay.bDisableCripplingShrines = GetIniBool("Game", "Disable Crippling Shrines", false); |
|
|
|
|
sgOptions.Gameplay.bAutoRefillBelt = GetIniBool("Game", "Auto Refill Belt", AUTO_PICKUP_DEFAULT(false)); |
|
|
|
|
|
|
|
|
|
GetIniValue("Network", "Bind Address", sgOptions.Network.szBindAddress, sizeof(sgOptions.Network.szBindAddress), "0.0.0.0"); |
|
|
|
|
sgOptions.Network.nPort = GetIniInt("Network", "Port", 6112); |
|
|
|
|
@ -432,6 +433,7 @@ void SaveOptions()
|
|
|
|
|
SetIniValue("Game", "Randomize Quests", sgOptions.Gameplay.bRandomizeQuests); |
|
|
|
|
SetIniValue("Game", "Show Monster Type", sgOptions.Gameplay.bShowMonsterType); |
|
|
|
|
SetIniValue("Game", "Disable Crippling Shrines", sgOptions.Gameplay.bDisableCripplingShrines); |
|
|
|
|
SetIniValue("Game", "Auto Refill Belt", sgOptions.Gameplay.bAutoRefillBelt); |
|
|
|
|
|
|
|
|
|
SetIniValue("Network", "Bind Address", sgOptions.Network.szBindAddress); |
|
|
|
|
SetIniValue("Network", "Port", sgOptions.Network.nPort); |
|
|
|
|
|