engine/terrain/terrRender.h File Reference
#include "dgl/gTexManager.h"
#include "core/color.h"
#include "terrain/waterBlock.h"
|
Data Structures |
struct | AllocatedTexture |
struct | Render2Point |
struct | EdgePoint |
struct | ChunkCornerPoint |
struct | EdgeParent |
struct | ChunkScanEdge |
struct | ChunkEdge |
struct | EmitChunk |
struct | SquareStackNode2 |
struct | SquareStackNode |
struct | TerrLightInfo |
struct | RenderPoint |
struct | Color |
struct | TerrainRender |
Enumerations |
enum | EmptyFlags {
SquareEmpty_0_0 = BIT(0),
SquareEmpty_1_0 = BIT(1),
SquareEmpty_2_0 = BIT(2),
SquareEmpty_3_0 = BIT(3),
SquareEmpty_0_1 = BIT(4),
SquareEmpty_1_1 = BIT(5),
SquareEmpty_2_1 = BIT(6),
SquareEmpty_3_1 = BIT(7),
SquareEmpty_0_2 = BIT(8),
SquareEmpty_1_2 = BIT(9),
SquareEmpty_2_2 = BIT(10),
SquareEmpty_3_2 = BIT(11),
SquareEmpty_0_3 = BIT(12),
SquareEmpty_1_3 = BIT(13),
SquareEmpty_2_3 = BIT(14),
SquareEmpty_3_3 = BIT(15),
CornerEmpty_0_0 = SquareEmpty_0_0 | SquareEmpty_1_0 | SquareEmpty_0_1 | SquareEmpty_1_1,
CornerEmpty_1_0 = SquareEmpty_2_0 | SquareEmpty_3_0 | SquareEmpty_2_1 | SquareEmpty_3_1,
CornerEmpty_0_1 = SquareEmpty_0_2 | SquareEmpty_1_2 | SquareEmpty_0_3 | SquareEmpty_1_3,
CornerEmpty_1_1 = SquareEmpty_2_2 | SquareEmpty_3_2 | SquareEmpty_2_3 | SquareEmpty_3_3
} |
enum | TerrConstants {
MaxClipPlanes = 8,
MaxTerrainMaterials = 256,
EdgeStackSize = 1024,
MaxWaves = 8,
MaxDetailLevel = 9,
MaxMipLevel = 8,
MaxTerrainLights = 64,
MaxVisibleLights = 31,
ClipPlaneMask = (1 << MaxClipPlanes) - 1,
FarSphereMask = 0x80000000,
FogPlaneBoxMask = 0x40000000,
VertexBufferSize = 65 * 65 + 1000,
AllocatedTextureCount = 16 + 64 + 256 + 1024 + 4096,
TerrainTextureMipLevel = 7,
TerrainTextureSize = 1 << TerrainTextureMipLevel,
SmallMipLevel = 6
} |
Enumeration Type Documentation
- Enumerator:
-
SquareEmpty_0_0 |
|
SquareEmpty_1_0 |
|
SquareEmpty_2_0 |
|
SquareEmpty_3_0 |
|
SquareEmpty_0_1 |
|
SquareEmpty_1_1 |
|
SquareEmpty_2_1 |
|
SquareEmpty_3_1 |
|
SquareEmpty_0_2 |
|
SquareEmpty_1_2 |
|
SquareEmpty_2_2 |
|
SquareEmpty_3_2 |
|
SquareEmpty_0_3 |
|
SquareEmpty_1_3 |
|
SquareEmpty_2_3 |
|
SquareEmpty_3_3 |
|
CornerEmpty_0_0 |
|
CornerEmpty_1_0 |
|
CornerEmpty_0_1 |
|
CornerEmpty_1_1 |
|
- Enumerator:
-
MaxClipPlanes |
left, right, top, bottom - don't need far tho... |
MaxTerrainMaterials |
|
EdgeStackSize |
value for water/terrain edge stack size. |
MaxWaves |
|
MaxDetailLevel |
|
MaxMipLevel |
|
MaxTerrainLights |
|
MaxVisibleLights |
|
ClipPlaneMask |
|
FarSphereMask |
|
FogPlaneBoxMask |
|
VertexBufferSize |
|
AllocatedTextureCount |
|
TerrainTextureMipLevel |
mip level of generated textures |
TerrainTextureSize |
size of generated textures |
SmallMipLevel |
|
|