mirror of
https://github.com/Ragora/T2-CPP.git
synced 2026-03-06 14:00:22 +00:00
Allow TSExtension to load under the new modloader - add PlayGUI.project
This commit is contained in:
parent
da08659d72
commit
3862a2f61d
2 changed files with 83 additions and 37 deletions
|
|
@ -253,15 +253,17 @@ __declspec(dllexport) void __fastcall newAIMoveListGenerator(void* This, void* n
|
|||
return;
|
||||
}
|
||||
|
||||
__declspec(dllexport) void ModInitialize(void)
|
||||
{
|
||||
__declspec(dllexport) void ModInitialize(void)
|
||||
{
|
||||
Con::addMethodB(NULL,"enableNewAI",&conEnableNewAI,"Enables the new Move Generation code for the AI", 1,4);
|
||||
Con::addMethodB(NULL,"disableNewAI",&conDisableNewAI,"Disables the new Move Generation code for the AI", 1,4);
|
||||
}
|
||||
|
||||
__declspec(dllexport) void ServerProcess(unsigned int deltaTime)
|
||||
{
|
||||
|
||||
Con::addMethodB(NULL,"disableNewAI",&conDisableNewAI,"Disables the new Move Generation code for the AI", 1,4);
|
||||
|
||||
Py_SetProgramName("AIInterpreter");
|
||||
}
|
||||
|
||||
__declspec(dllexport) void ServerProcess(unsigned int deltaTime)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue