]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
removed all commandline checks for the option "-safe" except for the
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 14 Apr 2007 01:11:00 +0000 (01:11 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 14 Apr 2007 01:11:00 +0000 (01:11 +0000)
OpenGL extension checks, this makes -safe actually playable

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7093 d7cf8633-e32d-0410-b094-e92efae38249

cd_shared.c
snd_main.c
vid_agl.c
vid_glx.c
vid_wgl.c

index 319e6fac5a737570dae587e3c29b4408ad82fecc..afca524a18a4f73c8d435ba74449cc61fb12bbd4 100644 (file)
@@ -407,7 +407,7 @@ int CDAudio_Init (void)
                return -1;
 
 // COMMANDLINEOPTION: Sound: -nocdaudio disables CD audio support
-       if (COM_CheckParm("-nocdaudio") || COM_CheckParm("-safe"))
+       if (COM_CheckParm("-nocdaudio"))
                return -1;
 
        CDAudio_SysInit();
index 14e2a6a8bb461b53c25b142ab3a68249f4f36fc9..d3f16b1193666404f169ed6f1220186df4e3e396 100644 (file)
@@ -708,7 +708,7 @@ void S_Init(void)
        Cvar_RegisterVariable(&snd_channels);
 
 // COMMANDLINEOPTION: Sound: -nosound disables sound (including CD audio)
-       if (COM_CheckParm("-nosound") || COM_CheckParm("-safe"))
+       if (COM_CheckParm("-nosound"))
                return;
 
        snd_mempool = Mem_AllocPool("sound", 0, NULL);
index cd62ab0775cafa60fad1c8ec16bdc3b9b350c1b1..482c40f79fa4046cd481d2d68053fa2cc485bcb6 100644 (file)
--- a/vid_agl.c
+++ b/vid_agl.c
@@ -261,7 +261,7 @@ void VID_Init(void)
        InitSig(); // trap evil signals
        Cvar_RegisterVariable(&apple_multithreadedgl);
 // COMMANDLINEOPTION: Input: -nomouse disables mouse support (see also vid_mouse cvar)
-       if (COM_CheckParm ("-nomouse") || COM_CheckParm("-safe"))
+       if (COM_CheckParm ("-nomouse"))
                mouse_avail = false;
 }
 
index 32edd05682b1b7c9b920d4f8990699aafd8636bc..4c3d710c2786611889b7fe182cbfe730bfe461c5 100644 (file)
--- a/vid_glx.c
+++ b/vid_glx.c
@@ -609,7 +609,7 @@ void VID_Init(void)
 #endif
        InitSig(); // trap evil signals
 // COMMANDLINEOPTION: Input: -nomouse disables mouse support (see also vid_mouse cvar)
-       if (COM_CheckParm ("-nomouse") || COM_CheckParm("-safe"))
+       if (COM_CheckParm ("-nomouse"))
                mouse_avail = false;
 }
 
index d0954d01e4b4550da5611adc2a5bf0aefebb3cb2..104f283793c3ed2da89e4eeb2a5b300721964e81 100644 (file)
--- a/vid_wgl.c
+++ b/vid_wgl.c
@@ -1174,7 +1174,7 @@ IN_StartupMouse
 */
 static void IN_StartupMouse (void)
 {
-       if (COM_CheckParm ("-nomouse") || COM_CheckParm("-safe"))
+       if (COM_CheckParm ("-nomouse"))
                return;
 
        mouseinitialized = true;
@@ -1351,7 +1351,7 @@ static void IN_StartupJoystick (void)
 
        // abort startup if user requests no joystick
 // COMMANDLINEOPTION: Windows Input: -nojoy disables joystick support, may be a small speed increase
-       if (COM_CheckParm ("-nojoy") || COM_CheckParm("-safe"))
+       if (COM_CheckParm ("-nojoy"))
                return;
 
        // verify joystick driver is present