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) error("invalid quote number "..qnum, 3)
end end
local cstr = ffiC.ScriptQuotes[qnum] local cstr = ffiC.apStrings[qnum]
if (onlyidx) then if (onlyidx) then
return cstr return cstr
end end

View file

@ -662,7 +662,7 @@ struct
const int16_t staticval; const int16_t staticval;
} g_dynTileList[], g_dynSoundList[]; } g_dynTileList[], g_dynSoundList[];
char *ScriptQuotes[]; char *apStrings[];
const int32_t playerswhenstarted; const int32_t playerswhenstarted;
int16_t g_spriteDeleteQueueSize; int16_t g_spriteDeleteQueueSize;

View file

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

View file

@ -3799,8 +3799,8 @@ void C_Compile(const char *filenameortext, int32_t isfilename)
C_CompilationInfo(); C_CompilationInfo();
} }
/// for (i=MAXQUOTES-1; i>=0; i--) /// for (i=MAXQUOTES-1; i>=0; i--)
/// if (ScriptQuotes[i] == NULL) /// if (apStrings[i] == NULL)
/// ScriptQuotes[i] = Xcalloc(MAXQUOTELEN,sizeof(uint8_t)); /// apStrings[i] = Xcalloc(MAXQUOTELEN,sizeof(uint8_t));
} }
if (g_numCompilerErrors) if (g_numCompilerErrors)