Added ladder climbing action to UseWalkDistance

Added notes to MainMenuFontColour description in ddraw.ini.
Updated version number.
This commit is contained in:
NovaRain
2022-06-07 10:24:52 +08:00
parent 0516aabcc1
commit a415fc2e7f
3 changed files with 8 additions and 5 deletions
+5 -2
View File
@@ -1,5 +1,5 @@
;sfall configuration settings ;sfall configuration settings
;v4.3.5 ;v4.3.5.1
[Main] [Main]
;Set to 1 to enable the built-in High Resolution Patch mode that is similar to the hi-res patch by Mash ;Set to 1 to enable the built-in High Resolution Patch mode that is similar to the hi-res patch by Mash
@@ -536,8 +536,11 @@ AnimationsAtOnceLimit=120
;Set to 1 to remove the limits that stop the player rolling critical successes/misses in the first few days of game time ;Set to 1 to remove the limits that stop the player rolling critical successes/misses in the first few days of game time
RemoveCriticalTimelimits=0 RemoveCriticalTimelimits=0
;Change the colour of the font used on the main menu for the Fallout/sfall version number and copyright text ;Change the colour of the font used on the main menu for the Fallout/sfall version string and copyright text
;It's the last byte ('3C' by default) that picks the colour used. The first byte supplies additional flags for this option ;It's the last byte ('3C' by default) that picks the colour used. The first byte supplies additional flags for this option
;1 - change the colour for the version string only
;2 - underline text for the version string
;4 - use monospace font for the version string
;MainMenuFontColour=0x00003C ;MainMenuFontColour=0x00003C
;Change the colour of the font used on the main menu for the button text ;Change the colour of the font used on the main menu for the button text
;MainMenuBigFontColour=0x3C ;MainMenuBigFontColour=0x3C
+1 -1
View File
@@ -769,7 +769,7 @@ static void UseWalkDistancePatch() {
int distance = IniReader::GetConfigInt("Misc", "UseWalkDistance", 3) + 2; int distance = IniReader::GetConfigInt("Misc", "UseWalkDistance", 3) + 2;
if (distance > 1 && distance < 5) { if (distance > 1 && distance < 5) {
dlog("Applying walk distance for using objects patch.", DL_INIT); dlog("Applying walk distance for using objects patch.", DL_INIT);
SafeWriteBatch<BYTE>(distance, {0x411FF0, 0x4121C4, 0x412475, 0x412906}); // default is 5 SafeWriteBatch<BYTE>(distance, {0x411E41, 0x411FF0, 0x4121C4, 0x412475, 0x412906}); // default is 5
dlogr(" Done", DL_INIT); dlogr(" Done", DL_INIT);
} }
} }
+2 -2
View File
@@ -25,6 +25,6 @@
#define VERSION_MAJOR 4 #define VERSION_MAJOR 4
#define VERSION_MINOR 3 #define VERSION_MINOR 3
#define VERSION_BUILD 5 #define VERSION_BUILD 5
#define VERSION_REV 0 #define VERSION_REV 1
#define VERSION_STRING "4.3.5" #define VERSION_STRING "4.3.5.1"