Changeset 10719 in orxonox.OLD for branches/presentation/src/world_entities/space_ships
- Timestamp:
- Jun 18, 2007, 6:02:47 PM (18 years ago)
- Location:
- branches/presentation/src/world_entities/space_ships
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/presentation/src/world_entities/space_ships/space_ship.cc
r10715 r10719 92 92 ->addMethod("getAbsCoorY", Executor0ret<PNode, lua_State*, float>(&PNode::getAbsCoorY)) 93 93 ->addMethod("getAbsCoorZ", Executor0ret<PNode, lua_State*, float>(&PNode::getAbsCoorZ)) 94 //->addMethod("setCameraSpeed", Executor1<Sp aceShip, lua_State*, float>(&SpaceShip::setCameraSpeed))94 //->addMethod("setCameraSpeed", Executor1<SpVector(1,0,0)aceShip, lua_State*, float>(&SpaceShip::setCameraSpeed)) 95 95 ->addMethod("pause", Executor1<WorldEntity, lua_State*, bool>(&WorldEntity::pauseTrack)) 96 96 ->addMethod("setCameraDist", Executor1<SpaceShip, lua_State*, float>(&SpaceShip::setCameraDistance)) … … 592 592 this->yMouse += event.yRel; 593 593 // printf("Mouse Coord: %f, %f\n", this->xMouse, this->yMouse); 594 this->weaponMan.getFixedTarget()->setRelCoor(10000 , -10 * this->mouseSensitivity * yMouse, 10 * this->mouseSensitivity * xMouse);595 this->secWeaponMan.getFixedTarget()->setRelCoor(10000 , -10 * this->mouseSensitivity * yMouse, 10 * this->mouseSensitivity * xMouse);594 this->weaponMan.getFixedTarget()->setRelCoor(100000, -100 * this->mouseSensitivity * yMouse, 100 * this->mouseSensitivity * xMouse); 595 this->secWeaponMan.getFixedTarget()->setRelCoor(100000, -100 * this->mouseSensitivity * yMouse, 100 * this->mouseSensitivity * xMouse); 596 596 } 597 597 else if (!(State::getCamera()->getEventHandling())) -
branches/presentation/src/world_entities/space_ships/space_ship.h
r10715 r10719 75 75 inline void loadWeapon(float regen) { this->weaponEnergyRegen = regen; }; 76 76 77 void addWeaponToSlot(int wm, int config, int slot, const std::string& weaponName);77 // void addWeaponToSlot(int wm, int config, int slot, const std::string& weaponName); 78 78 79 79 inline PNode* getTravelNode() { return this->travelNode; };
Note: See TracChangeset
for help on using the changeset viewer.