mirror of
https://github.com/sfall-team/sfall.git
synced 2026-07-27 16:52:34 -07:00
Fixed showing game movies and subtitles for DX9 mode when not using the hi-res patch, and added logging messages for DX9 mode (from Mr.Stalin)
Changed DisplayNPCExtraInfo to PartyMemberExtraInfo.
This commit is contained in:
+1
-1
@@ -630,7 +630,7 @@ FullItemDescInBarter=0
|
||||
DisplaySwiftLearnerExp=1
|
||||
|
||||
;Set to 1 to display party member's current level/AC/addict flag on the combat control panel
|
||||
DisplayNPCExtraInfo=0
|
||||
PartyMemberExtraInfo=0
|
||||
|
||||
;Set to 1 to prevent the inventory/loot/automap interfaces from being placed on top of other script-created windows
|
||||
InterfaceDontMoveOnTop=0
|
||||
|
||||
+212
-128
File diff suppressed because it is too large
Load Diff
@@ -27,6 +27,7 @@ class Graphics : public Module {
|
||||
public:
|
||||
const char* name() { return "Graphics"; }
|
||||
void init();
|
||||
void exit() override;
|
||||
|
||||
static DWORD mode;
|
||||
};
|
||||
|
||||
@@ -274,7 +274,7 @@ void PartyControl::init() {
|
||||
HookCalls(pc_flag_toggle_hook, { 0x4124F1, 0x41279A });
|
||||
|
||||
// display party member's current level & AC & addict flag
|
||||
if (GetConfigInt("Misc", "DisplayNPCExtraInfo", 0)) {
|
||||
if (GetConfigInt("Misc", "PartyMemberExtraInfo", 0)) {
|
||||
dlog("Applying display NPC extra info patch.", DL_INIT);
|
||||
HookCall(0x44926F, gdControlUpdateInfo_hook);
|
||||
Translate("sfall", "PartyLvlMsg", "Lvl:", levelMsg, 12);
|
||||
|
||||
Reference in New Issue
Block a user