From 01aeb424f61fd5ed6a04bbc9e793df555a6d5626 Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Tue, 27 Oct 2026 09:31:50 +0000 Subject: [PATCH] Maintenance: Real scalar owner for gl24542 signed-byte g_language at16D3B07 and gl24529 int g_serviceType16D3B10. PE section .data Vi Batch #1019 by ragnarok-clanker: no function's compiled code changes; checked with 1 compiled unit(s), including every includer of Source/Contents/Configuration/ServiceConfiguration.h. Adds to the build: Source/Contents/Configuration/ServiceConfiguration.cpp --- Source/Contents/Configuration/ServiceConfiguration.cpp | 7 +++++++ Source/Contents/Configuration/ServiceConfiguration.h | 7 +++++++ compile.json | 1 + 3 files changed, 15 insertions(+) create mode 100644 Source/Contents/Configuration/ServiceConfiguration.cpp create mode 100644 Source/Contents/Configuration/ServiceConfiguration.h diff --git a/Source/Contents/Configuration/ServiceConfiguration.cpp b/Source/Contents/Configuration/ServiceConfiguration.cpp new file mode 100644 index 0000000..60188f5 --- /dev/null +++ b/Source/Contents/Configuration/ServiceConfiguration.cpp @@ -0,0 +1,7 @@ +#include "Contents/Configuration/ServiceConfiguration.h" + +// GLOBAL: gl_24542 +signed char g_language = 0; + +// GLOBAL: gl_24529 +int g_serviceType = 0; diff --git a/Source/Contents/Configuration/ServiceConfiguration.h b/Source/Contents/Configuration/ServiceConfiguration.h new file mode 100644 index 0000000..1f6cf4d --- /dev/null +++ b/Source/Contents/Configuration/ServiceConfiguration.h @@ -0,0 +1,7 @@ +#ifndef RAGNAROK_SOURCE_CONTENTS_CONFIGURATION_SERVICECONFIGURATION_H +#define RAGNAROK_SOURCE_CONTENTS_CONFIGURATION_SERVICECONFIGURATION_H + +extern signed char g_language; +extern int g_serviceType; + +#endif diff --git a/compile.json b/compile.json index 83aa5b1..6c5879a 100644 --- a/compile.json +++ b/compile.json @@ -278,6 +278,7 @@ "Source/Contents/CashEmotionMgr.cpp": 4, "Source/Contents/Configuration/OptionWriter.cpp": 4, "Source/Contents/Configuration/ScriptOptions.cpp": 4, + "Source/Contents/Configuration/ServiceConfiguration.cpp": 4, "Source/Contents/Configuration/ServiceOptions.cpp": 4, "Source/Contents/Effects/AttachedEffect.cpp": 4, "Source/Contents/Effects/Effect.cpp": 0,