Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
MiniMapTexture.cpp File Reference
#include "precompiled.h"
#include "MiniMapTexture.h"
#include "graphics/LOSTexture.h"
#include "graphics/MiniPatch.h"
#include "graphics/ShaderDefines.h"
#include "graphics/ShaderManager.h"
#include "graphics/ShaderTechnique.h"
#include "graphics/Terrain.h"
#include "graphics/TerrainTextureEntry.h"
#include "graphics/TerritoryTexture.h"
#include "graphics/TextureManager.h"
#include "lib/code_generation.h"
#include "lib/debug.h"
#include "lib/hash.h"
#include "lib/path.h"
#include "lib/timer.h"
#include "maths/MathUtil.h"
#include "maths/Matrix3D.h"
#include "maths/Vector2D.h"
#include "maths/Vector3D.h"
#include "ps/CLogger.h"
#include "ps/CStrIntern.h"
#include "ps/CStrInternStatic.h"
#include "ps/ConfigDB.h"
#include "ps/Filesystem.h"
#include "ps/Game.h"
#include "ps/Profile.h"
#include "ps/World.h"
#include "ps/XML/Xeromyces.h"
#include "renderer/Renderer.h"
#include "renderer/SceneRenderer.h"
#include "renderer/WaterManager.h"
#include "renderer/backend/Backend.h"
#include "renderer/backend/Format.h"
#include "renderer/backend/IBuffer.h"
#include "renderer/backend/IDevice.h"
#include "renderer/backend/IDeviceCommandContext.h"
#include "renderer/backend/IFramebuffer.h"
#include "renderer/backend/IShaderProgram.h"
#include "renderer/backend/ITexture.h"
#include "renderer/backend/PipelineState.h"
#include "renderer/backend/Sampler.h"
#include "simulation2/Simulation2.h"
#include "simulation2/components/ICmpMinimap.h"
#include "simulation2/components/ICmpRangeManager.h"
#include "simulation2/helpers/Position.h"
#include "simulation2/system/Component.h"
#include "simulation2/system/Entity.h"
#include <algorithm>
#include <array>
#include <bit>
#include <cmath>
#include <cstdint>
#include <iterator>
#include <numbers>
#include <utility>

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< std::uint8_t[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