Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
CameraController.cpp File Reference
#include "precompiled.h"
#include "CameraController.h"
#include "graphics/HFTracer.h"
#include "graphics/Terrain.h"
#include "i18n/L10n.h"
#include "lib/input.h"
#include "lib/timer.h"
#include "maths/MathUtil.h"
#include "maths/Matrix3D.h"
#include "maths/Quaternion.h"
#include "ps/CLogger.h"
#include "ps/ConfigDB.h"
#include "ps/Game.h"
#include "ps/Globals.h"
#include "ps/Hotkey.h"
#include "ps/Pyrogenesis.h"
#include "ps/TouchInput.h"
#include "ps/World.h"
#include "renderer/Renderer.h"
#include "renderer/SceneRenderer.h"
#include "renderer/WaterManager.h"
#include "simulation2/Simulation2.h"
#include "simulation2/components/ICmpPosition.h"
#include "simulation2/components/ICmpRangeManager.h"
#include "simulation2/helpers/Los.h"
Include dependency graph for CameraController.cpp:

Macros

#define SETUP_SMOOTHNESS(CFG_PREFIX, SMOOTHED_VALUE)
 

Variables

int g_xres
 
int g_yres
 
static const float CAMERA_EDGE_MARGIN = 2.0f * TERRAIN_TILE_SIZE
 

Macro Definition Documentation

◆ SETUP_SMOOTHNESS

#define SETUP_SMOOTHNESS (   CFG_PREFIX,
  SMOOTHED_VALUE 
)
Value:
{ \
float smoothness = SMOOTHED_VALUE.GetSmoothness(); \
CFG_GET_VAL(CFG_PREFIX ".smoothness", smoothness); \
SMOOTHED_VALUE.SetSmoothness(smoothness); \
}

Variable Documentation

◆ CAMERA_EDGE_MARGIN

const float CAMERA_EDGE_MARGIN = 2.0f * TERRAIN_TILE_SIZE
static

◆ g_xres

int g_xres
extern

◆ g_yres

int g_yres