Pyrogenesis trunk
Namespaces | Macros | Functions | Variables
TerrainOverlay.cpp File Reference
#include "precompiled.h"
#include "TerrainOverlay.h"
#include "graphics/Color.h"
#include "graphics/ShaderManager.h"
#include "graphics/ShaderProgram.h"
#include "graphics/Terrain.h"
#include "lib/bits.h"
#include "maths/MathUtil.h"
#include "maths/Vector2D.h"
#include "ps/CStrInternStatic.h"
#include "ps/Game.h"
#include "ps/Profile.h"
#include "ps/World.h"
#include "renderer/backend/IDevice.h"
#include "renderer/backend/IDeviceCommandContext.h"
#include "renderer/Renderer.h"
#include "renderer/SceneRenderer.h"
#include "renderer/TerrainRenderer.h"
#include "simulation2/system/SimContext.h"
#include <algorithm>
Include dependency graph for TerrainOverlay.cpp:

Namespaces

namespace  anonymous_namespace{TerrainOverlay.cpp}
 

Macros

#define ADD(position)
 
#define ADD(i, j)
 

Functions

void anonymous_namespace{TerrainOverlay.cpp}::AdjustOverlayGraphicsPipelineState (Renderer::Backend::SGraphicsPipelineStateDesc &pipelineStateDesc, const bool drawHidden)
 
CShaderTechniquePtr anonymous_namespace{TerrainOverlay.cpp}::CreateOverlayTileShaderTechnique (const bool drawHidden)
 
CShaderTechniquePtr anonymous_namespace{TerrainOverlay.cpp}::CreateOverlayOutlineShaderTechnique (const bool drawHidden)
 

Variables

std::vector< std::pair< ITerrainOverlay *, int > > anonymous_namespace{TerrainOverlay.cpp}::g_TerrainOverlayList
 

Macro Definition Documentation

◆ ADD [1/2]

#define ADD (   i,
 
)
Value:
m_Terrain->CalcPosition(i, j, position); \
vertices.emplace_back(position.X); \
vertices.emplace_back(position.Y); \
vertices.emplace_back(position.Z);

◆ ADD [2/2]

#define ADD (   position)
Value:
vertices.emplace_back((position).X); \
vertices.emplace_back((position).Y); \
vertices.emplace_back((position).Z);
#define X(id)
Definition: CStrIntern.cpp:108
@ Y
Definition: Decompose.h:22
@ Z
Definition: Decompose.h:22