Lunatic: Fix build, part 10. g_currentFrameRate --> g_frameRate

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

View file

@ -668,7 +668,7 @@ const int32_t playerswhenstarted;
int16_t g_spriteDeleteQueueSize;
int16_t g_blimpSpawnItems[15];
int32_t g_scriptVersion;
const int32_t g_currentFrameRate;
const int32_t g_frameRate;
const int32_t g_currentMenu;
uint16_t g_earthquakeTime;
uint32_t g_moveThingsCount;
@ -1573,7 +1573,7 @@ function gv_access._get_viewingrange()
end
function gv_access._currentFramerate()
return ffiC.g_currentFrameRate
return ffiC.g_frameRate
end
function gv_access._currentMenu()

View file

@ -182,7 +182,7 @@ playerswhenstarted;
g_spriteDeleteQueueSize;
g_blimpSpawnItems;
g_scriptVersion;
g_currentFrameRate;
g_frameRate;
g_currentMenu;
g_earthquakeTime;
g_moveThingsCount;

View file

@ -546,7 +546,7 @@ static void Gv_AddSystemVars(void)
Gv_NewVar("viewingrange",(intptr_t)&viewingrange, GAMEVAR_SYSTEM | GAMEVAR_INTPTR | GAMEVAR_READONLY);
Gv_NewVar("yxaspect",(intptr_t)&yxaspect, GAMEVAR_SYSTEM | GAMEVAR_INTPTR | GAMEVAR_READONLY);
/// Gv_NewVar("framerate",(intptr_t)&g_currentFrameRate, GAMEVAR_SYSTEM | GAMEVAR_INTPTR | GAMEVAR_READONLY);
/// Gv_NewVar("framerate",(intptr_t)&g_frameRate, GAMEVAR_SYSTEM | GAMEVAR_INTPTR | GAMEVAR_READONLY);
/// Gv_NewVar("display_mirror",(intptr_t)&display_mirror, GAMEVAR_SYSTEM | GAMEVAR_CHARPTR);
Gv_NewVar("randomseed",(intptr_t)&randomseed, GAMEVAR_SYSTEM | GAMEVAR_INTPTR);