Changeset View
Changeset View
Standalone View
Standalone View
source/gameengine/Ketsji/KX_KetsjiEngine.h
| Show All 38 Lines | |||||
| #include "KX_ISystem.h" | #include "KX_ISystem.h" | ||||
| #include "KX_Scene.h" | #include "KX_Scene.h" | ||||
| #include "KX_Python.h" | #include "KX_Python.h" | ||||
| #include "KX_WorldInfo.h" | #include "KX_WorldInfo.h" | ||||
| #include <vector> | #include <vector> | ||||
| struct TaskScheduler; | struct TaskScheduler; | ||||
| class KX_TimeCategoryLogger; | class KX_TimeCategoryLogger; | ||||
| class CListValue; | |||||
| #define LEFT_EYE 1 | #define LEFT_EYE 1 | ||||
| #define RIGHT_EYE 2 | #define RIGHT_EYE 2 | ||||
| enum KX_ExitRequestMode | enum KX_ExitRequestMode | ||||
| { | { | ||||
| KX_EXIT_REQUEST_NO_REQUEST = 0, | KX_EXIT_REQUEST_NO_REQUEST = 0, | ||||
| KX_EXIT_REQUEST_QUIT_GAME, | KX_EXIT_REQUEST_QUIT_GAME, | ||||
| Show All 36 Lines | #endif | ||||
| /** Lists of overley scenes scheduled to be added at the end of the frame. */ | /** Lists of overley scenes scheduled to be added at the end of the frame. */ | ||||
| std::vector<STR_String> m_addingOverlayScenes; | std::vector<STR_String> m_addingOverlayScenes; | ||||
| /** Lists of background scenes scheduled to be added at the end of the frame. */ | /** Lists of background scenes scheduled to be added at the end of the frame. */ | ||||
| std::vector<STR_String> m_addingBackgroundScenes; | std::vector<STR_String> m_addingBackgroundScenes; | ||||
| /** Lists of scenes scheduled to be replaced at the end of the frame. */ | /** Lists of scenes scheduled to be replaced at the end of the frame. */ | ||||
| std::vector<std::pair<STR_String,STR_String> > m_replace_scenes; | std::vector<std::pair<STR_String,STR_String> > m_replace_scenes; | ||||
| /* The current list of scenes. */ | /* The current list of scenes. */ | ||||
| KX_SceneList m_scenes; | CListValue* m_scenes; | ||||
| /* State variable recording the presence of object debug info in the current scene list. */ | /* State variable recording the presence of object debug info in the current scene list. */ | ||||
| bool m_propertiesPresent; | bool m_propertiesPresent; | ||||
| bool m_bInitialized; | bool m_bInitialized; | ||||
| int m_activecam; | int m_activecam; | ||||
| bool m_bFixedTime; | bool m_bFixedTime; | ||||
| ▲ Show 20 Lines • Show All 140 Lines • ▼ Show 20 Lines | #endif | ||||
| void StopEngine(); | void StopEngine(); | ||||
| void Export(const STR_String& filename); | void Export(const STR_String& filename); | ||||
| void RequestExit(int exitrequestmode); | void RequestExit(int exitrequestmode); | ||||
| void SetNameNextGame(const STR_String& nextgame); | void SetNameNextGame(const STR_String& nextgame); | ||||
| int GetExitCode(); | int GetExitCode(); | ||||
| const STR_String& GetExitString(); | const STR_String& GetExitString(); | ||||
| KX_SceneList* CurrentScenes(); | CListValue* CurrentScenes(); | ||||
| KX_Scene* FindScene(const STR_String& scenename); | KX_Scene* FindScene(const STR_String& scenename); | ||||
| void AddScene(class KX_Scene* scene); | void AddScene(class KX_Scene* scene); | ||||
| void ConvertAndAddScene(const STR_String& scenename,bool overlay); | void ConvertAndAddScene(const STR_String& scenename,bool overlay); | ||||
| void RemoveScene(const STR_String& scenename); | void RemoveScene(const STR_String& scenename); | ||||
| bool ReplaceScene(const STR_String& oldscene,const STR_String& newscene); | bool ReplaceScene(const STR_String& oldscene,const STR_String& newscene); | ||||
| void SuspendScene(const STR_String& scenename); | void SuspendScene(const STR_String& scenename); | ||||
| void ResumeScene(const STR_String& scenename); | void ResumeScene(const STR_String& scenename); | ||||
| ▲ Show 20 Lines • Show All 231 Lines • Show Last 20 Lines | |||||