diff options
author | Benoit Bolsee <benoit.bolsee@online.be> | 2009-11-16 02:58:56 +0300 |
---|---|---|
committer | Benoit Bolsee <benoit.bolsee@online.be> | 2009-11-16 02:58:56 +0300 |
commit | b45ab480e07931406785c8fc877e7cee849c8998 (patch) | |
tree | 88dbf52d49d1a3c26a5f4683517cfd3d7d7adcbf /source/gameengine/SceneGraph | |
parent | 349fa813eaf413cd2f472e545e7ce2cb6b087b1c (diff) |
BGE: dynamic loading patch commited. API and demo files available here: https://projects.blender.org/tracker/?func=detail&aid=19492&group_id=9&atid=127
Diffstat (limited to 'source/gameengine/SceneGraph')
-rw-r--r-- | source/gameengine/SceneGraph/SG_IObject.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/source/gameengine/SceneGraph/SG_IObject.h b/source/gameengine/SceneGraph/SG_IObject.h index 23e6c1e9c99..523be0ef279 100644 --- a/source/gameengine/SceneGraph/SG_IObject.h +++ b/source/gameengine/SceneGraph/SG_IObject.h @@ -241,6 +241,22 @@ public: m_SGclientObject = clientObject; } + + /* needed for scene switching */ + inline const void* GetSGClientInfo() const + { + return m_SGclientInfo; + } + inline void* GetSGClientInfo() + { + return m_SGclientInfo; + } + void SetSGClientInfo(void* clientInfo) + { + m_SGclientInfo = clientInfo; + } + + /** * Set the current simulation time for this node. * The implementation of this function runs through |