aboutsummaryrefslogtreecommitdiff
path: root/advtrains/textures/advtrains_signal_on.png
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
an> 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 SCRIPTING_MAINMENU_H_ #define SCRIPTING_MAINMENU_H_ #include "cpp_api/s_base.h" #include "cpp_api/s_mainmenu.h" #include "cpp_api/s_async.h" /*****************************************************************************/ /* Scripting <-> Main Menu Interface */ /*****************************************************************************/ class MainMenuScripting : virtual public ScriptApiBase, public ScriptApiMainMenu { public: MainMenuScripting(GUIEngine* guiengine); // Global step handler to pass back async events void step(); // Pass async events from engine to async threads unsigned int queueAsync(const std::string &serialized_func, const std::string &serialized_params); private: void initializeModApi(lua_State *L, int top); static void registerLuaClasses(lua_State *L, int top); AsyncEngine asyncEngine; }; #endif /* SCRIPTING_MAINMENU_H_ */