- Timestamp:
- Jan 28, 2007, 7:15:34 PM (18 years ago)
- Location:
- trunk/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/story_entities/game_world.cc
r10443 r10456 451 451 this->dtS = this->dtS / TICK_SMOOTH_VALUE * speed; 452 452 453 // tick camera first 454 State::getCamera()->tick(this->dtS); 453 455 // TICK everything 454 456 for (i = 0; i < this->dataTank->tickLists.size(); ++i) … … 456 458 457 459 /* update tick the rest */ 458 State::getCamera()->tick(this->dtS); 460 459 461 AnimationPlayer::getInstance()->tick(this->dtS); 460 462 PhysicsEngine::getInstance()->tick(this->dtS); -
trunk/src/world_entities/camera.cc
r10449 r10456 66 66 void Camera::init() 67 67 { 68 this->toList( OM_ COMMON);68 this->toList( OM_ENVIRON_NOTICK); 69 69 //this->setName("camera"); 70 70 this->target = new CameraTarget(); -
trunk/src/world_entities/scrolling_screen.cc
r10455 r10456 162 162 163 163 164 164 Vector ddir = dir.cross( cam->getAbsDirV()); 165 Quaternion q(ddir, cam->getAbsDirV()); 166 this->setAbsDir( q); 165 167 166 168 // if( this->getParent() != cam)
Note: See TracChangeset
for help on using the changeset viewer.