Changeset 3233 in orxonox.OLD for orxonox/trunk/src
- Timestamp:
- Dec 20, 2004, 12:58:13 AM (20 years ago)
- Location:
- orxonox/trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/player.cc
r3227 r3233 104 104 105 105 glTranslatef(getPlacement()->r.x, getPlacement()->r.y, getPlacement()->r.z); 106 get _placement()->w.matrix (matrix);106 getPlacement()->w.matrix (matrix); 107 107 glMultMatrixf((float*)matrix); 108 108 -
orxonox/trunk/src/world.cc
r3226 r3233 473 473 if( !entity->isFree() ) 474 474 { 475 loc = entity->get _location();476 plc = entity->get _placement();475 loc = entity->getLocation(); 476 plc = entity->getPlacement(); 477 477 t = loc->part; 478 478 … … 481 481 { 482 482 printf("An entity is out of the game area\n"); 483 entity->left _world ();483 entity->leftWorld (); 484 484 } 485 485 else 486 486 { 487 while( track[t].map _coords( loc, plc) )487 while( track[t].mapCoords( loc, plc) ) 488 488 { 489 track[t].post _leave (entity);489 track[t].postLeave (entity); 490 490 if( loc->part >= tracklen ) 491 491 { 492 492 printf("An entity has left the game area\n"); 493 entity->left _world ();493 entity->leftWorld (); 494 494 break; 495 495 } 496 track[loc->part].post _enter (entity);496 track[loc->part].postEnter (entity); 497 497 } 498 498 } … … 549 549 void World::calcCameraPos (Location* loc, Placement* plc) 550 550 { 551 track[loc->part].map _camera (loc, plc);551 track[loc->part].mapCamera (loc, plc); 552 552 } 553 553 … … 736 736 if (entity->bFree) 737 737 { 738 this->track[loc->part].map _coords( loc, entity->get_placement());739 } 740 entity->post _spawn ();738 this->track[loc->part].mapCoords( loc, entity->getPlacement()); 739 } 740 entity->postSpawn (); 741 741 } 742 742 … … 763 763 if (entity->bFree) 764 764 { 765 this->track[loc->part].map _coords( loc, entity->get_placement());766 } 767 entity->post _spawn ();765 this->track[loc->part].mapCoords( loc, entity->getPlacement()); 766 } 767 entity->postSpawn (); 768 768 //return entity; 769 769 } … … 787 787 this->entities->add (entity); 788 788 entity->init (plc, owner); 789 entity->post _spawn ();789 entity->postSpawn (); 790 790 //return entity; 791 791 }
Note: See TracChangeset
for help on using the changeset viewer.