Changeset 9921 in orxonox.OLD for branches/network
- Timestamp:
- Nov 9, 2006, 2:46:12 PM (18 years ago)
- Location:
- branches/network/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/network/src/lib/graphics/importer/md2/md2Model.cc
r9920 r9921 99 99 { 100 100 this->init(); 101 102 this->scaleFactor = model.scaleFactor; 103 101 104 this->rebuildInfo(); 102 105 } … … 104 107 MD2Model& MD2Model::operator=(const MD2Model& md2model) 105 108 { 109 this->init(); 110 this->scaleFactor = md2model.scaleFactor; 106 111 this->data = md2model.data; 107 112 this->rebuildInfo(); -
branches/network/src/lib/lang/base_object.cc
r9915 r9921 42 42 { 43 43 this->className = "BaseObject"; 44 this->objectName = "";45 this->xmlElem = NULL;44 this->objectName = bo.objectName; 45 this->xmlElem = (bo.xmlElem)? bo.xmlElem->Clone() : NULL; 46 46 this->registerObject( this, BaseObject::_objectList); 47 47 } -
branches/network/src/world_entities/spectator.cc
r9915 r9921 234 234 else if( event.type == KeyMapper::PEV_JUMP) 235 235 { 236 //FPSPlayer * fps = new FPSPlayer();237 WorldEntity * fps = new WorldEntity();236 FPSPlayer * fps = new FPSPlayer(); 237 //WorldEntity * fps = new WorldEntity(); 238 238 239 239 fps->setAbsCoor( this->getAbsCoorX(), this->getAbsCoorY(), this->getAbsCoorZ() ); 240 240 fps->setAbsDir( this->getAbsDir() ); 241 //fps->loadMD2Texture( "doom_guy.png" );242 //fps->loadModel( "models/creatures/doom_guy.md2", 10.0f );243 fps->loadModel( "models/ships/terran_cruizer.obj" );241 fps->loadMD2Texture( "doom_guy.png" ); 242 fps->loadModel( "models/creatures/doom_guy.md2", 10.0f ); 243 //fps->loadModel( "models/ships/terran_cruizer.obj" ); 244 244 245 245 //((Playable*)fps)->setPlayDirection( 0, 0, 1, 0 );
Note: See TracChangeset
for help on using the changeset viewer.