From 73e66e164a4d5efed102a5a700113ea4ee1bb005 Mon Sep 17 00:00:00 2001 From: hendricks266 Date: Mon, 8 Apr 2019 06:28:58 +0000 Subject: [PATCH] SW: Copy editor function stubs from KenBuild git-svn-id: https://svn.eduke32.com/eduke32@7538 1a8010ca-5511-0410-912e-c29ae57300e0 --- source/sw/src/jnstub.cpp | 84 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 84 insertions(+) diff --git a/source/sw/src/jnstub.cpp b/source/sw/src/jnstub.cpp index b0da50988..340a19f81 100644 --- a/source/sw/src/jnstub.cpp +++ b/source/sw/src/jnstub.cpp @@ -674,6 +674,11 @@ const char *ExtGetVer(void) return s_buildRev; } +void ExtSetupMapFilename(const char *mapname) +{ + UNREFERENCED_PARAMETER(mapname); +} + int32_t ExtPreInit(int32_t argc,char const * const * argv) { UNREFERENCED_PARAMETER(argc); @@ -3780,3 +3785,82 @@ BuildStagTable(void) #include "stag.h" #undef MAKE_STAG_TABLE } + +#include "m32script.h" + +void M32RunScript(const char *s) { UNREFERENCED_PARAMETER(s); } +void G_Polymer_UnInit(void) { } +void SetGamePalette(int32_t j) { UNREFERENCED_PARAMETER(j); } + +int32_t AmbienceToggle, MixRate, ParentalLock; + +int32_t taglab_linktags(int32_t spritep, int32_t num) +{ + int32_t link = 0; + + g_iReturnVar = link; + VM_OnEvent(EVENT_LINKTAGS, spritep ? num : -1); + link = g_iReturnVar; + + return link; +} + +int32_t taglab_getnextfreetag(int32_t *duetoptr) +{ + int32_t i, nextfreetag=1; + int32_t obj = -1; + + for (i=0; i