soc-2008-mxcurioni: merged changes to revision 23516
[blender.git] / source / gameengine / GameLogic / SCA_AlwaysEventManager.h
index 28c71512875676fb9f02193e7f25d1ebd98e7873..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();
-       virtual void    RegisterSensor(SCA_ISensor* sensor);
 
 
+#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