Changeset 523
- Timestamp:
- Dec 13, 2007, 11:27:55 PM (17 years ago)
- Location:
- code/branches/FICN/src/orxonox
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/FICN/src/orxonox/CMakeLists.txt
r512 r523 16 16 main.cc 17 17 graphicsEngine.cc 18 InputManager.cc19 18 ) 20 19 -
code/branches/FICN/src/orxonox/inertial_node.h
r342 r523 1 /*2 * ORXONOX - the hottest 3D action shooter ever to exist3 *4 *5 * License notice:6 *7 * This program is free software: you can redistribute it and/or modify8 * it under the terms of the GNU General Public License as published by9 * the Free Software Foundation, either version 3 of the License, or10 * (at your option) any later version.11 *12 * This program is distributed in the hope that it will be useful,13 * but WITHOUT ANY WARRANTY; without even the implied warranty of14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the15 * GNU General Public License for more details.16 *17 * You should have received a copy of the GNU General Public License18 * along with this program. If not, see <http://www.gnu.org/licenses/>.19 *20 *21 * Author:22 * Reto Grieder23 * Co-authors:24 * ...25 *26 */27 28 29 1 #ifndef INERTIAL_NODE_H 30 2 #define INERTIAL_NODE_H … … 41 13 public: 42 14 InertialNode(Ogre::SceneNode*, Ogre::Vector3); 43 15 ~InertialNode(); 44 16 45 17 InertialNode* createChildNode(); … … 67 39 68 40 Ogre::SceneNode *node_; 69 41 Ogre::Vector3 speed_; 70 42 71 43 InertialNode* parentNode_; -
code/branches/FICN/src/orxonox/orxonox.cc
r519 r523 457 457 // the call to reset the mouse clipping size should probably be somewhere 458 458 // else, however this works for the moment. 459 460 461 462 463 464 465 459 unsigned int width, height, depth; 460 int left, top; 461 ogre_->getRoot()->getAutoCreatedWindow()->getMetrics(width, height, depth, left, top); 462 463 const OIS::MouseState &ms = mouse_->getMouseState(); 464 ms.width = width; 465 ms.height = height; 466 466 467 467 ogre_->getRoot()->startRendering();
Note: See TracChangeset
for help on using the changeset viewer.