| 
                Last change
                  on this file since 6828 was
                  6417,
                  checked in by rgrieder, 16 years ago
           | 
        
        
          | 
               
Merged presentation2 branch back to trunk. 
Major new features: 
 
- Actual GUI with settings, etc.
 - Improved space ship steering (human interaction)
 - Rocket fire and more particle effects
 - Advanced sound framework
  
           | 
        
        
          
            
              - 
                  Property svn:eol-style set to
                  
native
               
             
           | 
        
        | 
            File size:
            538 bytes
           | 
      
      
        
  | Line |   | 
|---|
| 1 | -- ControlsMenu.lua | 
|---|
| 2 |  | 
|---|
| 3 | BasicGUI = require("BasicGUI") | 
|---|
| 4 | local P = BasicGUI:new() --inherit everything from the gui package | 
|---|
| 5 | if _REQUIREDNAME == nil then | 
|---|
| 6 |     ControlsMenu = P | 
|---|
| 7 | else | 
|---|
| 8 |     _G[_REQUIREDNAME] = P | 
|---|
| 9 | end | 
|---|
| 10 |  | 
|---|
| 11 | P.filename = "ControlsMenu" | 
|---|
| 12 | P.layoutString = "ControlsMenu.layout" | 
|---|
| 13 |  | 
|---|
| 14 | function P.ControlsMouseControlsButton_clicked(e) | 
|---|
| 15 |     showGUI("MouseControlsMenu", true) | 
|---|
| 16 | end | 
|---|
| 17 |  | 
|---|
| 18 | function P.ControlsKeyboardControlsButton_clicked(e) | 
|---|
| 19 |     showGUI("KeyBindMenu", true) | 
|---|
| 20 | end | 
|---|
| 21 |  | 
|---|
| 22 | function P.ControlsBackButton_clicked(e) | 
|---|
| 23 |     hideGUI(P.filename) | 
|---|
| 24 | end | 
|---|
| 25 |  | 
|---|
| 26 | return P | 
|---|
| 27 |  | 
|---|
       
      
      Note: See 
TracBrowser
        for help on using the repository browser.