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:25:38 +08:00
parent ce82348a15
commit 2578963f7d
3 changed files with 7 additions and 4 deletions
+4 -1
View File
@@ -1,5 +1,5 @@
;sfall configuration settings ;sfall configuration settings
;v3.8.35 ;v3.8.35.1
[Main] [Main]
;Set to 1 if you want to use command line arguments to tell sfall to use another ini file ;Set to 1 if you want to use command line arguments to tell sfall to use another ini file
@@ -527,6 +527,9 @@ 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 number 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
@@ -748,7 +748,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);
const DWORD walkDistanceAddr[] = {0x411FF0, 0x4121C4, 0x412475, 0x412906}; const DWORD walkDistanceAddr[] = {0x411E41, 0x411FF0, 0x4121C4, 0x412475, 0x412906};
SafeWriteBatch<BYTE>(distance, walkDistanceAddr); // default is 5 SafeWriteBatch<BYTE>(distance, walkDistanceAddr); // default is 5
dlogr(" Done", DL_INIT); dlogr(" Done", DL_INIT);
} }
+2 -2
View File
@@ -25,6 +25,6 @@
#define VERSION_MAJOR 3 #define VERSION_MAJOR 3
#define VERSION_MINOR 8 #define VERSION_MINOR 8
#define VERSION_BUILD 35 #define VERSION_BUILD 35
#define VERSION_REV 0 #define VERSION_REV 1
#define VERSION_STRING "3.8.35" #define VERSION_STRING "3.8.35.1"