Changeset 6748 for code/trunk/data/gui/scripts
- Timestamp:
- Apr 16, 2010, 8:09:17 PM (15 years ago)
- Location:
- code/trunk/data/gui/scripts
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/data/gui/scripts/ControlsMenu.lua
r6746 r6748 2 2 3 3 local P = createMenuSheet("ControlsMenu") 4 P.loadAlong = { "MouseControlsMenu", "KeyBindMenu" } 4 5 5 6 function P.ControlsMouseControlsButton_clicked(e) -
code/trunk/data/gui/scripts/GUISheet.lua
r6747 r6748 50 50 -- Allow sheets to do some work upon loading 51 51 self:onLoad() 52 53 -- Also load additional sheets to avoid display lags 54 if self.loadAlong then 55 for k, sheet in pairs(self.loadAlong) do 56 loadSheet(sheet) 57 end 58 end 52 59 return self 53 60 end -
code/trunk/data/gui/scripts/InGameMenu.lua
r6746 r6748 2 2 3 3 local P = createMenuSheet("InGameMenu") 4 P.loadAlong = { "DecisionPopup" } 4 5 5 6 -- events for ingamemenu -
code/trunk/data/gui/scripts/KeyBindMenu.lua
r6746 r6748 2 2 3 3 local P = createMenuSheet("KeyBindMenu") 4 P.loadAlong = { "InfoPopup" } 4 5 5 6 function P.onLoad() -
code/trunk/data/gui/scripts/MainMenu.lua
r6746 r6748 2 2 3 3 local P = createMenuSheet("MainMenu") 4 P.loadAlong = { "SingleplayerMenu", "MultiplayerMenu", "SettingsMenu", "CreditsMenu" } 4 5 5 6 -- events for MainMenu -
code/trunk/data/gui/scripts/SettingsMenu.lua
r6746 r6748 2 2 3 3 local P = createMenuSheet("SettingsMenu") 4 P.loadAlong = { "ControlsMenu", "AudioMenu", "GraphicsMenu" } 4 5 5 6 function P.SettingsGameplayButton_clicked(e)
Note: See TracChangeset
for help on using the changeset viewer.