From ca3449bd52936c848556cbda622d821376a6c246 Mon Sep 17 00:00:00 2001 From: hendricks266 Date: Thu, 5 Jan 2017 05:29:37 +0000 Subject: [PATCH] Lunatic: Fix build, part 9. ScriptQuotes --> apStrings git-svn-id: https://svn.eduke32.com/eduke32@5992 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/eduke32/source/lunatic/bcheck.lua | 2 +- polymer/eduke32/source/lunatic/defs.ilua | 2 +- polymer/eduke32/source/lunatic/dynsymlist | 2 +- polymer/eduke32/source/m32def.c | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/polymer/eduke32/source/lunatic/bcheck.lua b/polymer/eduke32/source/lunatic/bcheck.lua index 091f93c12..e43899c71 100644 --- a/polymer/eduke32/source/lunatic/bcheck.lua +++ b/polymer/eduke32/source/lunatic/bcheck.lua @@ -105,7 +105,7 @@ function bcheck.quote_idx(qnum, onlyidx) error("invalid quote number "..qnum, 3) end - local cstr = ffiC.ScriptQuotes[qnum] + local cstr = ffiC.apStrings[qnum] if (onlyidx) then return cstr end diff --git a/polymer/eduke32/source/lunatic/defs.ilua b/polymer/eduke32/source/lunatic/defs.ilua index 841024ca0..bb46d8bf7 100644 --- a/polymer/eduke32/source/lunatic/defs.ilua +++ b/polymer/eduke32/source/lunatic/defs.ilua @@ -662,7 +662,7 @@ struct const int16_t staticval; } g_dynTileList[], g_dynSoundList[]; -char *ScriptQuotes[]; +char *apStrings[]; const int32_t playerswhenstarted; int16_t g_spriteDeleteQueueSize; diff --git a/polymer/eduke32/source/lunatic/dynsymlist b/polymer/eduke32/source/lunatic/dynsymlist index 3f2b7ea6a..649ddd9d4 100644 --- a/polymer/eduke32/source/lunatic/dynsymlist +++ b/polymer/eduke32/source/lunatic/dynsymlist @@ -174,7 +174,7 @@ A_ResetVars; g_dynTileList; g_dynSoundList; -ScriptQuotes; +apStrings; screenpeek; hudweap; diff --git a/polymer/eduke32/source/m32def.c b/polymer/eduke32/source/m32def.c index a0cc49ff4..f9b800d48 100644 --- a/polymer/eduke32/source/m32def.c +++ b/polymer/eduke32/source/m32def.c @@ -3799,8 +3799,8 @@ void C_Compile(const char *filenameortext, int32_t isfilename) C_CompilationInfo(); } /// for (i=MAXQUOTES-1; i>=0; i--) -/// if (ScriptQuotes[i] == NULL) -/// ScriptQuotes[i] = Xcalloc(MAXQUOTELEN,sizeof(uint8_t)); +/// if (apStrings[i] == NULL) +/// apStrings[i] = Xcalloc(MAXQUOTELEN,sizeof(uint8_t)); } if (g_numCompilerErrors)