Changeset 4833 in orxonox.OLD for orxonox/trunk/src/orxonox.cc
- Timestamp:
- Jul 11, 2005, 5:46:05 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/orxonox.cc
r4830 r4833 52 52 #include <string.h> 53 53 54 int verbose = 4;54 int verbose = 3; 55 55 56 56 using namespace std; … … 99 99 ClassList::debug(0); 100 100 101 PRINT(3)("===================================================\n" \ 101 PRINT(3) 102 ("===================================================\n" \ 102 103 "Thanks for playing orxonox.\n" \ 103 104 "visit: http://www.orxonox.ethz.ch for new versions.\n" \ … … 127 128 128 129 /** 129 \briefinitialize Orxonox with command line130 */130 * initialize Orxonox with command line 131 */ 131 132 int Orxonox::init (int argc, char** argv) 132 133 { … … 152 153 153 154 /** 154 \briefinitializes SDL and OpenGL155 * initializes SDL and OpenGL 155 156 */ 156 157 int Orxonox::initVideo() … … 167 168 168 169 /** 169 \briefinitializes the sound engine170 */170 * initializes the sound engine 171 */ 171 172 int Orxonox::initSound() 172 173 { … … 179 180 180 181 /** 181 * @briefinitializes input functions182 */182 * initializes input functions 183 */ 183 184 int Orxonox::initInput() 184 185 { … … 186 187 187 188 EventHandler::getInstance()->init(); 188 189 return 0; 190 } 191 192 193 /** 194 * @brief initializes network system 195 */ 189 EventHandler::getInstance()->subscribe(GraphicsEngine::getInstance(), ES_ALL, EV_VIDEO_RESIZE); 190 191 192 return 0; 193 } 194 195 196 /** 197 * initializes network system 198 */ 196 199 int Orxonox::initNetworking() 197 200 { … … 204 207 205 208 /** 206 * @briefinitializes and loads resource files207 */ 208 209 * initializes and loads resource files 210 */ 211 int Orxonox::initResources() 209 212 { 210 213 PRINTF(3)("> Initializing resources\n"); … … 264 267 265 268 /** 266 \brief starts the orxonox game or menu267 268 269 270 271 269 * 270 * @brief starts the orxonox game or menu 271 * here is the central orxonox state manager. There are currently two states 272 * - menu 273 * - game-play 274 * both states manage their states themselfs again. 272 275 */ 273 276 void Orxonox::start() … … 283 286 284 287 /** 285 \briefhandles sprecial events from localinput286 \param event: an event not handled by the CommandNode287 */288 * handles sprecial events from localinput 289 * @param event: an event not handled by the CommandNode 290 */ 288 291 // void Orxonox::graphicsHandler(SDL_Event* event) 289 292 // { … … 311 314 **********************************/ 312 315 /** 313 \brief main function 314 315 here the journey begins 316 * 317 * @brief main function 318 * 319 * here the journey begins 316 320 */ 317 321 int main(int argc, char** argv)
Note: See TracChangeset
for help on using the changeset viewer.