soc-2008-mxcurioni: merged changes to revision 23516
[blender.git] / source / gameengine / GameLogic / SCA_AlwaysEventManager.h
index a619eecddd4cb377886d04ce5dbec9e83b9a8a73..f7fb3b9714e5f7d86959e83b2011f2b88a22ecf5 100644 (file)
 using namespace std;
 class SCA_AlwaysEventManager : public SCA_EventManager
 {
-       
-       class SCA_LogicManager* m_logicmgr;
 public:
        SCA_AlwaysEventManager(class SCA_LogicManager* logicmgr);
        virtual void NextFrame();
 
 
+#ifdef WITH_CXX_GUARDEDALLOC
+public:
+       void *operator new( unsigned int num_bytes) { return MEM_mallocN(num_bytes, "GE:SCA_AlwaysEventManager"); }
+       void operator delete( void *mem ) { MEM_freeN(mem); }
+#endif
 };
 
 #endif //__KX_ALWAYSEVENTMGR