It also includes the config file fix so that ISXEQ will load MacroQuest.ini for run-time configuration.
Code: Select all
diff -cr MQ2-20150516/MQ2Main/ISXEQ/ISXEQ.cpp mq2_cz/MQ2Main/ISXEQ/ISXEQ.cpp
*** MQ2-20150516/MQ2Main/ISXEQ/ISXEQ.cpp 2014-09-27 10:58:50.000000000 -0400
--- mq2_cz/MQ2Main/ISXEQ/ISXEQ.cpp 2015-05-17 20:56:20.252992500 -0400
***************
*** 139,145 ****
RegisterTopLevelObjects();
RegisterServices();
HookMemChecker(TRUE);
! strcpy(gszINIPath,INIFileName);
MQ2Initialize();
printf("ISXEQ Loaded");
return true;
--- 139,145 ----
RegisterTopLevelObjects();
RegisterServices();
HookMemChecker(TRUE);
! strcpy(gszINIPath,ModulePath);
MQ2Initialize();
printf("ISXEQ Loaded");
return true;
***************
*** 229,235 ****
_var_->SetInheritance(_inherits_); \
}
// NOTE: SetInheritance does NOT make it inherit, just notifies the syntax checker...
! #include "DataTypeList.h"
#undef DATATYPE
}
--- 229,235 ----
_var_->SetInheritance(_inherits_); \
}
// NOTE: SetInheritance does NOT make it inherit, just notifies the syntax checker...
! #include "..\DataTypeList.h"
#undef DATATYPE
}
***************
*** 308,314 ****
pISInterface->RemoveLSType(*_var_); \
delete _var_; \
}
! #include "DataTypeList.h"
#undef DATATYPE
}
void CISXEQ::UnRegisterTopLevelObjects()
--- 308,314 ----
pISInterface->RemoveLSType(*_var_); \
delete _var_; \
}
! #include "..\DataTypeList.h"
#undef DATATYPE
}
void CISXEQ::UnRegisterTopLevelObjects()
diff -cr MQ2-20150516/MQ2Main/MQ2Utilities.cpp mq2_cz/MQ2Main/MQ2Utilities.cpp
*** MQ2-20150516/MQ2Main/MQ2Utilities.cpp 2015-05-16 13:04:26.000000000 -0400
--- mq2_cz/MQ2Main/MQ2Utilities.cpp 2015-05-17 09:44:27.939260100 -0400
***************
*** 7614,7622 ****
--- 7614,7624 ----
((CXWnd*)krwnd)->Show(0,1);
((CSidlScreenWnd*)krwnd)->StoreIniVis();
}
+ #ifndef ISXEQ
if(bUseCmd && ((CSidlScreenWnd*)clist)->Items) {
UseItemCmd(GetCharInfo()->pSpawn,szItemName);
}
+ #endif
}
}
}


