Blender V2.61 - r43446
Public Member Functions | Public Attributes

GPC_Engine Class Reference

#include <GPC_Engine.h>

List of all members.

Public Member Functions

 GPC_Engine (char *customLoadingAnimation, int foregroundColor, int backgroundColor, int frameRate)
virtual ~GPC_Engine ()
void StartLoadingAnimation ()
bool Start (const char *filename)
bool Start (unsigned char *blenderDataBuffer, unsigned int blenderDataBufferSize)
void Stop ()
virtual void Exit ()
bool Initialized (void)
bool Loading (void)
bool Running (void) const
virtual float DetermineProgress (void)
void UpdateLoadingAnimation (void)

Public Attributes

bool m_initialized
bool m_running
bool m_loading
bool m_customLoadingAnimation
float m_previousProgress
GPC_Systemm_system
GPC_KeyboardDevicem_keyboarddev
GPC_MouseDevicem_mousedev
GPC_Canvasm_canvas
RAS_IRenderToolsm_rendertools
KetsjiPortal * m_portal
KX_ISceneConverterm_sceneconverter
NG_LoopBackNetworkDeviceInterfacem_networkdev
struct ScrAream_curarea
char * m_customLoadingAnimationURL
int m_foregroundColor
int m_backgroundColor
int m_frameRate
GPC_RawImagem_BlenderLogo
GPC_Canvas::TBannerId m_BlenderLogoId
GPC_RawImagem_Blender3DLogo
GPC_Canvas::TBannerId m_Blender3DLogoId

Detailed Description

Definition at line 48 of file GPC_Engine.h.


Constructor & Destructor Documentation

GPC_Engine::GPC_Engine ( char *  customLoadingAnimation,
int  foregroundColor,
int  backgroundColor,
int  frameRate 
)
GPC_Engine::~GPC_Engine ( ) [virtual]

Member Function Documentation

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]
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)
bool GPC_Engine::Start ( unsigned char *  blenderDataBuffer,
unsigned int  blenderDataBufferSize 
)
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  )

Member Data Documentation

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().

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.

Referenced by Exit(), Running(), and Stop().

Converts Blender data files.

Definition at line 78 of file GPC_Engine.h.

Referenced by Stop().

The game engine's system abstraction.

Definition at line 66 of file GPC_Engine.h.

Referenced by Exit(), and ~GPC_Engine().


The documentation for this class was generated from the following files: