Pyrogenesis
13997
|
#include "precompiled.h"
#include "GameView.h"
#include "graphics/Camera.h"
#include "graphics/CinemaTrack.h"
#include "graphics/ColladaManager.h"
#include "graphics/HFTracer.h"
#include "graphics/LightEnv.h"
#include "graphics/LOSTexture.h"
#include "graphics/Model.h"
#include "graphics/ObjectManager.h"
#include "graphics/Patch.h"
#include "graphics/SkeletonAnimManager.h"
#include "graphics/Terrain.h"
#include "graphics/TerrainTextureManager.h"
#include "graphics/TerritoryTexture.h"
#include "graphics/Unit.h"
#include "graphics/UnitManager.h"
#include "graphics/scripting/JSInterface_GameView.h"
#include "lib/input.h"
#include "lib/timer.h"
#include "maths/BoundingBoxAligned.h"
#include "maths/MathUtil.h"
#include "maths/Matrix3D.h"
#include "maths/Quaternion.h"
#include "ps/ConfigDB.h"
#include "ps/Filesystem.h"
#include "ps/Game.h"
#include "ps/Globals.h"
#include "ps/Hotkey.h"
#include "ps/Joystick.h"
#include "ps/Loader.h"
#include "ps/LoaderThunks.h"
#include "ps/Profile.h"
#include "ps/Pyrogenesis.h"
#include "ps/TouchInput.h"
#include "ps/World.h"
#include "renderer/Renderer.h"
#include "renderer/WaterManager.h"
#include "simulation2/Simulation2.h"
#include "simulation2/components/ICmpPosition.h"
#include "simulation2/components/ICmpRangeManager.h"
Go to the source code of this file.
Classes | |
class | CSmoothedValue |
A value with exponential decay towards the target value. More... | |
class | CGameViewImpl |
Macros | |
#define | IMPLEMENT_BOOLEAN_SETTING(NAME) |
Functions | |
IMPLEMENT_BOOLEAN_SETTING (Culling) | |
IMPLEMENT_BOOLEAN_SETTING (LockCullCamera) | |
IMPLEMENT_BOOLEAN_SETTING (ConstrainCamera) | |
static void | SetupCameraMatrixSmooth (CGameViewImpl *m, CMatrix3D *orientation) |
static void | SetupCameraMatrixSmoothRot (CGameViewImpl *m, CMatrix3D *orientation) |
static void | SetupCameraMatrixNonSmooth (CGameViewImpl *m, CMatrix3D *orientation) |
static void | FocusHeight (CGameViewImpl *m, bool smooth) |
InReaction | game_view_handler (const SDL_Event_ *ev) |
Variables | |
int | g_xres |
int | g_yres |
static const float | CAMERA_EDGE_MARGIN = 2.0f*TERRAIN_TILE_SIZE |
#define IMPLEMENT_BOOLEAN_SETTING | ( | NAME | ) |
Definition at line 313 of file GameView.cpp.
|
static |
Definition at line 609 of file GameView.cpp.
InReaction game_view_handler | ( | const SDL_Event_ * | ev | ) |
Definition at line 1066 of file GameView.cpp.
IMPLEMENT_BOOLEAN_SETTING | ( | Culling | ) |
IMPLEMENT_BOOLEAN_SETTING | ( | LockCullCamera | ) |
IMPLEMENT_BOOLEAN_SETTING | ( | ConstrainCamera | ) |
|
static |
Definition at line 346 of file GameView.cpp.
|
static |
Definition at line 330 of file GameView.cpp.
|
static |
Definition at line 338 of file GameView.cpp.
|
static |
Definition at line 66 of file GameView.cpp.
int g_xres |
Definition at line 58 of file Config.cpp.
int g_yres |
Definition at line 58 of file Config.cpp.