Changeset 3231
- Timestamp:
- 01/20/10 13:30:43 (8 months ago)
- Files:
-
- 1 modified
-
trunk/lua/main.lua (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/lua/main.lua
r3224 r3231 5 5 -- Iris2 Directories/Files 6 6 gMainWorkingDir = GetMainWorkingDir and GetMainWorkingDir() or "" 7 gBinPath = gMainWorkingDir.."bin/" -- bin folder with config etc 7 8 datapath = gMainWorkingDir.."data/" 8 9 libpath = gMainWorkingDir.."lua/" … … 499 500 if (not gNoOgre) then 500 501 local bAutoCreateWindow = false 501 if (not InitOgre("Iris2",gOgrePluginPathOverride or lugre_detect_ogre_plugin_path(), "../bin/",bAutoCreateWindow)) then os.exit(0) end502 if (not InitOgre("Iris2",gOgrePluginPathOverride or lugre_detect_ogre_plugin_path(),gBinPath,bAutoCreateWindow)) then os.exit(0) end 502 503 if (OgreCreateWindow and (not bAutoCreateWindow)) then -- new startup procedure with separate window creation to allow gfx-config 503 504 GfxConfig_Apply()
