1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2025-07-06 08:57:11 +02:00

Initial implemenattion of routines.

This commit is contained in:
Sandu Liviu Catalin
2016-02-21 09:25:46 +02:00
parent a26e5db7ae
commit 1f62e1f88b
5 changed files with 839 additions and 3 deletions

View File

@ -2,6 +2,7 @@
#include "Core.hpp"
#include "Logger.hpp"
#include "Command.hpp"
#include "Routine.hpp"
// ------------------------------------------------------------------------------------------------
#include "Entity/Blip.hpp"
@ -334,7 +335,7 @@ void Core::Terminate()
// Release all resources from command manager
_Cmd->Terminate();
// Release all resources from routines
//Routine::Cleanup();
Routine::Cleanup();
// Is there a VM to close?
if (m_VM)
{
@ -1663,7 +1664,7 @@ void Core::EmitForcefieldExited(Int32 player, Int32 forcefield)
void Core::EmitServerFrame(Float32 delta)
{
Emit(mOnServerFrame, delta);
//Routine::Process();
Routine::Process();
}
void Core::EmitServerStartup()