Changeset 4422 in orxonox.OLD for orxonox/trunk
- Timestamp:
- May 31, 2005, 6:47:39 PM (19 years ago)
- Location:
- orxonox/trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/lib/coord/pilot_node.cc
r4418 r4422 32 32 { 33 33 this->setClassID(CL_PILOT_PARENT, "PilotNode"); 34 35 34 36 } 35 37 … … 48 50 void PilotNode::command(Command* cmd) 49 51 { 50 printf("Mouse moved by %d,%d to (%d,%d)\n", 51 cmd->xrel, cmd->yrel, 52 cmd->x, cmd->y); 52 53 53 54 54 //this->setAbsDir(Quaternion(M_PI * 0.4, Vector(1, 0, 0))); … … 58 58 void PilotNode::process( const Event &event) 59 59 { 60 60 PRINTF(0)("Mouse moved by %d,%d to (%d,%d)\n", event.xRel, event.yRel, 61 event.x, event.y); 61 62 } -
orxonox/trunk/src/story_entities/world.cc
r4420 r4422 514 514 void World::loadDebugWorld(int worldID) 515 515 { 516 printf("ajsdflkajs;dlfaj;slfja;lsjf;lajsf;la;sdfkja;lskdjfashdfklajshdflkjasdfh\n");517 516 /*monitor progress*/ 518 517 this->glmis->step(); … … 610 609 this->eventHandler->subscribe(this->localPlayer, ES_GAME, KeyMapper::PEV_PREVIOUS_WEAPON); 611 610 612 611 /* 613 612 Field* testField = new Gravity(); 614 613 testField->setMagnitude(10); 615 614 new PhysicsConnection(this->localPlayer, testField); 615 */ 616 616 617 617 // bind camera … … 641 641 this->pilotNode->addChild(this->localPlayer); 642 642 this->pilotNode->addChild(this->localCamera); 643 this->localCamera->lookAt(this->localPlayer); 644 645 this->eventHandler->subscribe(this->pilotNode, ES_GAME, EV_MOUSE_MOTION); 646 643 647 // bind input 644 648 Orxonox *orx = Orxonox::getInstance ();
Note: See TracChangeset
for help on using the changeset viewer.