Enabled mouse scroll control in barter and loot screens when the cursor is hovering over other lists, also enabled scrolling through the display monitor (from Crafty) #120

Rearraged the code style in dinput.cpp.
Updated version number.
This commit is contained in:
NovaRain
2017-10-25 11:50:37 +08:00
parent 94fdfb49ef
commit bc38a02508
5 changed files with 171 additions and 24 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
;sfall configuration settings
;v4.0.1
;v4.0.2
[Main]
;Change to 1 if you want to use command line args to tell sfall to use another ini file.
@@ -72,7 +72,7 @@ Use32BitHeadGraphics=0
;XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
[Input]
;Set to 1 to enable the mouse scroll wheel to scroll through your inventory
;Set to 1 to enable the mouse scroll wheel to scroll through inventory, barter, and loot screens
UseScrollWheel=1
;The mouse Z position is divided by this modifier to calculate the number of inventory