Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3233 in orxonox.OLD for orxonox/trunk


Ignore:
Timestamp:
Dec 20, 2004, 12:58:13 AM (20 years ago)
Author:
patrick
Message:

orxonox/trunk: unstable - minor changes everywhere

Location:
orxonox/trunk/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/player.cc

    r3227 r3233  
    104104 
    105105  glTranslatef(getPlacement()->r.x, getPlacement()->r.y, getPlacement()->r.z);
    106   get_placement()->w.matrix (matrix);
     106  getPlacement()->w.matrix (matrix);
    107107  glMultMatrixf((float*)matrix);
    108108 
  • orxonox/trunk/src/world.cc

    r3226 r3233  
    473473      if( !entity->isFree() )
    474474        {
    475           loc = entity->get_location();
    476           plc = entity->get_placement();
     475          loc = entity->getLocation();
     476          plc = entity->getPlacement();
    477477          t = loc->part;
    478478         
     
    481481            {
    482482              printf("An entity is out of the game area\n");
    483               entity->left_world ();
     483              entity->leftWorld ();
    484484            }
    485485          else
    486486            {
    487               while( track[t].map_coords( loc, plc) )
     487              while( track[t].mapCoords( loc, plc) )
    488488                {
    489                   track[t].post_leave (entity);
     489                  track[t].postLeave (entity);
    490490                  if( loc->part >= tracklen )
    491491                    {
    492492                      printf("An entity has left the game area\n");
    493                       entity->left_world ();
     493                      entity->leftWorld ();
    494494                      break;
    495495                    }
    496                   track[loc->part].post_enter (entity);
     496                  track[loc->part].postEnter (entity);
    497497                }
    498498            }
     
    549549void World::calcCameraPos (Location* loc, Placement* plc)
    550550{
    551   track[loc->part].map_camera (loc, plc);
     551  track[loc->part].mapCamera (loc, plc);
    552552}
    553553
     
    736736  if (entity->bFree)
    737737    {
    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 ();
    741741}
    742742
     
    763763  if (entity->bFree)
    764764    {
    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 ();
    768768  //return entity;
    769769}
     
    787787  this->entities->add (entity);
    788788  entity->init (plc, owner);
    789   entity->post_spawn ();
     789  entity->postSpawn ();
    790790  //return entity;
    791791}
Note: See TracChangeset for help on using the changeset viewer.