mirror of
https://github.com/sfall-team/sfall.git
synced 2026-07-27 16:52:34 -07:00
Code edits to SpeedInventoryPCRotation
Updated version number.
This commit is contained in:
+3
-3
@@ -1,5 +1,5 @@
|
||||
;sfall configuration settings
|
||||
;v4.3.6.1
|
||||
;v4.3.7
|
||||
|
||||
[Main]
|
||||
;Set to 1 to enable the built-in High Resolution Patch mode that is similar to the hi-res patch by Mash
|
||||
@@ -453,7 +453,7 @@ NPCsTryToSpendExtraAP=0
|
||||
AllowLargeTiles=0
|
||||
|
||||
;Set to 1 to boost the maximum number of tile FRMs from 4096 to 16383
|
||||
;This option is always enabled in 4.3.6.1/3.8.36.1 or later. The information is left for reference only
|
||||
;This option is always enabled in 4.3.7/3.8.37 or later. The information is left for reference only
|
||||
MoreTiles=1
|
||||
|
||||
;Change the Skilldex cursor FRM numbers
|
||||
@@ -514,7 +514,7 @@ SpeedInterfaceCounterAnims=0
|
||||
ScienceOnCritters=0
|
||||
|
||||
;Modify this value to change the player's speed of rotation on the inventory and character screens
|
||||
;Default is 166
|
||||
;Default is 166 (lower - faster; valid range: 0..1000)
|
||||
SpeedInventoryPCRotation=166
|
||||
|
||||
;Modify the number of the extra interface boxes available to modders. (Default is 5, and the maximum is 95)
|
||||
|
||||
@@ -1071,12 +1071,7 @@ static void InterfaceWindowPatch() {
|
||||
}
|
||||
|
||||
static void InventoryCharacterRotationSpeedPatch() {
|
||||
long setting = IniReader::GetConfigInt("Misc", "SpeedInventoryPCRotation", 166);
|
||||
if (setting != 166 && setting <= 1000) {
|
||||
dlog("Applying SpeedInventoryPCRotation patch.", DL_INIT);
|
||||
SafeWrite32(0x47066B, setting);
|
||||
dlogr(" Done", DL_INIT);
|
||||
}
|
||||
SimplePatch<DWORD>(0x47066B, "Misc", "SpeedInventoryPCRotation", 166, 0, 1000);
|
||||
}
|
||||
|
||||
static void UIAnimationSpeedPatch() {
|
||||
|
||||
+3
-3
@@ -24,7 +24,7 @@
|
||||
|
||||
#define VERSION_MAJOR 4
|
||||
#define VERSION_MINOR 3
|
||||
#define VERSION_BUILD 6
|
||||
#define VERSION_REV 1
|
||||
#define VERSION_BUILD 7
|
||||
#define VERSION_REV 0
|
||||
|
||||
#define VERSION_STRING "4.3.6.1"
|
||||
#define VERSION_STRING "4.3.7"
|
||||
|
||||
Reference in New Issue
Block a user