Changeset 3323 for code/trunk/src/orxonox/Main.cc
- Timestamp:
- Jul 19, 2009, 3:11:15 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/orxonox/Main.cc
r3280 r3323 35 35 36 36 #include "OrxonoxPrereqs.h" 37 #include "SpecialConfig.h" 38 39 #ifdef ORXONOX_USE_WINMAIN 40 # ifndef WIN32_LEAN_AND_MEAN 41 # define WIN32_LEAN_AND_MEAN 42 # endif 43 #include <windows.h> 44 #endif 37 45 38 46 #include "util/Debug.h" … … 55 63 try 56 64 { 57 game = new Game(argc, argv); 65 #ifndef ORXONOX_USE_WINMAIN 66 std::string strCmdLine; 67 for (int i = 1; i < argc; ++i) 68 strCmdLine += argv[i] + std::string(" "); 69 #endif 70 game = new Game(strCmdLine); 58 71 59 72 game->setStateHierarchy(
Note: See TracChangeset
for help on using the changeset viewer.