Pyrogenesis  13997
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Public Attributes | Private Member Functions | List of all members
CGameViewImpl Class Reference

Public Member Functions

 CGameViewImpl (CGame *game)
 

Public Attributes

CGameGame
 
CColladaManager ColladaManager
 
CMeshManager MeshManager
 
CSkeletonAnimManager SkeletonAnimManager
 
CObjectManager ObjectManager
 
CLOSTexture LOSTexture
 
CTerritoryTexture TerritoryTexture
 
CCamera ViewCamera
 this camera controls the eye position when rendering More...
 
CCamera CullCamera
 this camera controls the frustum that is used for culling and shadow calculations More...
 
bool LockCullCamera
 When true, the cull camera is locked in place. More...
 
bool Culling
 When true, culling is enabled so that only models that have a chance of being visible are sent to the renderer. More...
 
bool ConstrainCamera
 Whether the camera movement should be constrained by min/max limits and terrain avoidance. More...
 
CLightEnv CachedLightEnv
 Cache global lighting environment. More...
 
CCinemaManager TrackManager
 
entity_id_t FollowEntity
 Entity for the camera to follow, or INVALID_ENTITY if none. More...
 
bool FollowFirstPerson
 Whether to follow FollowEntity in first-person mode. More...
 
float ViewScrollSpeed
 
float ViewScrollSpeedModifier
 
float ViewRotateXSpeed
 
float ViewRotateXMin
 
float ViewRotateXMax
 
float ViewRotateXDefault
 
float ViewRotateYSpeed
 
float ViewRotateYSpeedWheel
 
float ViewRotateYDefault
 
float ViewRotateSpeedModifier
 
float ViewDragSpeed
 
float ViewZoomSpeed
 
float ViewZoomSpeedWheel
 
float ViewZoomMin
 
float ViewZoomMax
 
float ViewZoomDefault
 
float ViewZoomSpeedModifier
 
float ViewFOV
 
float ViewNear
 
float ViewFar
 
int JoystickPanX
 
int JoystickPanY
 
int JoystickRotateX
 
int JoystickRotateY
 
int JoystickZoomIn
 
int JoystickZoomOut
 
float HeightSmoothness
 
float HeightMin
 
CSmoothedValue PosX
 
CSmoothedValue PosY
 
CSmoothedValue PosZ
 
CSmoothedValue Zoom
 
CSmoothedValue RotateX
 
CSmoothedValue RotateY
 

Private Member Functions

 NONCOPYABLE (CGameViewImpl)
 

Detailed Description

Definition at line 151 of file GameView.cpp.

Constructor & Destructor Documentation

CGameViewImpl::CGameViewImpl ( CGame game)
inline

Definition at line 155 of file GameView.cpp.

Member Function Documentation

CGameViewImpl::NONCOPYABLE ( CGameViewImpl  )
private

Member Data Documentation

CLightEnv CGameViewImpl::CachedLightEnv

Cache global lighting environment.

This is used to check whether the environment has changed during the last frame, so that vertex data can be updated etc.

Definition at line 258 of file GameView.cpp.

CColladaManager CGameViewImpl::ColladaManager

Definition at line 209 of file GameView.cpp.

bool CGameViewImpl::ConstrainCamera

Whether the camera movement should be constrained by min/max limits and terrain avoidance.

Definition at line 252 of file GameView.cpp.

CCamera CGameViewImpl::CullCamera

this camera controls the frustum that is used for culling and shadow calculations

Note that all code that works with camera movements should only change m_ViewCamera. The render functions automatically sync the cull camera to the view camera depending on the value of m_LockCullCamera.

Definition at line 229 of file GameView.cpp.

bool CGameViewImpl::Culling

When true, culling is enabled so that only models that have a chance of being visible are sent to the renderer.

Otherwise, the entire world is sent to the renderer.

Exposed to JS as gameView.culling

Definition at line 246 of file GameView.cpp.

entity_id_t CGameViewImpl::FollowEntity

Entity for the camera to follow, or INVALID_ENTITY if none.

Definition at line 265 of file GameView.cpp.

bool CGameViewImpl::FollowFirstPerson

Whether to follow FollowEntity in first-person mode.

Definition at line 270 of file GameView.cpp.

CGame* CGameViewImpl::Game

Definition at line 208 of file GameView.cpp.

float CGameViewImpl::HeightMin

Definition at line 301 of file GameView.cpp.

float CGameViewImpl::HeightSmoothness

Definition at line 300 of file GameView.cpp.

int CGameViewImpl::JoystickPanX

Definition at line 294 of file GameView.cpp.

int CGameViewImpl::JoystickPanY

Definition at line 295 of file GameView.cpp.

int CGameViewImpl::JoystickRotateX

Definition at line 296 of file GameView.cpp.

int CGameViewImpl::JoystickRotateY

Definition at line 297 of file GameView.cpp.

int CGameViewImpl::JoystickZoomIn

Definition at line 298 of file GameView.cpp.

int CGameViewImpl::JoystickZoomOut

Definition at line 299 of file GameView.cpp.

bool CGameViewImpl::LockCullCamera

When true, the cull camera is locked in place.

When false, the cull camera follows the view camera.

Exposed to JS as gameView.lockCullCamera

Definition at line 237 of file GameView.cpp.

CLOSTexture CGameViewImpl::LOSTexture

Definition at line 213 of file GameView.cpp.

CMeshManager CGameViewImpl::MeshManager

Definition at line 210 of file GameView.cpp.

CObjectManager CGameViewImpl::ObjectManager

Definition at line 212 of file GameView.cpp.

CSmoothedValue CGameViewImpl::PosX

Definition at line 305 of file GameView.cpp.

CSmoothedValue CGameViewImpl::PosY

Definition at line 306 of file GameView.cpp.

CSmoothedValue CGameViewImpl::PosZ

Definition at line 307 of file GameView.cpp.

CSmoothedValue CGameViewImpl::RotateX

Definition at line 309 of file GameView.cpp.

CSmoothedValue CGameViewImpl::RotateY

Definition at line 310 of file GameView.cpp.

CSkeletonAnimManager CGameViewImpl::SkeletonAnimManager

Definition at line 211 of file GameView.cpp.

CTerritoryTexture CGameViewImpl::TerritoryTexture

Definition at line 214 of file GameView.cpp.

CCinemaManager CGameViewImpl::TrackManager

Definition at line 260 of file GameView.cpp.

CCamera CGameViewImpl::ViewCamera

this camera controls the eye position when rendering

Definition at line 219 of file GameView.cpp.

float CGameViewImpl::ViewDragSpeed

Definition at line 284 of file GameView.cpp.

float CGameViewImpl::ViewFar

Definition at line 293 of file GameView.cpp.

float CGameViewImpl::ViewFOV

Definition at line 291 of file GameView.cpp.

float CGameViewImpl::ViewNear

Definition at line 292 of file GameView.cpp.

float CGameViewImpl::ViewRotateSpeedModifier

Definition at line 283 of file GameView.cpp.

float CGameViewImpl::ViewRotateXDefault

Definition at line 279 of file GameView.cpp.

float CGameViewImpl::ViewRotateXMax

Definition at line 278 of file GameView.cpp.

float CGameViewImpl::ViewRotateXMin

Definition at line 277 of file GameView.cpp.

float CGameViewImpl::ViewRotateXSpeed

Definition at line 276 of file GameView.cpp.

float CGameViewImpl::ViewRotateYDefault

Definition at line 282 of file GameView.cpp.

float CGameViewImpl::ViewRotateYSpeed

Definition at line 280 of file GameView.cpp.

float CGameViewImpl::ViewRotateYSpeedWheel

Definition at line 281 of file GameView.cpp.

float CGameViewImpl::ViewScrollSpeed

Definition at line 274 of file GameView.cpp.

float CGameViewImpl::ViewScrollSpeedModifier

Definition at line 275 of file GameView.cpp.

float CGameViewImpl::ViewZoomDefault

Definition at line 289 of file GameView.cpp.

float CGameViewImpl::ViewZoomMax

Definition at line 288 of file GameView.cpp.

float CGameViewImpl::ViewZoomMin

Definition at line 287 of file GameView.cpp.

float CGameViewImpl::ViewZoomSpeed

Definition at line 285 of file GameView.cpp.

float CGameViewImpl::ViewZoomSpeedModifier

Definition at line 290 of file GameView.cpp.

float CGameViewImpl::ViewZoomSpeedWheel

Definition at line 286 of file GameView.cpp.

CSmoothedValue CGameViewImpl::Zoom

Definition at line 308 of file GameView.cpp.


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