- Timestamp:
- Jan 25, 2006, 1:59:02 PM (19 years ago)
- Location:
- branches/network/src/world_entities
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/network/src/world_entities/space_ships/space_ship.cc
r6672 r6688 97 97 if (root != NULL) 98 98 this->loadParams(root); 99 else 100 { 101 this->loadModel("models/ships/reap_#.obj"); 102 } 103 99 104 } 100 105 -
branches/network/src/world_entities/world_entity.cc
r6687 r6688 336 336 else if (this->models.size() >= 1 && this->models[0] != NULL) 337 337 { 338 printf("draw %s\n", this->models[0]->getName()); 338 339 this->models[0]->draw(); 339 340 } … … 514 515 SYNCHELP_READ_FKT( PNode::writeState ); 515 516 516 SYNCHELP_READ_STRINGM( this->modelLODName );517 SYNCHELP_READ_STRINGM( modelFileName ); 517 518 SYNCHELP_READ_FLOAT( scaling ); 518 519 //check if modelFileName is relative to datadir or absolute … … 524 525 { 525 526 loadModel( modelFileName, scaling); 527 PRINTF(0)("modelfilename: %s\n", getModel( 0 )->getName()); 526 528 } 527 529 delete[] modelFileName;
Note: See TracChangeset
for help on using the changeset viewer.