Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
MiniMapTexture.cpp File Reference
#include "precompiled.h"
#include "MiniMapTexture.h"
#include "graphics/GameView.h"
#include "graphics/LOSTexture.h"
#include "graphics/MiniPatch.h"
#include "graphics/ShaderManager.h"
#include "graphics/ShaderProgramPtr.h"
#include "graphics/Terrain.h"
#include "graphics/TerrainTextureEntry.h"
#include "graphics/TerrainTextureManager.h"
#include "graphics/TerritoryTexture.h"
#include "graphics/TextureManager.h"
#include "lib/bits.h"
#include "lib/code_generation.h"
#include "lib/hash.h"
#include "lib/timer.h"
#include "maths/MathUtil.h"
#include "maths/Vector2D.h"
#include "ps/ConfigDB.h"
#include "ps/CStrInternStatic.h"
#include "ps/Filesystem.h"
#include "ps/Game.h"
#include "ps/Profile.h"
#include "ps/VideoMode.h"
#include "ps/World.h"
#include "ps/XML/Xeromyces.h"
#include "renderer/backend/IDevice.h"
#include "renderer/Renderer.h"
#include "renderer/RenderingOptions.h"
#include "renderer/SceneRenderer.h"
#include "renderer/WaterManager.h"
#include "scriptinterface/Object.h"
#include "simulation2/Simulation2.h"
#include "simulation2/components/ICmpMinimap.h"
#include "simulation2/components/ICmpRangeManager.h"
#include "simulation2/system/ParamNode.h"
#include <algorithm>
#include <array>
#include <cmath>
Include dependency graph for MiniMapTexture.cpp:

Classes

struct  anonymous_namespace{MiniMapTexture.cpp}::MinimapUnitVertex
 

Namespaces

namespace  anonymous_namespace{MiniMapTexture.cpp}
 

Functions

unsigned int anonymous_namespace{MiniMapTexture.cpp}::ScaleColor (unsigned int color, float x)
 
void anonymous_namespace{MiniMapTexture.cpp}::DrawTexture (Renderer::Backend::IDeviceCommandContext *deviceCommandContext, Renderer::Backend::IVertexInputLayout *quadVertexInputLayout)
 
void anonymous_namespace{MiniMapTexture.cpp}::AddEntity (const MinimapUnitVertex &v, VertexArrayIterator< u8[4]> &attrColor, VertexArrayIterator< float[2]> &attrPos, const float entityRadius, const bool useInstancing)
 

Variables

constexpr size_t anonymous_namespace{MiniMapTexture.cpp}::MAX_ENTITIES_DRAWN = 65536 / 4
 
constexpr size_t anonymous_namespace{MiniMapTexture.cpp}::MAX_ICON_COUNT = 256
 
constexpr size_t anonymous_namespace{MiniMapTexture.cpp}::MAX_UNIQUE_ICON_COUNT = 64
 
constexpr size_t anonymous_namespace{MiniMapTexture.cpp}::ICON_COMBINING_GRID_SIZE = 10
 
constexpr size_t anonymous_namespace{MiniMapTexture.cpp}::FINAL_TEXTURE_SIZE = 512