Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7352 in orxonox.OLD for branches/bsp_model


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

Branch bsp_model created.

Location:
branches/bsp_model
Files:
3 edited
1 copied

Legend:

Unmodified
Added
Removed
  • branches/bsp_model/src/lib/graphics/importer/Makefile.am

    r6532 r7352  
    1616                           height_map.cc \
    1717                           media_container.cc \
    18                            movie_player.cc
     18                           movie_player.cc \
     19                           bsp_tree_node.cc \
     20                           bsp_file.cc \
     21                           bsp_manager.cc
    1922
    2023libtc_a_SOURCES  = tc.cc
     
    3639                 anormtab.h \
    3740                 media_container.h \
    38                  movie_player.h
     41                 movie_player.h \
     42                 bsp_tree_node.h \
     43                 bsp_file.h \
     44                 bsp_manager.h   
  • 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
  • branches/bsp_model/src/world_entities/terrain.h

    r7221 r7352  
    1818class HeightMap;
    1919class Material;
     20class BspManager;
    2021
    2122//! A simple method to call a desired debug world.
     
    6061
    6162   HeightMap*          heightMap;
     63   BspManager*         bspManager;
    6264   Material*           heightMapMaterial;
    6365   Vector              terrainScale;
Note: See TracChangeset for help on using the changeset viewer.