|
Pyrogenesis
13997
|
#include "precompiled.h"#include <set>#include <algorithm>#include <numeric>#include "graphics/GameView.h"#include "graphics/LightEnv.h"#include "graphics/LOSTexture.h"#include "graphics/Patch.h"#include "graphics/ShaderManager.h"#include "graphics/Terrain.h"#include "graphics/TextRenderer.h"#include "lib/alignment.h"#include "lib/allocators/arena.h"#include "maths/MathUtil.h"#include "ps/CLogger.h"#include "ps/Game.h"#include "ps/Profile.h"#include "ps/Pyrogenesis.h"#include "ps/World.h"#include "ps/GameSetup/Config.h"#include "renderer/AlphaMapCalculator.h"#include "renderer/PatchRData.h"#include "renderer/TerrainRenderer.h"#include "renderer/Renderer.h"#include "renderer/WaterManager.h"#include "simulation2/Simulation2.h"#include "simulation2/components/ICmpWaterManager.h"Go to the source code of this file.
Classes | |
| struct | STileBlend |
| Represents a blend for a single tile, texture and shape. More... | |
| struct | STileBlend::DecreasingPriority |
| struct | STileBlend::CurrentTile |
| struct | STileBlendStack |
| Represents the ordered collection of blends drawn on a particular tile. More... | |
| struct | SBlendLayer |
| Represents a batched collection of blends using the same texture. More... | |
| struct | SBlendLayer::Tile |
| struct | SBlendBatch |
| Helper structure for RenderBlends. More... | |
| struct | SBlendStackItem |
| Helper structure for RenderBlends. More... | |
Macros | |
| #define | POOLED_BATCH_MAP(Key, Value) std::map<Key, Value, std::less<Key>, ProxyAllocator<std::pair<Key const, Value>, Allocators::DynamicArena > > |
Typedefs | |
| typedef std::pair< std::vector < GLint, ProxyAllocator< GLint, Allocators::DynamicArena > >, std::vector< void *, ProxyAllocator< void *, Allocators::DynamicArena > > > | BatchElements |
Functions | |
| template<typename M > | |
| M::mapped_type & | PooledMapGet (M &m, const typename M::key_type &k, Allocators::DynamicArena &arena) |
| template<typename M > | |
| M::mapped_type & | PooledPairGet (M &m, const typename M::key_type &k, Allocators::DynamicArena &arena) |
| typedef | POOLED_BATCH_MAP (CVertexBuffer *, BatchElements) IndexBufferBatches |
| typedef | POOLED_BATCH_MAP (CVertexBuffer *, IndexBufferBatches) VertexBufferBatches |
| typedef | POOLED_BATCH_MAP (CTerrainTextureEntry *, VertexBufferBatches) TextureBatches |
Variables | |
| const ssize_t | BlendOffsets [9][2] |
| #define POOLED_BATCH_MAP | ( | Key, | |
| Value | |||
| ) | std::map<Key, Value, std::less<Key>, ProxyAllocator<std::pair<Key const, Value>, Allocators::DynamicArena > > |
Definition at line 686 of file PatchRData.cpp.
| typedef std::pair<std::vector<GLint, ProxyAllocator<GLint, Allocators::DynamicArena > >, std::vector<void*, ProxyAllocator<void*, Allocators::DynamicArena > > > BatchElements |
Definition at line 710 of file PatchRData.cpp.
| typedef POOLED_BATCH_MAP | ( | CVertexBuffer * | , |
| BatchElements | |||
| ) |
| typedef POOLED_BATCH_MAP | ( | CVertexBuffer * | , |
| IndexBufferBatches | |||
| ) |
| typedef POOLED_BATCH_MAP | ( | CTerrainTextureEntry * | , |
| VertexBufferBatches | |||
| ) |
| M::mapped_type& PooledMapGet | ( | M & | m, |
| const typename M::key_type & | k, | ||
| Allocators::DynamicArena & | arena | ||
| ) |
Definition at line 692 of file PatchRData.cpp.
| M::mapped_type& PooledPairGet | ( | M & | m, |
| const typename M::key_type & | k, | ||
| Allocators::DynamicArena & | arena | ||
| ) |
Definition at line 701 of file PatchRData.cpp.
| const ssize_t BlendOffsets[9][2] |
Definition at line 48 of file PatchRData.cpp.
1.8.5