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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user