From 00291b5cf4a0f16ddca425b74ed30e8ac35d40e2 Mon Sep 17 00:00:00 2001 From: Nathan Letwory Date: Mon, 22 Mar 2004 22:02:18 +0000 Subject: [GameEngine] Commit all Kester's changes made to the gameengine to restore 2.25 like physics. [SCons] Build with Solid as default when enabling the gameengine in the build process [SCons] Build solid and qhull from the extern directory and link statically against them That was about it. There are a few things that needs double checking: * Makefiles * Projectfiles * All the other systems than Linux and Windows on which the build (with scons) has been successfully tested. --- source/gameengine/Ketsji/KX_ClientObjectInfo.h | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'source/gameengine/Ketsji/KX_ClientObjectInfo.h') diff --git a/source/gameengine/Ketsji/KX_ClientObjectInfo.h b/source/gameengine/Ketsji/KX_ClientObjectInfo.h index 0981463ed44..51cb19e8935 100644 --- a/source/gameengine/Ketsji/KX_ClientObjectInfo.h +++ b/source/gameengine/Ketsji/KX_ClientObjectInfo.h @@ -35,12 +35,21 @@ /** * Client Type and Additional Info. This structure can be use instead of a bare void* pointer, for safeness, and additional info for callbacks */ - struct KX_ClientObjectInfo { - int m_type; + enum { + STATIC, + ACTOR, + RESERVED1, + RADAR, + NEAR + } m_type; void* m_clientobject; void* m_auxilary_info; +public: + KX_ClientObjectInfo(void *clientobject) : + m_clientobject(clientobject) + {} }; #endif //__KX_CLIENTOBJECT_INFO_H -- cgit v1.2.3