Changeset 6990 in orxonox.OLD for trunk/src/world_entities
- Timestamp:
- Feb 2, 2006, 10:31:56 PM (19 years ago)
- Location:
- trunk/src/world_entities
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/creatures/md2_creature.cc
r6986 r6990 106 106 107 107 PRINTF(4)("MD2CREATURE INIT\n"); 108 109 EventHandler::getInstance()->grabEvents(true);110 108 111 109 this->mouseDirX *= Quaternion( M_PI * 0.75f, Vector(0,1,0)); -
trunk/src/world_entities/weapons/crosshair.cc
r6807 r6990 48 48 if (this->material) 49 49 delete this->material; 50 51 // delete what has to be deleted here52 53 GraphicsEngine::showMouse(true);54 GraphicsEngine::stealWMEvents(false);55 50 } 56 51 … … 73 68 74 69 // center the mouse on the screen, and also hide the cursors 75 SDL_WarpMouse(GraphicsEngine::getInstance()->getResolutionX()/2, GraphicsEngine::getInstance()->getResolutionY()/2);70 /* SDL_WarpMouse(GraphicsEngine::getInstance()->getResolutionX()/2, GraphicsEngine::getInstance()->getResolutionY()/2); 76 71 GraphicsEngine::showMouse(false); 77 GraphicsEngine::stealWMEvents(true); 78 SDL_WarpMouse(GraphicsEngine::getInstance()->getResolutionX()/2, GraphicsEngine::getInstance()->getResolutionY()/2); 72 SDL_WarpMouse(GraphicsEngine::getInstance()->getResolutionX()/2, GraphicsEngine::getInstance()->getResolutionY()/2);*/ 79 73 } 80 74
Note: See TracChangeset
for help on using the changeset viewer.