Blender V2.61 - r43446
|
#include <GPC_Engine.h>
Definition at line 48 of file GPC_Engine.h.
GPC_Engine::GPC_Engine | ( | char * | customLoadingAnimation, |
int | foregroundColor, | ||
int | backgroundColor, | ||
int | frameRate | ||
) |
Definition at line 69 of file GPC_Engine.cpp.
References GPC_RawImage::alignBottomRight, GPC_RawImage::alignTopLeft, GPC_RawImage::Load(), m_Blender3DLogo, m_BlenderLogo, and m_customLoadingAnimationURL.
GPC_Engine::~GPC_Engine | ( | ) | [virtual] |
Definition at line 110 of file GPC_Engine.cpp.
References m_Blender3DLogo, m_BlenderLogo, m_canvas, m_keyboarddev, m_mousedev, m_networkdev, m_rendertools, and m_system.
float GPC_Engine::DetermineProgress | ( | void | ) | [virtual] |
Definition at line 229 of file GPC_Engine.cpp.
References m_previousProgress.
Referenced by UpdateLoadingAnimation().
void GPC_Engine::Exit | ( | ) | [virtual] |
Definition at line 306 of file GPC_Engine.cpp.
References m_canvas, m_initialized, m_keyboarddev, m_mousedev, m_networkdev, m_rendertools, m_running, m_system, and Stop().
bool GPC_Engine::Initialized | ( | void | ) | [inline] |
Definition at line 112 of file GPC_Engine.h.
References m_initialized.
bool GPC_Engine::Loading | ( | void | ) | [inline] |
Definition at line 113 of file GPC_Engine.h.
References m_loading.
bool GPC_Engine::Running | ( | void | ) | const [inline] |
Definition at line 114 of file GPC_Engine.h.
References m_running.
bool GPC_Engine::Start | ( | const char * | filename | ) |
Definition at line 134 of file GPC_Engine.cpp.
References BKE_reports_clear(), BKE_reports_init(), BLENFILETYPE_PUB, BLO_read_from_file(), m_canvas, RPT_STORE, GPC_Canvas::SetBannerDisplayEnabled(), and BlendFileData::type.
Referenced by StartLoadingAnimation().
bool GPC_Engine::Start | ( | unsigned char * | blenderDataBuffer, |
unsigned int | blenderDataBufferSize | ||
) |
Definition at line 158 of file GPC_Engine.cpp.
References BKE_reports_clear(), BKE_reports_init(), BLENFILETYPE_PUB, BLO_read_from_memory(), m_canvas, RPT_STORE, GPC_Canvas::SetBannerDisplayEnabled(), and BlendFileData::type.
void GPC_Engine::StartLoadingAnimation | ( | ) |
Definition at line 211 of file GPC_Engine.cpp.
References GetRawLoadingAnimation(), m_customLoadingAnimation, and Start().
void GPC_Engine::Stop | ( | ) |
Definition at line 279 of file GPC_Engine.cpp.
References m_running, and m_sceneconverter.
Referenced by Exit().
void GPC_Engine::UpdateLoadingAnimation | ( | void | ) |
Definition at line 248 of file GPC_Engine.cpp.
References DetermineProgress(), STR_String::Format(), m_networkdev, m_previousProgress, NG_NetworkMessage::Release(), and NG_LoopBackNetworkDeviceInterface::SendNetworkMessage().
Definition at line 86 of file GPC_Engine.h.
Definition at line 91 of file GPC_Engine.h.
Referenced by GPC_Engine(), and ~GPC_Engine().
Definition at line 92 of file GPC_Engine.h.
Definition at line 89 of file GPC_Engine.h.
Referenced by GPC_Engine(), and ~GPC_Engine().
Definition at line 90 of file GPC_Engine.h.
The game engine's canvas abstraction.
Definition at line 72 of file GPC_Engine.h.
Referenced by Exit(), Start(), and ~GPC_Engine().
struct ScrArea* GPC_Engine::m_curarea |
Definition at line 82 of file GPC_Engine.h.
Definition at line 60 of file GPC_Engine.h.
Referenced by StartLoadingAnimation().
Definition at line 84 of file GPC_Engine.h.
Referenced by GPC_Engine().
Definition at line 85 of file GPC_Engine.h.
Definition at line 87 of file GPC_Engine.h.
Engine construction state.
Definition at line 53 of file GPC_Engine.h.
Referenced by Exit(), and Initialized().
The game engine's keyboard abstraction.
Definition at line 68 of file GPC_Engine.h.
Referenced by Exit(), and ~GPC_Engine().
loading state, ie a file is requested and is being loaded. Different from initialized and/or running
Definition at line 58 of file GPC_Engine.h.
Referenced by Loading().
The game engine's mouse abstraction.
Definition at line 70 of file GPC_Engine.h.
Referenced by Exit(), and ~GPC_Engine().
Network interface.
Definition at line 80 of file GPC_Engine.h.
Referenced by Exit(), UpdateLoadingAnimation(), and ~GPC_Engine().
KetsjiPortal* GPC_Engine::m_portal |
The portal used to start the engine.
Definition at line 76 of file GPC_Engine.h.
Last file download progress measurement.
Definition at line 63 of file GPC_Engine.h.
Referenced by DetermineProgress(), and UpdateLoadingAnimation().
The game engine's platform dependent render tools.
Definition at line 74 of file GPC_Engine.h.
Referenced by Exit(), and ~GPC_Engine().
Engine state.
Definition at line 55 of file GPC_Engine.h.
The game engine's system abstraction.
Definition at line 66 of file GPC_Engine.h.
Referenced by Exit(), and ~GPC_Engine().