Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6695 in orxonox.OLD for trunk/src/world_entities/world_entity.cc


Ignore:
Timestamp:
Jan 25, 2006, 2:39:53 PM (18 years ago)
Author:
patrick
Message:

merged the network branche to the trunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/world_entities/world_entity.cc

    r6634 r6695  
    5454  this->energyMax = 1.0f;
    5555  this->energy = 1.0f;
     56  this->scaling = 1.0f;
     57
     58  /* OSOLETE */
     59  this->bVisible = true;
     60  this->bCollide = true;
    5661
    5762  this->md2TextureFileName = NULL;
    58 
    59 
    60   this->setVisibiliy(true);
    6163
    6264  this->objectListNumber = OM_INIT;
     
    122124void WorldEntity::loadModel(const char* fileName, float scaling, unsigned int modelNumber)
    123125{
     126  this->modelLODName = fileName;
    124127  this->scaling = scaling;
    125128  if ( fileName != NULL && strcmp(fileName, "") )
     
    515518  //check if modelFileName is relative to datadir or absolute
    516519
     520
     521  PRINTF(0)("================ LOADING MODEL %s, %f\n", modelFileName, scaling);
     522
    517523  if ( strcmp(modelFileName, "") )
    518524  {
    519     loadModel( modelFileName, scaling );
     525    loadModel( modelFileName, scaling);
     526    PRINTF(0)("modelfilename: %s\n", getModel( 0 )->getName());
    520527  }
    521528  delete[] modelFileName;
Note: See TracChangeset for help on using the changeset viewer.