Integrated ReloadReserve setting from Crafty's mod for skipping the 'Move Items' window when using drap and drop to reload weapons in the inventory.

Partially refactored HeroAppearance.cpp to use proper engine function/variable names and unified the indent style across the code.
This commit is contained in:
NovaRain
2015-11-17 12:56:03 +08:00
parent 225f36808d
commit 473fbf81b4
3 changed files with 1767 additions and 1858 deletions
+8 -1
View File
@@ -1,5 +1,5 @@
;sfall configuration settings
;v3.7
;v3.7a
[Main]
;Change to 1 if you want to use command line args to tell sfall to use another ini file.
@@ -536,6 +536,13 @@ ControlCombat=0
;Set to 1 to stack empty identical weapons, no matter what type of ammo was loaded before
StackEmptyWeapons=0
;Changes the way weapon reloading works when you drag ammo onto a weapon in the inventory
;Set to -1 to disable (vanilla behavior with the 'Move Items' window)
;Set to 0 to use all the ammo boxes to reload
;Set to 1 or more to reserve the specified amount of ammo boxes and use all the rest to reload
;If the amount of ammo boxes in the inventory is less than or equal to the reserve, only one box will be used
ReloadReserve=-1
;Allows 9 options (lines of text) to be displayed correctly in a dialog window
DialogOptions9Lines=1