Changeset 8830 for code/branches/output/src/Orxonox.cc
- Timestamp:
- Aug 7, 2011, 10:51:54 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/output/src/Orxonox.cc
r8812 r8830 61 61 using namespace orxonox; 62 62 63 orxout(user_status) << "Welcome to Orxonox (v" << ORXONOX_VERSION_MAJOR << '.' << ORXONOX_VERSION_MINOR << '.' << ORXONOX_VERSION_PATCH << ' ' << ORXONOX_VERSION_NAME << ')' << endl; 64 orxout(internal_status) << "Congratulations, you survived the static initialization. Entering main()" << endl; 65 if (argc > 0) 66 orxout(internal_info) << "argv[0]: " << argv[0] << endl; 67 63 68 try 64 69 { … … 78 83 #endif 79 84 80 return main(strCmdLine); 85 int value = main(strCmdLine); 86 orxout(internal_status) << "Terminating main() normally with value " << value << endl; 87 return value; 81 88 } 82 89 catch (...) 83 90 { 84 orxout(user_error) << " Orxonox failed to initialise: " << orxonox::Exception::handleMessage() << endl;91 orxout(user_error) << "Exception caught in main(): " << orxonox::Exception::handleMessage() << endl; 85 92 orxout(user_error) << "Terminating program." << endl; 86 93 return 1;
Note: See TracChangeset
for help on using the changeset viewer.