mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-19 22:23:51 +00:00
Merge remote branch 'ace/win-fix'
This commit is contained in:
commit
89fb3146ab
2 changed files with 8 additions and 7 deletions
|
@ -50,7 +50,7 @@ namespace Ogre
|
|||
terrain.
|
||||
@note Requires the Cg plugin to render correctly
|
||||
*/
|
||||
class _OgreTerrainExport TerrainMaterialGeneratorB : public TerrainMaterialGenerator
|
||||
class TerrainMaterialGeneratorB : public TerrainMaterialGenerator
|
||||
{
|
||||
public:
|
||||
TerrainMaterialGeneratorB();
|
||||
|
@ -58,7 +58,7 @@ namespace Ogre
|
|||
|
||||
/** Shader model 2 profile target.
|
||||
*/
|
||||
class _OgreTerrainExport SM2Profile : public TerrainMaterialGenerator::Profile
|
||||
class SM2Profile : public TerrainMaterialGenerator::Profile
|
||||
{
|
||||
public:
|
||||
SM2Profile(TerrainMaterialGenerator* parent, const String& name, const String& desc);
|
||||
|
@ -161,7 +161,7 @@ namespace Ogre
|
|||
void addTechnique(const MaterialPtr& mat, const Terrain* terrain, TechniqueType tt);
|
||||
|
||||
/// Interface definition for helper class to generate shaders
|
||||
class _OgreTerrainExport ShaderHelper : public TerrainAlloc
|
||||
class ShaderHelper : public TerrainAlloc
|
||||
{
|
||||
public:
|
||||
ShaderHelper() {}
|
||||
|
@ -194,7 +194,7 @@ namespace Ogre
|
|||
};
|
||||
|
||||
/// Utility class to help with generating shaders for Cg / HLSL.
|
||||
class _OgreTerrainExport ShaderHelperCg : public ShaderHelper
|
||||
class ShaderHelperCg : public ShaderHelper
|
||||
{
|
||||
protected:
|
||||
HighLevelGpuProgramPtr createVertexProgram(const SM2Profile* prof, const Terrain* terrain, TechniqueType tt);
|
||||
|
@ -212,7 +212,7 @@ namespace Ogre
|
|||
void generateFpDynamicShadows(const SM2Profile* prof, const Terrain* terrain, TechniqueType tt, StringUtil::StrStreamType& outStream);
|
||||
};
|
||||
|
||||
class _OgreTerrainExport ShaderHelperHLSL : public ShaderHelperCg
|
||||
class ShaderHelperHLSL : public ShaderHelperCg
|
||||
{
|
||||
protected:
|
||||
HighLevelGpuProgramPtr createVertexProgram(const SM2Profile* prof, const Terrain* terrain, TechniqueType tt);
|
||||
|
@ -220,7 +220,7 @@ namespace Ogre
|
|||
};
|
||||
|
||||
/// Utility class to help with generating shaders for GLSL.
|
||||
class _OgreTerrainExport ShaderHelperGLSL : public ShaderHelper
|
||||
class ShaderHelperGLSL : public ShaderHelper
|
||||
{
|
||||
protected:
|
||||
HighLevelGpuProgramPtr createVertexProgram(const SM2Profile* prof, const Terrain* terrain, TechniqueType tt);
|
||||
|
|
|
@ -71,7 +71,7 @@ static ALenum getALFormat(ChannelConfig chans, SampleType type)
|
|||
class OpenAL_SoundStream : public Sound
|
||||
{
|
||||
static const ALuint sNumBuffers = 6;
|
||||
static const ALfloat sBufferLength = 0.125f;
|
||||
static const ALfloat sBufferLength;
|
||||
|
||||
OpenAL_Output &mOutput;
|
||||
|
||||
|
@ -101,6 +101,7 @@ public:
|
|||
bool process();
|
||||
};
|
||||
|
||||
const ALfloat OpenAL_SoundStream::sBufferLength = 0.125f;
|
||||
|
||||
//
|
||||
// A background streaming thread (keeps active streams processed)
|
||||
|
|
Loading…
Reference in a new issue