Changeset 10721 in orxonox.OLD for branches/presentation/src/world_entities/weapons
- Timestamp:
- Jun 18, 2007, 7:40:40 PM (18 years ago)
- Location:
- branches/presentation/src/world_entities/weapons
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/presentation/src/world_entities/weapons/crosshair.cc
r10714 r10721 64 64 this->material = new Material; 65 65 66 //this->subscribeEvent(ES_GAME, EV_MOUSE_MOTION);66 // this->subscribeEvent(ES_GAME, EV_MOUSE_MOTION); 67 67 68 68 // center the mouse on the screen, and also hide the cursors 69 /* SDL_WarpMouse(GraphicsEngine::getInstance()->getResolutionX()/2, GraphicsEngine::getInstance()->getResolutionY()/2); 70 GraphicsEngine::showMouse(false);71 SDL_WarpMouse(GraphicsEngine::getInstance()->getResolutionX()/2, GraphicsEngine::getInstance()->getResolutionY()/2);*/ 69 /* SDL_WarpMouse(GraphicsEngine::getInstance()->getResolutionX()/2, GraphicsEngine::getInstance()->getResolutionY()/2);*/ 70 // GraphicsEngine::showMouse(false); 71 // SDL_WarpMouse(GraphicsEngine::getInstance()->getResolutionX()/2, GraphicsEngine::getInstance()->getResolutionY()/2); 72 72 } 73 73 -
branches/presentation/src/world_entities/weapons/nadion_laser.cc
r10719 r10721 147 147 148 148 pj->setAbsCoor(this->getEmissionPoint()); 149 // pj->setAbsDir(this->getAbsDir()); 149 // pj->setAbsDir(Quaternion(this->getDefaultTarget()->getAbsCoor() - this->getAbsCoor(), Vector(0,0,0))); 150 pj->setAbsDir(this->getAbsDir()); 150 151 pj->activate(); 151 152 -
branches/presentation/src/world_entities/weapons/weapon_manager.h
r10719 r10721 91 91 Weapon* getWeapon(int slotID) const; 92 92 93 // FIXME ::94 93 // bool hasFreeSlot(int configID, long capability = WTYPE_ALL) { return ( getNextFreeSlot(configID, capability ) != -1)? true : false; }; 95 94
Note: See TracChangeset
for help on using the changeset viewer.