aboutsummaryrefslogtreecommitdiff
path: root/advtrains/models/advtrains_signal_45.b3d
Commit message (Collapse)AuthorAge
* Remove zip release files, move mod to root, exclude assets from Makefile (#92)rubenwardy2017-09-20
|
* Restructure mod directoryorwell962017-01-04
|
* Turning mod into a modpack and separating the trains from the core modorwell962016-12-20
> You should have received a copy of the GNU Lesser General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef S_MAINMENU_H_ #define S_MAINMENU_H_ #include "cpp_api/s_base.h" #include "util/string.h" #include "../guiMainMenu.h" class ScriptApiMainMenu : virtual public ScriptApiBase { public: /** * Hand over MainMenuDataForScript to lua to inform lua of the content * @param data the data */ void setMainMenuData(MainMenuDataForScript *data); /** * process events received from formspec * @param text events in textual form */ void handleMainMenuEvent(std::string text); /** * process field data recieved from formspec * @param fields data in field format */ void handleMainMenuButtons(const StringMap &fields); }; #endif /* S_MAINMENU_H_ */