From 22f73a9ab5a979f4a9e126455a88e355ca07ad9c Mon Sep 17 00:00:00 2001 From: hendricks266 Date: Thu, 5 Jan 2017 05:29:20 +0000 Subject: [PATCH] Lunatic: Fix build, part 5. EpisodeNames --> g_volumeNames git-svn-id: https://svn.eduke32.com/eduke32@5988 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/eduke32/source/lunatic/control.lua | 2 +- polymer/eduke32/source/lunatic/defs.ilua | 2 +- polymer/eduke32/source/lunatic/dynsymlist | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/polymer/eduke32/source/lunatic/control.lua b/polymer/eduke32/source/lunatic/control.lua index 10acb0f81..d4d156a66 100644 --- a/polymer/eduke32/source/lunatic/control.lua +++ b/polymer/eduke32/source/lunatic/control.lua @@ -930,7 +930,7 @@ function _qgetsysstr(qdst, what, pli) elseif (what == ffiC.STR_VOLUMENAME) then local vol = ffiC.ud.volume_number bcheck.volume_idx(vol) - ffi.copy(dst, ffiC.EpisodeNames[vol], ffi.sizeof(ffiC.EpisodeNames[0])) + ffi.copy(dst, ffiC.g_volumeNames[vol], ffi.sizeof(ffiC.g_volumeNames[0])) elseif (what == ffiC.STR_YOURTIME) then ffi.copy(dst, ffi.string(ffiC.G_PrintYourTime())) elseif (what == ffiC.STR_PARTIME) then diff --git a/polymer/eduke32/source/lunatic/defs.ilua b/polymer/eduke32/source/lunatic/defs.ilua index 67ffe9666..0156af4a7 100644 --- a/polymer/eduke32/source/lunatic/defs.ilua +++ b/polymer/eduke32/source/lunatic/defs.ilua @@ -615,7 +615,7 @@ int32_t g_logoFlags; -- INTERNAL VARIABLES/FUNCTIONS decl("map_t MapInfo[$*$];", con_lang.MAXVOLUMES+1, con_lang.MAXLEVELS) -decl("char EpisodeNames[$][33];", con_lang.MAXVOLUMES) +decl("char g_volumeNames[$][33];", con_lang.MAXVOLUMES) decl[[ const int32_t myconnectindex; diff --git a/polymer/eduke32/source/lunatic/dynsymlist b/polymer/eduke32/source/lunatic/dynsymlist index 932980c4a..4a7c1e5ab 100644 --- a/polymer/eduke32/source/lunatic/dynsymlist +++ b/polymer/eduke32/source/lunatic/dynsymlist @@ -129,7 +129,7 @@ g_modDir; g_elSessionVar; MapInfo; -EpisodeNames; +g_volumeNames; kopen4loadfrommod;