Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 1, 2016, 7:38:22 PM (8 years ago)
Author:
fvultier
Message:

Managed to call a C++ test function from a Lua script that gets executed when a button is pressed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/bindermFS16/src/orxonox/overlays/CampaignMenu.cc

    r11150 r11162  
    3232#include "core/XMLPort.h"
    3333#include "core/GameMode.h"
    34 #include "core/command/ConsoleCommandIncludes.h"
    35 
    36 
    3734
    3835namespace orxonox
    3936{
    40 
    41     SetConsoleCommand("CampaignMenu", "test", &CampaignMenu::test);
    42 
    4337    RegisterClass(CampaignMenu);
    4438
     
    5852    }
    5953
    60     //loads the new campaign menu
    61     void CampaignMenu::loadnewmenu()
     54    //loads the campaign menu
     55    void CampaignMenu::loadNewMenu()
    6256    {
    6357       
Note: See TracChangeset for help on using the changeset viewer.