From 3fe0c2e698cb7ea70b058295eb1e8399e4e03518 Mon Sep 17 00:00:00 2001 From: Rachael Alexanderson Date: Sat, 20 Apr 2024 00:13:39 -0400 Subject: [PATCH] - add in a common code stub --- source/CMakeLists.txt | 1 + source/core/vmstubs.cpp | 8 ++++++++ 2 files changed, 9 insertions(+) create mode 100644 source/core/vmstubs.cpp diff --git a/source/CMakeLists.txt b/source/CMakeLists.txt index 57bf27251..5562fae92 100644 --- a/source/CMakeLists.txt +++ b/source/CMakeLists.txt @@ -620,6 +620,7 @@ file( GLOB HEADER_FILES core/textures/*.h core/models/*.h core/textures/formats/*.h + core/vmstubs.cpp ) diff --git a/source/core/vmstubs.cpp b/source/core/vmstubs.cpp new file mode 100644 index 000000000..9b77eccb0 --- /dev/null +++ b/source/core/vmstubs.cpp @@ -0,0 +1,8 @@ +#include "common/engine/palettecontainer.h" +#include "name.h" +#include "dobject.h" + +bool ShouldAllowGameSpecificVirtual(FName name, unsigned index, PType* arg, PType* varg) +{ + return false; +}