Page 1 of 1

ISXEQItemDisplay compile fix for 20121128a

Posted: Wed Nov 28, 2012 11:57 pm
by iluvseq

Code: Select all

--- MQ2-20121128a/MQ2ItemDisplay/ISXEQItemDisplay.cpp   2009-10-11 13:21:04.000000000 -0400
+++ mq2_iluvseq/MQ2ItemDisplay/ISXEQItemDisplay.cpp  2012-11-28 23:54:28.713697700 -0500
@@ -67,9 +67,10 @@
     RegisterServices();
     EzDetour(CItemDisplayWnd__SetSpell,&ItemDisplayHook::SetSpell_Detour,&ItemDisplayHook::SetSpell_Trampoline);
     EzDetour(CItemDisplayWnd__UpdateStrings, &ItemDisplayHook::UpdateStrings_Detour, &ItemDisplayHook::UpdateStrings_Trampoline);
+#ifndef DISABLE_TOOLTIP_TIMERS
     EzDetour(CXWnd__DrawTooltipAtPoint,&XWndHook::DrawTooltipAtPoint_Detour,&XWndHook::DrawTooltipAtPoint_Trampoline);
     EzDetour(CInvSlotWnd__DrawTooltip, &InvSlotWndHook::DrawTooltip_Detour, &InvSlotWndHook::DrawTooltip_Trampoline);
-
+#endif
     WriteChatf("ISXEQItemDisplay Loaded");
     return true;
 }

Re: ISXEQItemDisplay compile fix for 20121128a

Posted: Tue Dec 04, 2012 2:27 pm
by iluvseq
Also the following patch fixes loading of MacroQuest.ini for ISXEQ so that things like caption display etc can be controlled from the INI just like normal MQ2.

Code: Select all

--- MQ2-20121203a/MQ2Main/ISXEQ/ISXEQ.cpp       2012-11-05 18:43:00.000000000 -0500
+++ mq2_iluvseq/MQ2Main/ISXEQ/ISXEQ.cpp      2012-12-04 11:30:45.006151600 -0500
@@ -118,7 +117,7 @@
        RegisterTopLevelObjects();
     RegisterServices();
        HookMemChecker(TRUE);
-       strcpy(gszINIPath,INIFileName);
+       strcpy(gszINIPath,ModulePath);
        MQ2Initialize();
        printf("ISXEQ Loaded");
        return true;
MacroQuest.ini must be in the same folder as ISXEQ.dll