Changeset 10721 in orxonox.OLD for branches/presentation/src/world_entities/weapons/crosshair.cc
- Timestamp:
- Jun 18, 2007, 7:40:40 PM (17 years ago)
- File:
-
- 1 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
Note: See TracChangeset
for help on using the changeset viewer.