Ult3D
Implementation of "Ultimate 3D Game Engine Design & Architecture" by Allan Sherrod
Loading...
Searching...
No Matches
Walkthrough3D Class Referenceabstract

#include <Walkthrough.h>

Inheritance diagram for Walkthrough3D:
WalkthroughSDL

Public Member Functions

 Walkthrough3D ()
 
virtual ~Walkthrough3D ()
 
void Resize (int width, int height)
 
virtual bool GameInitialize (Ult::RenderParams &params)
 
virtual void GameUpdate ()
 
void GameRender ()
 
virtual void GameShutdown ()
 
virtual int EnterGameLoop ()=0
 

Protected Member Functions

void ProcessMainMenu ()
 
void ProcessGameLevel ()
 
void RenderSector (int index)
 

Protected Attributes

Ult::OpenGLRenderer mRender
 
Sector mAreas [TOTAL_SECTORS]
 
bool mAreaFlags [TOTAL_SECTORS]
 
Ult::Camera mCamera
 
Ult::Frustum mViewFrustum
 
Ult::ModelData mMenu
 
Ult::Texture mMenuTexture
 
WALKTHROUGH_GAME_STATE mCurrentGameState
 
bool mButtonKeys [WT_TOTAL_KEYS]
 
int mWidth
 
int mHeight
 
bool mQuitDemo
 

Constructor & Destructor Documentation

◆ Walkthrough3D()

Walkthrough3D::Walkthrough3D ( )

◆ ~Walkthrough3D()

Walkthrough3D::~Walkthrough3D ( )
virtual

Member Function Documentation

◆ EnterGameLoop()

virtual int Walkthrough3D::EnterGameLoop ( )
pure virtual

Implemented in WalkthroughSDL.

◆ GameInitialize()

bool Walkthrough3D::GameInitialize ( Ult::RenderParams & params)
virtual

◆ GameRender()

void Walkthrough3D::GameRender ( )

◆ GameShutdown()

void Walkthrough3D::GameShutdown ( )
virtual

◆ GameUpdate()

void Walkthrough3D::GameUpdate ( )
virtual

◆ ProcessGameLevel()

void Walkthrough3D::ProcessGameLevel ( )
protected

◆ ProcessMainMenu()

void Walkthrough3D::ProcessMainMenu ( )
protected

◆ RenderSector()

void Walkthrough3D::RenderSector ( int index)
protected

◆ Resize()

void Walkthrough3D::Resize ( int width,
int height )

Member Data Documentation

◆ mAreaFlags

bool Walkthrough3D::mAreaFlags[TOTAL_SECTORS]
protected

◆ mAreas

Sector Walkthrough3D::mAreas[TOTAL_SECTORS]
protected

◆ mButtonKeys

bool Walkthrough3D::mButtonKeys[WT_TOTAL_KEYS]
protected

◆ mCamera

Ult::Camera Walkthrough3D::mCamera
protected

◆ mCurrentGameState

WALKTHROUGH_GAME_STATE Walkthrough3D::mCurrentGameState
protected

◆ mHeight

int Walkthrough3D::mHeight
protected

◆ mMenu

Ult::ModelData Walkthrough3D::mMenu
protected

◆ mMenuTexture

Ult::Texture Walkthrough3D::mMenuTexture
protected

◆ mQuitDemo

bool Walkthrough3D::mQuitDemo
protected

◆ mRender

Ult::OpenGLRenderer Walkthrough3D::mRender
protected

◆ mViewFrustum

Ult::Frustum Walkthrough3D::mViewFrustum
protected

◆ mWidth

int Walkthrough3D::mWidth
protected

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