Changeset 11162 for code/branches/bindermFS16
- Timestamp:
- Apr 1, 2016, 7:38:22 PM (9 years ago)
- Location:
- code/branches/bindermFS16
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/bindermFS16/data/gui/scripts/SingleplayerMenu.lua
r11150 r11162 172 172 173 173 function P.CampaignButton_clicked(e) 174 P.test()174 orxonox.CampaignMenu:test() 175 175 showMenuSheet("CampaignMenu", true) 176 176 end 177 function P.test() 178 orxonox.execute("test") 179 end 177 180 178 return P -
code/branches/bindermFS16/src/orxonox/CMakeLists.txt
r11080 r11162 65 65 sound/SoundManager.h 66 66 controllers/ScriptController.h 67 overlays/CampaignMenu.h 67 68 PCH_FILE 68 69 OrxonoxPrecompiledHeaders.h -
code/branches/bindermFS16/src/orxonox/overlays/CampaignMenu.cc
r11150 r11162 32 32 #include "core/XMLPort.h" 33 33 #include "core/GameMode.h" 34 #include "core/command/ConsoleCommandIncludes.h"35 36 37 34 38 35 namespace orxonox 39 36 { 40 41 SetConsoleCommand("CampaignMenu", "test", &CampaignMenu::test);42 43 37 RegisterClass(CampaignMenu); 44 38 … … 58 52 } 59 53 60 //loads the newcampaign menu61 void CampaignMenu::load newmenu()54 //loads the campaign menu 55 void CampaignMenu::loadNewMenu() 62 56 { 63 57 -
code/branches/bindermFS16/src/orxonox/overlays/CampaignMenu.h
r11150 r11162 33 33 #include "core/BaseObject.h" 34 34 35 namespace orxonox 36 { 37 class _OrxonoxExport CampaignMenu : public BaseObject 38 { 35 36 namespace orxonox // tolua_export 37 { // tolua_export 38 39 class _OrxonoxExport CampaignMenu // tolua_export 40 : public BaseObject 41 { // tolua_export 39 42 public: 40 43 CampaignMenu(Context* context); 41 44 ~CampaignMenu(); 42 void test(); 43 void loadnewmenu(); 44 }; 45 46 47 48 } 45 static void test(); // tolua_export 46 void loadNewMenu(); 47 };// tolua_export 48 } // tolua_export 49 49 50 50 #endif /* _CampaignMenu_H__ */
Note: See TracChangeset
for help on using the changeset viewer.