mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-19 09:59:18 +02:00
toggleable lua support during build
This commit is contained in:
@@ -2075,6 +2075,7 @@ friction_event::export_as_text_( std::ostream &Output ) const {
|
||||
Output << m_friction << ' ';
|
||||
}
|
||||
|
||||
#ifdef WITH_LUA
|
||||
lua_event::lua_event(lua::eventhandler_t func) {
|
||||
lua_func = func;
|
||||
}
|
||||
@@ -2118,6 +2119,7 @@ lua_event::export_as_text_( std::ostream &Output ) const {
|
||||
bool lua_event::is_instant() const {
|
||||
return m_delay == 0.0 && m_delayrandom == 0.0;
|
||||
}
|
||||
#endif
|
||||
|
||||
// prepares event for use
|
||||
void
|
||||
|
||||
Reference in New Issue
Block a user