TXP plugin update from Boris Bralo.

This commit is contained in:
Robert Osfield
2002-03-09 10:51:09 +00:00
parent 689eca77d7
commit ab5603e3d4
27 changed files with 7786 additions and 4872 deletions

View File

@@ -89,7 +89,7 @@ void TrPageArchive::LoadMaterials()
{
for (int i=0; i < n_textures ; i++)
{
trpgTexture *tex;
const trpgTexture *tex;
tex = texTable.GetTextureRef(i);
char texName[1024]; texName[0] = 0;
tex->GetName(texName,1023);
@@ -118,7 +118,7 @@ void TrPageArchive::LoadMaterials()
{
StateSet* osg_state_set = new StateSet;
trpgMaterial *mat;
const trpgMaterial *mat;
mat = materialTable.GetMaterialRef(0,i);
// Set texture
int numMatTex;