Setting ignore_deprecation_warnings as 1 by default in GamePlayer

(in the embed BGE it is still 0)
This commit is contained in:
Dalai Felinto
2009-04-03 03:52:19 +00:00
parent 8ca30120a2
commit 0499d98311
2 changed files with 2 additions and 2 deletions

View File

@@ -530,7 +530,7 @@ bool GPG_Application::initEngine(GHOST_IWindow* window, const int stereoMode)
bool fixed_framerate= (SYS_GetCommandLineInt(syshandle, "fixed_framerate", fixedFr) != 0); bool fixed_framerate= (SYS_GetCommandLineInt(syshandle, "fixed_framerate", fixedFr) != 0);
bool frameRate = (SYS_GetCommandLineInt(syshandle, "show_framerate", 0) != 0); bool frameRate = (SYS_GetCommandLineInt(syshandle, "show_framerate", 0) != 0);
bool useLists = (SYS_GetCommandLineInt(syshandle, "displaylists", G.fileflags & G_FILE_DISPLAY_LISTS) != 0); bool useLists = (SYS_GetCommandLineInt(syshandle, "displaylists", G.fileflags & G_FILE_DISPLAY_LISTS) != 0);
bool nodepwarnings = (SYS_GetCommandLineInt(syshandle, "ignore_deprecation_warnings", 0) != 0); bool nodepwarnings = (SYS_GetCommandLineInt(syshandle, "ignore_deprecation_warnings", 1) != 0);
if(GLEW_ARB_multitexture && GLEW_VERSION_1_1) if(GLEW_ARB_multitexture && GLEW_VERSION_1_1)
m_blendermat = (SYS_GetCommandLineInt(syshandle, "blender_material", 1) != 0); m_blendermat = (SYS_GetCommandLineInt(syshandle, "blender_material", 1) != 0);

View File

@@ -204,7 +204,7 @@ void usage(const char* program)
printf(" show_properties 0 Show debug properties\n"); printf(" show_properties 0 Show debug properties\n");
printf(" show_profile 0 Show profiling information\n"); printf(" show_profile 0 Show profiling information\n");
printf(" blender_material 0 Enable material settings\n"); printf(" blender_material 0 Enable material settings\n");
printf(" ignore_deprecation_warnings 0 Ignore deprecation warnings\n"); printf(" ignore_deprecation_warnings 1 Ignore deprecation warnings\n");
printf("\n"); printf("\n");
printf("example: %s -w 320 200 10 10 -g noaudio c:\\loadtest.blend\n", program); printf("example: %s -w 320 200 10 10 -g noaudio c:\\loadtest.blend\n", program);
printf("example: %s -g show_framerate = 0 c:\\loadtest.blend\n", program); printf("example: %s -g show_framerate = 0 c:\\loadtest.blend\n", program);