Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
|
#include "precompiled.h"
#include "graphics/Terrain.h"
#include "graphics/TextureManager.h"
#include "graphics/ShaderManager.h"
#include "graphics/ShaderProgram.h"
#include "lib/bits.h"
#include "lib/timer.h"
#include "maths/MathUtil.h"
#include "maths/Vector2D.h"
#include "ps/CLogger.h"
#include "ps/CStrInternStatic.h"
#include "ps/Game.h"
#include "ps/World.h"
#include "renderer/backend/IDevice.h"
#include "renderer/PostprocManager.h"
#include "renderer/Renderer.h"
#include "renderer/RenderingOptions.h"
#include "renderer/SceneRenderer.h"
#include "renderer/WaterManager.h"
#include "simulation2/Simulation2.h"
#include "simulation2/components/ICmpWaterManager.h"
#include "simulation2/components/ICmpRangeManager.h"
#include <algorithm>
Classes | |
struct | CoastalPoint |
struct | SWavesVertex |
struct | WaveObject |
Macros | |
#define | ABOVEWATER(x, z) (HEIGHT_SCALE * heightmap[z*SideSize + x] >= waterHeight) |
#define | UPDATELOOKAHEAD |
Functions | |
cassert (sizeof(SWavesVertex)==64) | |
template<bool Transpose> | |
static void | ComputeDirection (float *distanceMap, const u16 *heightmap, float waterHeight, size_t SideSize, size_t maxLevel) |
#define ABOVEWATER | ( | x, | |
z | |||
) | (HEIGHT_SCALE * heightmap[z*SideSize + x] >= waterHeight) |
#define UPDATELOOKAHEAD |
cassert | ( | sizeof(SWavesVertex) | = =64 | ) |
|
inlinestatic |