18 #ifndef INCLUDED_GAMEVIEW 19 #define INCLUDED_GAMEVIEW 78 void Update(
const float deltaRealTime);
106 #define DECLARE_BOOLEAN_SETTING(NAME) \ 107 bool Get##NAME##Enabled(); \ 108 void Set##NAME##Enabled(bool Enabled); 114 #undef DECLARE_BOOLEAN_SETTING void UnloadResources()
Definition: GameView.cpp:549
The container that holds the rules, resources and attributes of the game.
Definition: Game.h:40
float GetFar() const
Definition: GameView.cpp:1036
void BeginFrame()
Definition: GameView.cpp:473
float GetCameraPosZ()
Definition: GameView.cpp:918
CCinemaManager * GetCinema()
Definition: GameView.cpp:396
float GetCameraPosY()
Definition: GameView.cpp:913
CVector3D GetSmoothPivot(CCamera &camera) const
Definition: GameView.cpp:614
~CGameView()
Definition: GameView.cpp:373
virtual void EnumerateObjects(const CFrustum &frustum, SceneCollector *c)
Send all objects that can be seen when rendering the given frustum to the scene collector.
Definition: GameView.cpp:495
Definition: GameView.cpp:152
void CameraFollow(entity_id_t entity, bool firstPerson)
Definition: GameView.cpp:1020
Definition: ObjectManager.h:37
Definition: Vector3D.h:28
void Render()
Definition: GameView.cpp:487
float GetCameraZoom()
Definition: GameView.cpp:933
float GetCameraRotY()
Definition: GameView.cpp:928
void SetCameraProjection()
Definition: GameView.cpp:1046
float GetCameraX()
Definition: GameView.cpp:894
CGameViewImpl * m
Definition: GameView.h:41
void SetViewport(const SViewPort &vp)
Definition: GameView.cpp:380
void ResetCameraAngleZoom()
Definition: GameView.cpp:1002
This interface accepts renderable objects.
Definition: Scene.h:83
float GetFOV() const
Definition: GameView.cpp:1041
void Update(const float deltaRealTime)
Updates all the view information (i.e.
Definition: GameView.cpp:619
void CheckLightEnv()
Definition: GameView.cpp:526
int Initialize()
Definition: GameView.cpp:411
CGameView(CGame *pGame)
Definition: GameView.cpp:355
Definition: GameView.h:37
CCamera * GetCamera()
Definition: GameView.cpp:391
float GetCameraPosX()
Definition: GameView.cpp:908
virtual CTerritoryTexture & GetTerritoryTexture()
Return the territory texture to be used for rendering this scene.
Definition: GameView.cpp:406
float GetCameraZ()
Definition: GameView.cpp:901
entity_id_t GetFollowedEntity()
Definition: GameView.cpp:1026
void RegisterInit()
Definition: GameView.cpp:462
float GetNear() const
Definition: GameView.cpp:1031
Class for in game playing of cinematics.
Definition: CinemaManager.h:34
virtual CLOSTexture & GetLOSTexture()
Return the LOS texture to be used for rendering this scene.
Definition: GameView.cpp:401
float GetCameraRotX()
Definition: GameView.cpp:923
This interface describes a scene to the renderer.
Definition: Scene.h:52
DECLARE_BOOLEAN_SETTING(Culling)
void SetCamera(CVector3D Pos, float RotX, float RotY, float Zoom)
Definition: GameView.cpp:938
CObjectManager & GetObjectManager() const
Definition: GameView.cpp:386
Maintains the LOS (fog-of-war / shroud-of-darkness) texture, used for rendering and for the minimap...
Definition: LOSTexture.h:32
InReaction HandleEvent(const SDL_Event_ *ev)
Definition: GameView.cpp:1062
InReaction game_view_handler(const SDL_Event_ *ev)
Definition: GameView.cpp:1051
u32 entity_id_t
Entity ID type.
Definition: Entity.h:23
void MoveCameraTarget(const CVector3D &target)
Definition: GameView.cpp:956
Maintains the territory boundary texture, used for rendering and for the minimap. ...
Definition: TerritoryTexture.h:29
void ResetCameraTarget(const CVector3D &target)
Definition: GameView.cpp:978