Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 6, 2009, 8:16:04 PM (15 years ago)
Author:
scheusso
Message:

menu automatically reads ogre config path

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentation2/data/gui/scripts/GraphicsMenu.lua

    r6258 r6259  
    1313
    1414function P:init()
    15     file = "C:\\Games\\Orxonox\\menu\\build\\config\\Debug\\" .. orxonox.getConfig("GraphicsManager", "ogreConfigFile_")
     15    file = orxonox.PathConfig:getConfigPathString() .. orxonox.getConfig("GraphicsManager", "ogreConfigFile_")
     16    --file = "C:\\Games\\Orxonox\\menu\\build\\config\\Debug\\" .. orxonox.getConfig("GraphicsManager", "ogreConfigFile_")
    1617    search_mode = 0
    1718    f = io.open(file, "r")
Note: See TracChangeset for help on using the changeset viewer.