Changeset 141 for code/branches/main_reto/src/Orxonox.cpp
- Timestamp:
- Nov 1, 2007, 7:48:48 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/main_reto/src/Orxonox.cpp
r123 r141 1 /* 2 * ORXONOX - the hottest 3D action shooter ever to exist 3 * 4 * 5 * License notice: 6 * 7 * This program is free software: you can redistribute it and/or modify 8 * it under the terms of the GNU General Public License as published by 9 * the Free Software Foundation, either version 3 of the License, or 10 * (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 of 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 * GNU General Public License for more details. 16 * 17 * You should have received a copy of the GNU General Public License 18 * along with this program. If not, see <http://www.gnu.org/licenses/>. 19 * 20 * 21 * Author: 22 * Reto Grieder 23 * Co-authors: 24 * ... 25 * 26 */ 27 28 1 29 #include "Orxonox.h" 2 30 … … 18 46 mOgre->getRoot()->renderOneFrame(); 19 47 20 if (!mRunMgr->tick(mTimer->getMilliseconds(), (mTimer->getMilliseconds() - lastTime) / 1000.0)) 48 if (!mRunMgr->tick(mTimer->getMilliseconds(), 49 (mTimer->getMilliseconds() - lastTime) / 1000.0)) 21 50 break; 22 51 lastTime = mTimer->getMilliseconds(); … … 26 55 destroy(); 27 56 } 57 28 58 29 59 bool Orxonox::setup(void)
Note: See TracChangeset
for help on using the changeset viewer.