Lunatic: Fix build, part 9. ScriptQuotes --> apStrings

git-svn-id: https://svn.eduke32.com/eduke32@5992 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
hendricks266 2017-01-05 05:29:37 +00:00
parent e036de108d
commit ca3449bd52
4 changed files with 5 additions and 5 deletions

View file

@ -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

View file

@ -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;

View file

@ -174,7 +174,7 @@ A_ResetVars;
g_dynTileList;
g_dynSoundList;
ScriptQuotes;
apStrings;
screenpeek;
hudweap;

View file

@ -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)