- Timestamp:
- Jan 22, 2007, 5:21:42 PM (18 years ago)
- Location:
- branches/improvements/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/improvements/src/story_entities/game_world.cc
r10294 r10300 306 306 this->dataTank->music->play(); 307 307 308 PNode::getNullParent()->updateNode(0.01); 309 PNode::getNullParent()->updateNode(0.01); 310 311 308 312 while( this->bRunning) /* @todo implement pause */ 309 313 { -
branches/improvements/src/world_entities/creatures/fps_player.cc
r10288 r10300 358 358 if( this->bJump && likely(this->getModel(0) != NULL)) 359 359 { 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; 362 362 if( this->jumpForce < 1.0f) 363 363 { -
branches/improvements/src/world_entities/script_trigger.cc
r10299 r10300 63 63 addToScript = false; 64 64 this->activeOnCreation = false; 65 target = NULL; 65 66 66 67 if(root != NULL) … … 186 187 } 187 188 189 if(target != NULL) 190 { 188 191 if( !invert && this->distance(target) < radius) 189 192 { 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); 190 195 executeAction(timestep); 191 196 scriptCalled = true; 192 197 return; 198 193 199 } 194 200 else if( invert && this->distance(target) > radius) … … 200 206 //else 201 207 //printf("SCRIPTTRIGGER: target out of range\n"); 202 208 } 203 209 } 204 210
Note: See TracChangeset
for help on using the changeset viewer.