mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2025-01-31 01:47:16 +01:00
Disable traces of legacy functionality.
This commit is contained in:
parent
d20726621b
commit
4704f6a67d
@ -406,9 +406,9 @@ bool Core::Execute()
|
|||||||
m_LockPostLoadSignal = false;
|
m_LockPostLoadSignal = false;
|
||||||
m_LockUnloadSignal = false;
|
m_LockUnloadSignal = false;
|
||||||
|
|
||||||
cLogDbg(m_Verbosity >= 1, "Signaling outside plug-ins to register their API");
|
//cLogDbg(m_Verbosity >= 1, "Signaling outside plug-ins to register their API");
|
||||||
// Tell modules to do their monkey business
|
// Tell modules to do their monkey business
|
||||||
_Func->SendPluginCommand(0xDEADBABE, "");
|
//_Func->SendPluginCommand(0xDEADBABE, "");
|
||||||
|
|
||||||
// Load pending scripts while we're in the bounds of the allowed recursiveness
|
// Load pending scripts while we're in the bounds of the allowed recursiveness
|
||||||
for (unsigned levels = 0; !m_PendingScripts.empty() && (levels < 8); ++levels)
|
for (unsigned levels = 0; !m_PendingScripts.empty() && (levels < 8); ++levels)
|
||||||
@ -475,9 +475,9 @@ void Core::Terminate(bool shutdown)
|
|||||||
// Clear the callbacks
|
// Clear the callbacks
|
||||||
ResetSignalPair(mOnUnload);
|
ResetSignalPair(mOnUnload);
|
||||||
|
|
||||||
cLogDbg(m_Verbosity >= 1, "Signaling outside plug-ins to release their resources");
|
//cLogDbg(m_Verbosity >= 1, "Signaling outside plug-ins to release their resources");
|
||||||
// Tell modules to do their monkey business
|
// Tell modules to do their monkey business
|
||||||
_Func->SendPluginCommand(0xDEADC0DE, "");
|
//_Func->SendPluginCommand(0xDEADC0DE, "");
|
||||||
}
|
}
|
||||||
cLogDbg(m_Verbosity >= 1, "Clearing the entity containers");
|
cLogDbg(m_Verbosity >= 1, "Clearing the entity containers");
|
||||||
// Release all entity resources by clearing the containers
|
// Release all entity resources by clearing the containers
|
||||||
@ -537,17 +537,17 @@ void Core::Terminate(bool shutdown)
|
|||||||
HSQUIRRELVM sq_vm = m_VM;
|
HSQUIRRELVM sq_vm = m_VM;
|
||||||
m_VM = nullptr;
|
m_VM = nullptr;
|
||||||
|
|
||||||
cLogDbg(m_Verbosity >= 1, "Signaling outside plug-ins the virtual machine is closing");
|
//cLogDbg(m_Verbosity >= 1, "Signaling outside plug-ins the virtual machine is closing");
|
||||||
// Tell modules to do their monkey business
|
// Tell modules to do their monkey business
|
||||||
_Func->SendPluginCommand(0xBAAAAAAD, "");
|
//_Func->SendPluginCommand(0xBAAAAAAD, "");
|
||||||
// Release any callbacks from the logger
|
// Release any callbacks from the logger
|
||||||
Logger::Get().Release();
|
Logger::Get().Release();
|
||||||
// Attempt to close the VM
|
// Attempt to close the VM
|
||||||
sq_close(sq_vm);
|
sq_close(sq_vm);
|
||||||
|
|
||||||
cLogDbg(m_Verbosity >= 1, "Signaling outside plug-ins to release the virtual machine");
|
//cLogDbg(m_Verbosity >= 1, "Signaling outside plug-ins to release the virtual machine");
|
||||||
// Tell modules to do their monkey business
|
// Tell modules to do their monkey business
|
||||||
_Func->SendPluginCommand(0xDEADBEAF, "");
|
//_Func->SendPluginCommand(0xDEADBEAF, "");
|
||||||
}
|
}
|
||||||
|
|
||||||
OutputMessage("Squirrel plug-in was successfully terminated");
|
OutputMessage("Squirrel plug-in was successfully terminated");
|
||||||
|
@ -89,7 +89,7 @@ static uint8_t OnServerInitialise()
|
|||||||
{
|
{
|
||||||
SQMOD_SV_EV_TRACEBACK("[TRACE<] OnServerInitialise")
|
SQMOD_SV_EV_TRACEBACK("[TRACE<] OnServerInitialise")
|
||||||
// Signal outside plug-ins to do fetch our proxies
|
// Signal outside plug-ins to do fetch our proxies
|
||||||
_Func->SendPluginCommand(0xDABBAD00, "%d", 1);
|
//_Func->SendPluginCommand(0xDABBAD00, "%d", 1);
|
||||||
// Attempt to load the module core
|
// Attempt to load the module core
|
||||||
if (Core::Get().Execute())
|
if (Core::Get().Execute())
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user