From 703073e25598ee6f63a6ac9733e67730f84c77dc Mon Sep 17 00:00:00 2001 From: NovaRain Date: Thu, 4 Jun 2020 06:37:51 +0800 Subject: [PATCH] Increased the max width of the player name on the char screen (#305) Updated version number. --- artifacts/ddraw.ini | 2 +- sfall/Modules/MiscPatches.cpp | 5 ++++- sfall/version.h | 6 +++--- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/artifacts/ddraw.ini b/artifacts/ddraw.ini index 318dfe8c..c9a44e11 100644 --- a/artifacts/ddraw.ini +++ b/artifacts/ddraw.ini @@ -1,5 +1,5 @@ ;sfall configuration settings -;v4.2.5 +;v4.2.6 [Main] ;Change to 1 if you want to use command line args to tell sfall to use another ini file. diff --git a/sfall/Modules/MiscPatches.cpp b/sfall/Modules/MiscPatches.cpp index 5d635c3f..61569021 100644 --- a/sfall/Modules/MiscPatches.cpp +++ b/sfall/Modules/MiscPatches.cpp @@ -701,7 +701,10 @@ void MiscPatches::init() { // Highlight "Radiated" in red color when the player is under the influence of negative effects of radiation HookCalls(ListDrvdStats_hook, {0x43549C, 0x4354BE}); - // Increase the max text width of the information card in the character screen + // Increase the max text width of the player name on the character screen + SafeWriteBatch(127, {0x435160, 0x435189}); // 100 + + // Increase the max text width of the information card on the character screen SafeWriteBatch(145, {0x43ACD5, 0x43DD37}); // 136, 133 F1EngineBehaviorPatch(); diff --git a/sfall/version.h b/sfall/version.h index 5f41a86b..e384ef01 100644 --- a/sfall/version.h +++ b/sfall/version.h @@ -24,7 +24,7 @@ #define VERSION_MAJOR 4 #define VERSION_MINOR 2 -#define VERSION_BUILD 5 -#define VERSION_REV 2 +#define VERSION_BUILD 6 +#define VERSION_REV 0 -#define VERSION_STRING "4.2.5.2" +#define VERSION_STRING "4.2.6"