Changeset 11150 for code/branches/bindermFS16
- Timestamp:
- Mar 24, 2016, 3:52:07 PM (9 years ago)
- Location:
- code/branches/bindermFS16
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/bindermFS16/data/gui/scripts/SingleplayerMenu.lua
r11149 r11150 172 172 173 173 function P.CampaignButton_clicked(e) 174 test()174 P.test() 175 175 showMenuSheet("CampaignMenu", true) 176 176 end -
code/branches/bindermFS16/src/orxonox/overlays/CampaignMenu.cc
r11149 r11150 32 32 #include "core/XMLPort.h" 33 33 #include "core/GameMode.h" 34 #include "co mmand/ConsoleCommandIncludes.h"34 #include "core/command/ConsoleCommandIncludes.h" 35 35 36 36 … … 38 38 namespace orxonox 39 39 { 40 SetConsoleCommand("test", &test); 40 41 SetConsoleCommand("CampaignMenu", "test", &CampaignMenu::test); 42 41 43 RegisterClass(CampaignMenu); 42 44 43 CampaignMenu::CampaignMenu( context* context)45 CampaignMenu::CampaignMenu(Context* context) 44 46 :BaseObject(context) 45 47 … … 49 51 50 52 CampaignMenu::~CampaignMenu() 51 { 52 } 53 {} 53 54 54 55 void CampaignMenu::test() 55 56 { 57 orxout()<<"test"<< endl; 58 } 59 60 //loads the new campaign menu 61 void CampaignMenu::loadnewmenu() 62 { 56 63 57 64 } 58 59 65 } -
code/branches/bindermFS16/src/orxonox/overlays/CampaignMenu.h
r11149 r11150 41 41 ~CampaignMenu(); 42 42 void test(); 43 void loadnewmenu(); 43 44 }; 44 45 -
code/branches/bindermFS16/src/orxonox/overlays/GUISheet.cc
r9667 r11150 33 33 #include "core/XMLPort.h" 34 34 #include "core/GameMode.h" 35 #include "core/command/ConsoleCommandIncludes.h" 35 36 36 37 namespace orxonox 37 38 { 39 40 38 41 RegisterClass(GUISheet); 42 39 43 40 44 GUISheet::GUISheet(Context* context) … … 95 99 // Note: This call has no effect when already showing! 96 100 } 101 97 102 }
Note: See TracChangeset
for help on using the changeset viewer.