mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-11-27 17:26:16 +00:00
Flag some TODO's
This commit is contained in:
parent
0bcb0d6ffd
commit
aa85673b3b
6 changed files with 13 additions and 3 deletions
|
@ -57,6 +57,8 @@ static const char *TextureOffset =
|
||||||
|
|
||||||
static CVertexProgram TextureOffsetVertexProgram(TextureOffset);
|
static CVertexProgram TextureOffsetVertexProgram(TextureOffset);
|
||||||
|
|
||||||
|
// TODO_VP_GLSL
|
||||||
|
|
||||||
|
|
||||||
//-----------------------------------------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
|
@ -563,6 +563,7 @@ void CLandscapeVBAllocator::setupVBFormatAndVertexProgram(bool withVertexProgr
|
||||||
string vpgram= string(NL3D_LandscapeCommonStartProgram) +
|
string vpgram= string(NL3D_LandscapeCommonStartProgram) +
|
||||||
string(NL3D_LandscapeFar0EndProgram);
|
string(NL3D_LandscapeFar0EndProgram);
|
||||||
_VertexProgram[0]= new CVertexProgram(vpgram.c_str());
|
_VertexProgram[0]= new CVertexProgram(vpgram.c_str());
|
||||||
|
// TODO_VP_GLSL
|
||||||
}
|
}
|
||||||
else if(_Type==Far1)
|
else if(_Type==Far1)
|
||||||
{
|
{
|
||||||
|
@ -580,6 +581,7 @@ void CLandscapeVBAllocator::setupVBFormatAndVertexProgram(bool withVertexProgr
|
||||||
string vpgram= string(NL3D_LandscapeCommonStartProgram) +
|
string vpgram= string(NL3D_LandscapeCommonStartProgram) +
|
||||||
string(NL3D_LandscapeFar1EndProgram);
|
string(NL3D_LandscapeFar1EndProgram);
|
||||||
_VertexProgram[0]= new CVertexProgram(vpgram.c_str());
|
_VertexProgram[0]= new CVertexProgram(vpgram.c_str());
|
||||||
|
// TODO_VP_GLSL
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
@ -597,11 +599,13 @@ void CLandscapeVBAllocator::setupVBFormatAndVertexProgram(bool withVertexProgr
|
||||||
string vpgram= string(NL3D_LandscapeCommonStartProgram) +
|
string vpgram= string(NL3D_LandscapeCommonStartProgram) +
|
||||||
string(NL3D_LandscapeTileEndProgram);
|
string(NL3D_LandscapeTileEndProgram);
|
||||||
_VertexProgram[0]= new CVertexProgram(vpgram.c_str());
|
_VertexProgram[0]= new CVertexProgram(vpgram.c_str());
|
||||||
|
// TODO_VP_GLSL
|
||||||
|
|
||||||
// Init the Vertex Program for lightmap pass
|
// Init the Vertex Program for lightmap pass
|
||||||
vpgram= string(NL3D_LandscapeCommonStartProgram) +
|
vpgram= string(NL3D_LandscapeCommonStartProgram) +
|
||||||
string(NL3D_LandscapeTileLightMapEndProgram);
|
string(NL3D_LandscapeTileLightMapEndProgram);
|
||||||
_VertexProgram[1]= new CVertexProgram(vpgram.c_str());
|
_VertexProgram[1]= new CVertexProgram(vpgram.c_str());
|
||||||
|
// TODO_VP_GLSL
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -158,6 +158,7 @@ void CMeshVPWindTree::initInstance(CMeshBaseInstance *mbi)
|
||||||
+ CRenderTrav::getLightVPFragment(numPls, VPLightConstantStart, specular, normalize)
|
+ CRenderTrav::getLightVPFragment(numPls, VPLightConstantStart, specular, normalize)
|
||||||
+ WindTreeVPCodeEnd;
|
+ WindTreeVPCodeEnd;
|
||||||
_VertexProgram[i]= std::auto_ptr<CVertexProgram>(new CVertexProgram(vpCode.c_str()));
|
_VertexProgram[i]= std::auto_ptr<CVertexProgram>(new CVertexProgram(vpCode.c_str()));
|
||||||
|
// TODO_VP_GLSL
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -602,7 +602,7 @@ void CVegetableManager::initVertexProgram(uint vpType, bool fogEnabled)
|
||||||
|
|
||||||
// create VP.
|
// create VP.
|
||||||
_VertexProgram[vpType][fogEnabled ? 1 : 0] = new CVertexProgram(vpgram.c_str());
|
_VertexProgram[vpType][fogEnabled ? 1 : 0] = new CVertexProgram(vpgram.c_str());
|
||||||
|
// TODO_VP_GLSL
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -223,6 +223,7 @@ static CVertexProgram *BuildWaterVP(bool diffuseMap, bool bumpMap, bool use2Bump
|
||||||
|
|
||||||
vp += "\nEND";
|
vp += "\nEND";
|
||||||
return new CVertexProgram(vp.c_str());
|
return new CVertexProgram(vp.c_str());
|
||||||
|
// TODO_VP_GLSL
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -330,8 +331,8 @@ void CWaterShape::initVertexProgram()
|
||||||
_VertexProgramNoBump = std::auto_ptr<CVertexProgram>(BuildWaterVP(false, false, false));
|
_VertexProgramNoBump = std::auto_ptr<CVertexProgram>(BuildWaterVP(false, false, false));
|
||||||
_VertexProgramNoBumpDiffuse = std::auto_ptr<CVertexProgram>(BuildWaterVP(true, false, false));
|
_VertexProgramNoBumpDiffuse = std::auto_ptr<CVertexProgram>(BuildWaterVP(true, false, false));
|
||||||
// no waves
|
// no waves
|
||||||
_VertexProgramNoWave.reset(new CVertexProgram(WaterVPNoWave));
|
_VertexProgramNoWave.reset(new CVertexProgram(WaterVPNoWave)); // TODO_VP_GLSL
|
||||||
_VertexProgramNoWaveDiffuse.reset(new CVertexProgram(WaterVPNoWaveDiffuse));
|
_VertexProgramNoWaveDiffuse.reset(new CVertexProgram(WaterVPNoWaveDiffuse)); // TODO_VP_GLSL
|
||||||
created = true;
|
created = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -86,6 +86,8 @@ static const char *DecalAttenuationVertexProgramCode =
|
||||||
|
|
||||||
static NL3D::CVertexProgram DecalAttenuationVertexProgram(DecalAttenuationVertexProgramCode);
|
static NL3D::CVertexProgram DecalAttenuationVertexProgram(DecalAttenuationVertexProgramCode);
|
||||||
|
|
||||||
|
// TODO_VP_GLSL
|
||||||
|
|
||||||
|
|
||||||
typedef CShadowPolyReceiver::CRGBAVertex CRGBAVertex;
|
typedef CShadowPolyReceiver::CRGBAVertex CRGBAVertex;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue