Changeset 3231

Show
Ignore:
Timestamp:
01/20/10 13:30:43 (7 weeks ago)
Author:
ghoulsblade
Message:
ogre bin path
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/lua/main.lua

    r3224 r3231  
    55-- Iris2 Directories/Files 
    66gMainWorkingDir     = GetMainWorkingDir and GetMainWorkingDir() or "" 
     7gBinPath                        = gMainWorkingDir.."bin/"  -- bin folder with config etc 
    78datapath            = gMainWorkingDir.."data/" 
    89libpath             = gMainWorkingDir.."lua/" 
     
    499500    if (not gNoOgre) then 
    500501                local bAutoCreateWindow = false 
    501         if (not InitOgre("Iris2",gOgrePluginPathOverride or lugre_detect_ogre_plugin_path(),"../bin/",bAutoCreateWindow)) then os.exit(0) end 
     502        if (not InitOgre("Iris2",gOgrePluginPathOverride or lugre_detect_ogre_plugin_path(),gBinPath,bAutoCreateWindow)) then os.exit(0) end 
    502503                if (OgreCreateWindow and (not bAutoCreateWindow)) then -- new startup procedure with separate window creation to allow gfx-config 
    503504                        GfxConfig_Apply()