diff options
author | Erwin Coumans <blender@erwincoumans.com> | 2006-07-19 10:39:11 +0400 |
---|---|---|
committer | Erwin Coumans <blender@erwincoumans.com> | 2006-07-19 10:39:11 +0400 |
commit | fe43c5e6f02660189094ef144e112e668b340eb6 (patch) | |
tree | 889bf8cd2cff010955d89b8c6ac7ed3ad7b9630e /source/gameengine/GamePlayer/ghost | |
parent | e61189b3c8b8b29ae337d17681c09b3c94d72890 (diff) |
use 'fixedtime/enable all frames' from the blend file
Diffstat (limited to 'source/gameengine/GamePlayer/ghost')
-rw-r--r-- | source/gameengine/GamePlayer/ghost/GPG_Application.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source/gameengine/GamePlayer/ghost/GPG_Application.cpp b/source/gameengine/GamePlayer/ghost/GPG_Application.cpp index 7d29b4c2c8d..8554b7c85bc 100644 --- a/source/gameengine/GamePlayer/ghost/GPG_Application.cpp +++ b/source/gameengine/GamePlayer/ghost/GPG_Application.cpp @@ -356,6 +356,7 @@ bool GPG_Application::startFullScreen( + bool GPG_Application::StartGameEngine(int stereoMode) { bool success = initEngine(m_mainWindow, stereoMode); @@ -493,7 +494,9 @@ bool GPG_Application::initEngine(GHOST_IWindow* window, const int stereoMode) // SYS_WriteCommandLineInt(syshandle, "vertexarrays",1); bool properties = (SYS_GetCommandLineInt(syshandle, "show_properties", 0) != 0); bool profile = (SYS_GetCommandLineInt(syshandle, "show_profile", 0) != 0); - bool fixed_framerate= (SYS_GetCommandLineInt(syshandle, "fixed_framerate", 0) != 0); + bool fixedFr = (G.fileflags & G_FILE_ENABLE_ALL_FRAMES); + + bool fixed_framerate= (SYS_GetCommandLineInt(syshandle, "fixed_framerate", fixedFr) != 0); bool frameRate = (SYS_GetCommandLineInt(syshandle, "show_framerate", 0) != 0); bool useVertexArrays = SYS_GetCommandLineInt(syshandle,"vertexarrays",1) != 0; bool useLists = (SYS_GetCommandLineInt(syshandle, "displaylists", G.fileflags & G_FILE_DIAPLAY_LISTS) != 0); |