1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-24 15:24:30 +01:00

Allow scripting to be compile-disabled

This commit is contained in:
Ted John
2020-02-23 12:55:48 +00:00
parent 34078124cd
commit bac91cd563
17 changed files with 167 additions and 66 deletions

View File

@@ -9,18 +9,20 @@
#pragma once
#include "../common.h"
#include "../core/FileWatcher.h"
#include "HookEngine.h"
#include "Plugin.h"
#ifdef __ENABLE_SCRIPTING__
#include <future>
#include <memory>
#include <mutex>
#include <queue>
#include <string>
#include <unordered_set>
#include <vector>
# include "../common.h"
# include "../core/FileWatcher.h"
# include "HookEngine.h"
# include "Plugin.h"
# include <future>
# include <memory>
# include <mutex>
# include <queue>
# include <string>
# include <unordered_set>
# include <vector>
struct duk_hthread;
typedef struct duk_hthread duk_context;
@@ -168,3 +170,5 @@ namespace OpenRCT2::Scripting
void ThrowIfGameStateNotMutable();
} // namespace OpenRCT2::Scripting
#endif