Changeset View
Changeset View
Standalone View
Standalone View
source/gameengine/Ketsji/KX_Scene.cpp
| Show First 20 Lines • Show All 141 Lines • ▼ Show 20 Lines | |||||
| extern bool gUseVisibilityTemp; | extern bool gUseVisibilityTemp; | ||||
| KX_Scene::KX_Scene(class SCA_IInputDevice* keyboarddevice, | KX_Scene::KX_Scene(class SCA_IInputDevice* keyboarddevice, | ||||
| class SCA_IInputDevice* mousedevice, | class SCA_IInputDevice* mousedevice, | ||||
| class NG_NetworkDeviceInterface *ndi, | class NG_NetworkDeviceInterface *ndi, | ||||
| const STR_String& sceneName, | const STR_String& sceneName, | ||||
| Scene *scene, | Scene *scene, | ||||
| class RAS_ICanvas* canvas): | class RAS_ICanvas* canvas): | ||||
| PyObjectPlus(), | CValue(), | ||||
| m_keyboardmgr(NULL), | m_keyboardmgr(NULL), | ||||
| m_mousemgr(NULL), | m_mousemgr(NULL), | ||||
| m_sceneConverter(NULL), | m_sceneConverter(NULL), | ||||
| m_physicsEnvironment(0), | m_physicsEnvironment(0), | ||||
| m_sceneName(sceneName), | m_sceneName(sceneName), | ||||
| m_networkDeviceInterface(ndi), | m_networkDeviceInterface(ndi), | ||||
| m_active_camera(NULL), | m_active_camera(NULL), | ||||
| m_ueberExecutionPriority(0), | m_ueberExecutionPriority(0), | ||||
| ▲ Show 20 Lines • Show All 140 Lines • ▼ Show 20 Lines | #ifdef WITH_PYTHON | ||||
| } | } | ||||
| /* these may be NULL but the macro checks */ | /* these may be NULL but the macro checks */ | ||||
| Py_CLEAR(m_draw_call_pre); | Py_CLEAR(m_draw_call_pre); | ||||
| Py_CLEAR(m_draw_call_post); | Py_CLEAR(m_draw_call_post); | ||||
| #endif | #endif | ||||
| } | } | ||||
| CValue* KX_Scene::Calc(VALUE_OPERATOR op, CValue *val) | |||||
| { | |||||
| return NULL; | |||||
| } | |||||
| CValue* KX_Scene::CalcFinal(VALUE_DATA_TYPE dtype, VALUE_OPERATOR op, CValue *val) | |||||
| { | |||||
| return NULL; | |||||
| } | |||||
| const STR_String & KX_Scene::GetText() | |||||
| { | |||||
| return m_sceneName; | |||||
| } | |||||
| double KX_Scene::GetNumber() | |||||
| { | |||||
| return 0; | |||||
| } | |||||
| STR_String& KX_Scene::GetName() | |||||
| { | |||||
| return m_sceneName; | |||||
| } | |||||
| /* Set the name of the value */ | |||||
| void KX_Scene::SetName(const char *name) | |||||
| { | |||||
| m_sceneName = name; | |||||
| } | |||||
| CValue* KX_Scene::GetReplica() | |||||
| { | |||||
| return NULL; | |||||
| } | |||||
| RAS_BucketManager* KX_Scene::GetBucketManager() | RAS_BucketManager* KX_Scene::GetBucketManager() | ||||
| { | { | ||||
| return m_bucketmanager; | return m_bucketmanager; | ||||
| } | } | ||||
| CListValue* KX_Scene::GetTempObjectList() | CListValue* KX_Scene::GetTempObjectList() | ||||
| { | { | ||||
| ▲ Show 20 Lines • Show All 84 Lines • ▼ Show 20 Lines | |||||
| class KX_WorldInfo* KX_Scene::GetWorldInfo() | class KX_WorldInfo* KX_Scene::GetWorldInfo() | ||||
| { | { | ||||
| return m_worldinfo; | return m_worldinfo; | ||||
| } | } | ||||
| const STR_String& KX_Scene::GetName() | |||||
| { | |||||
| return m_sceneName; | |||||
| } | |||||
| void KX_Scene::Suspend() | void KX_Scene::Suspend() | ||||
| { | { | ||||
| m_suspend = true; | m_suspend = true; | ||||
| } | } | ||||
| void KX_Scene::Resume() | void KX_Scene::Resume() | ||||
| { | { | ||||
| m_suspend = false; | m_suspend = false; | ||||
| ▲ Show 20 Lines • Show All 2,137 Lines • Show Last 20 Lines | |||||