Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 19, 2006, 5:46:35 PM (19 years ago)
Author:
bottac
Message:

Branch bsp_model created.

Location:
branches/bsp_model
Files:
1 edited
1 copied

Legend:

Unmodified
Added
Removed
  • branches/bsp_model/src/world_entities/terrain.cc

    r7221 r7352  
    3030
    3131#include "glincl.h"
    32 
     32#include "lib/graphics/importer/bsp_manager.h"
    3333#include "state.h"
    3434
     
    107107  this->toList(OM_ENVIRON_NOTICK);
    108108
    109   this->objectList = 0;
     109 this->objectList = 0;
    110110  this->ssp = NULL;
    111111  this->vegetation = NULL;
    112 
     112 
     113  this->bspManager = new BspManager();
    113114  this->heightMap = NULL;
    114115
    115   this->heightMapMaterial = new Material();
     116 this->heightMapMaterial = new Material();
     117       
     118  this->bspManager = new BspManager();
     119  //this->loadTexture("maps/wall1.jpeg");
    116120}
    117121
     
    204208  // Vector tmpRot = this->getAbsDir().getSpacialAxis();
    205209  //glRotatef (this->getAbsDir().getSpacialAxisAngle(), tmpRot.x, tmpRot.y, tmpRot.z );
    206 
     210/*
    207211  if (this->objectList)
    208212    glCallList(this->objectList);
     
    221225    this->heightMap->draw();
    222226  }
     227
     228*/
     229
     230  this->bspManager->draw();
    223231  glPopMatrix();
    224232
Note: See TracChangeset for help on using the changeset viewer.