Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 10300 in orxonox.OLD for branches/improvements


Ignore:
Timestamp:
Jan 22, 2007, 5:21:42 PM (18 years ago)
Author:
snellen
Message:

update

Location:
branches/improvements/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/improvements/src/story_entities/game_world.cc

    r10294 r10300  
    306306    this->dataTank->music->play();
    307307
     308  PNode::getNullParent()->updateNode(0.01);
     309  PNode::getNullParent()->updateNode(0.01);
     310
     311 
    308312  while( this->bRunning) /* @todo implement pause */
    309313  {
  • branches/improvements/src/world_entities/creatures/fps_player.cc

    r10288 r10300  
    358358  if( this->bJump && likely(this->getModel(0) != NULL))
    359359  {
    360     //printf("pedestrianOne:walkTo( %f, 35, %f) \n", this->getAbsCoor().x, this->getAbsCoor().z);
    361     //this->bJump = false;
     360    printf("dummyVariable:walkTo( %f, 35, %f) \n", this->getAbsCoor().x, this->getAbsCoor().z);
     361    this->bJump = false;
    362362    if( this->jumpForce < 1.0f)
    363363    {
  • branches/improvements/src/world_entities/script_trigger.cc

    r10299 r10300  
    6363  addToScript = false;
    6464  this->activeOnCreation = false;
     65  target = NULL;
    6566
    6667  if(root != NULL)
     
    186187  }
    187188
     189  if(target != NULL)
     190  {
    188191  if( !invert && this->distance(target) < radius)
    189192  {
     193 //  printf("Trigger position is: %f %f %f \n", this->getAbsCoor().x, this->getAbsCoor().y, this->getAbsCoor().z);
     194 //  printf("Target position is: %f %f %f \n", this->target->getAbsCoor().x, this->target->getAbsCoor().y, this->target->getAbsCoor().z);
    190195    executeAction(timestep);
    191196    scriptCalled = true;
    192197    return;
     198
    193199  }
    194200  else if( invert && this->distance(target) > radius)
     
    200206 //else
    201207   //printf("SCRIPTTRIGGER: target out of range\n");
    202 
     208  }
    203209}
    204210
Note: See TracChangeset for help on using the changeset viewer.