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:
NovaRain
2018-10-19 10:27:00 +08:00
parent 851e9b6d59
commit 1ac8825b1b
4 changed files with 215 additions and 130 deletions
+1 -1
View File
@@ -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
View File
File diff suppressed because it is too large Load Diff
+1
View File
@@ -27,6 +27,7 @@ class Graphics : public Module {
public:
const char* name() { return "Graphics"; }
void init();
void exit() override;
static DWORD mode;
};
+1 -1
View File
@@ -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);