Torque3D/Engine/lib/bullet/examples/ThirdPartyLibs/Gwen/Hook.cpp
marauder2k7 13fa178cf6 update bullet so it actually works
Moved the addSourceDirectory for physics/Bullet into the Engine/Source/CMakeLists.txt file that way it can actually appear where we expect it to in the solution explorer.
2026-06-03 15:08:51 +01:00

31 lines
No EOL
428 B
C++

/*
GWEN
Copyright (c) 2010 Facepunch Studios
See license in Gwen.h
*/
#include "Gwen/Hook.h"
#ifdef GWEN_HOOKSYSTEM
using namespace Gwen;
using namespace Gwen::Hook;
std::list<BaseHook*> g_HookList;
void Gwen::Hook::AddHook(BaseHook* pHook)
{
g_HookList.push_back(pHook);
}
void Gwen::Hook::RemoveHook(BaseHook* pHook)
{
g_HookList.remove(pHook);
}
HookList& Gwen::Hook::GetHookList()
{
return g_HookList;
}
#endif