Added a new argument to HOOK_ADJUSTFID.

Fixed incorrect FRM being displayed for opened bag/backpack in the
inventory when Hero Appearance Mod is enabled (#262)

Fixed MainMenuFontColour not changing the font color for the copyright
text on the main menu (#261)

Code correction in main.cpp.
This commit is contained in:
NovaRain
2019-08-22 13:12:32 +08:00
parent 9fea48093e
commit 477ff9668c
8 changed files with 41 additions and 35 deletions
+1 -1
View File
@@ -503,7 +503,7 @@ RemoveCriticalTimelimits=0
;Set to 1 to enable party members with level 6 protos to reach level 6
NPCStage6Fix=0
;Change the colour of the font used on the main menu for the Fallout/sfall version number
;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
;MainMenuFontColour=0x0600003c
+2 -1
View File
@@ -452,7 +452,8 @@ Also happens on other screens, like barter.
NOTE: FID has following format: 0x0ABBCDDD, where A is object type, BB - animation code (always 0 in this case), C - weapon code, DDD - FRM index in LST file.
int arg1 - the vanilla fid calculated by the engine according to critter base FID and armor/weapon being used
int arg1 - the vanilla FID calculated by the engine according to critter base FID and armor/weapon being used
int arg2 - the modified FID calculated by the internal sfall code (like Hero Appearance Mod)
int ret1 - overrides the calculated FID with provided value