Changeset 6720 for code/branches/gamestates2/data
- Timestamp:
- Apr 13, 2010, 3:58:56 PM (15 years ago)
- Location:
- code/branches/gamestates2/data/gui/scripts
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/gamestates2/data/gui/scripts/AudioMenu.lua
r6718 r6720 3 3 local P = createMenuSheet("AudioMenu") 4 4 5 function P. init()5 function P.onLoad() 6 6 soundMgr = orxonox.SoundManager:getInstance() 7 7 block = false -
code/branches/gamestates2/data/gui/scripts/GUISheet.lua
r6718 r6720 13 13 14 14 -- Override this function if you need to do work on load 15 -- TODO: rename to onLoad 16 function P:init() 15 function P:onLoad() 17 16 end 18 17 … … 38 37 self:hide() 39 38 -- Allow sheets to do some work upon loading 40 self: init()39 self:onLoad() 41 40 return self 42 41 end -
code/branches/gamestates2/data/gui/scripts/GameplayMenu.lua
r6718 r6720 3 3 local P = createMenuSheet("GameplayMenu") 4 4 5 function P. init()5 function P.onLoad() 6 6 dropdown = winMgr:getWindow("orxonox/ThemeCombobox") 7 7 local themeList = {} -
code/branches/gamestates2/data/gui/scripts/GraphicsMenu.lua
r6718 r6720 3 3 local P = createMenuSheet("GraphicsMenu") 4 4 5 function P. init()5 function P.onLoad() 6 6 block = true 7 7 file = orxonox.PathConfig:getConfigPathString() .. orxonox.getConfig("GraphicsManager", "ogreConfigFile_") -
code/branches/gamestates2/data/gui/scripts/KeyBindMenu.lua
r6718 r6720 3 3 local P = createMenuSheet("KeyBindMenu") 4 4 5 function P. init()5 function P.onLoad() 6 6 7 7 commandList = {} -
code/branches/gamestates2/data/gui/scripts/MouseControlsMenu.lua
r6718 r6720 3 3 local P = createMenuSheet("MouseControlsMenu") 4 4 5 function P. init()5 function P.onLoad() 6 6 block = false 7 7 mousenormalscrollbarwindow = tolua.cast(winMgr:getWindow("orxonox/MouseNormalScrollbar"),"CEGUI::Scrollbar") -
code/branches/gamestates2/data/gui/scripts/MultiplayerMenu.lua
r6718 r6720 3 3 local P = createMenuSheet("MultiplayerMenu") 4 4 5 function P. init()5 function P.onLoad() 6 6 listbox = winMgr:getWindow("orxonox/MultiplayerLevelListbox") 7 7 preselect = orxonox.LevelManager:getInstance():getDefaultLevel() -
code/branches/gamestates2/data/gui/scripts/SingleplayerMenu.lua
r6718 r6720 3 3 local P = createMenuSheet("SingleplayerMenu") 4 4 5 function P. init()5 function P.onLoad() 6 6 listbox = winMgr:getWindow("orxonox/SingleplayerLevelListbox") 7 7 preselect = orxonox.LevelManager:getInstance():getDefaultLevel()
Note: See TracChangeset
for help on using the changeset viewer.