Changeset 3323 for code/trunk/src/orxonox
- Timestamp:
- Jul 19, 2009, 3:11:15 PM (15 years ago)
- Location:
- code/trunk/src/orxonox
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/orxonox/GraphicsManager.cc
r3280 r3323 278 278 boost::filesystem::path folder(ogrePluginsFolder_); 279 279 // Do some SubString magic to get the comma separated list of plugins 280 SubString plugins(ogrePlugins_, ",", " ", false, 92, false, 34, false, 40, 41, false, '\0');280 SubString plugins(ogrePlugins_, ",", " ", false, '\\', false, '"', false, '(', ')', false, '\0'); 281 281 // Use backslash paths on Windows! file_string() already does that though. 282 282 for (unsigned int i = 0; i < plugins.size(); ++i) -
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.