16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-21 22:59:19 +02:00

toggleable lua support during build

This commit is contained in:
milek7
2021-03-06 03:49:24 +01:00
parent 16f856c833
commit 994b1446c1
6 changed files with 34 additions and 8 deletions

View File

@@ -11,11 +11,14 @@ http://mozilla.org/MPL/2.0/.
#include "simulationstateserializer.h"
#include "Classes.h"
#include "lua.h"
#include "Event.h"
#include "Train.h"
#include "particles.h"
#ifdef WITH_LUA
#include "lua.h"
#endif
namespace simulation {
class state_manager {
@@ -78,8 +81,10 @@ extern vehicle_table Vehicles;
extern train_table Trains;
extern light_array Lights;
extern sound_table Sounds;
extern lua Lua;
extern particle_manager Particles;
#ifdef WITH_LUA
extern lua Lua;
#endif
extern scene::basic_region *Region;
extern TTrain *Train;