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
+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