Explorar el Código

Removed unused FullScreen config toggle

Thomas Buck hace 10 años
padre
commit
87350702ff
Se han modificado 4 ficheros con 4 adiciones y 15 borrados
  1. 1
    0
      ChangeLog
  2. 1
    1
      data/OpenRaider.init
  3. 2
    3
      include/OpenRaider.h
  4. 0
    11
      src/OpenRaider.cpp

+ 1
- 0
ChangeLog Ver fichero

@@ -7,6 +7,7 @@
7 7
 
8 8
 	[ 20140312 ]
9 9
 	* Resizing the window works properly (except for fixed string positions)
10
+	* Removed FullScreen config command and flag that had no effect
10 11
 
11 12
 	[ 20140311 ]
12 13
 	* Removed empty Camera, Matrix, Particle, Quaternion,

+ 1
- 1
data/OpenRaider.init Ver fichero

@@ -5,7 +5,6 @@
5 5
 Driver=/usr/lib/libGL.so.1
6 6
 Width=1280
7 7
 Height=720
8
-FullScreen=false
9 8
 Font=~/.OpenRaider/data/test.ttf
10 9
 
11 10
 [Audio.OpenAL]
@@ -19,6 +18,7 @@ SensitivityY=1.0
19 18
 PakDir=~/.OpenRaider/paks/
20 19
 AudioDir=~/.OpenRaider/music/
21 20
 HomeDir=~/.OpenRaider/data/
21
+
22 22
 DisplayFPS=false
23 23
 MapDebug=false
24 24
 ModelDebug=false

+ 2
- 3
include/OpenRaider.h Ver fichero

@@ -46,9 +46,8 @@ typedef enum {
46 46
     OpenRaider_DebugMap    = (1 << 1),
47 47
     OpenRaider_DebugModel  = (1 << 2),
48 48
     OpenRaider_EnableSound = (1 << 3),
49
-    OpenRaider_DumpTexture = (1 << 4),
50
-    OpenRaider_FullScreen  = (1 << 5),
51
-    OpenRaider_Loading     = (1 << 6)
49
+    OpenRaider_DumpTexture = (1 << 4), //!< \fixme Not used!
50
+    OpenRaider_Loading     = (1 << 5)
52 51
 } OpenRaider_Flags;
53 52
 
54 53
 /*!

+ 0
- 11
src/OpenRaider.cpp Ver fichero

@@ -3243,17 +3243,6 @@ void OpenRaider::handleCommand(char *cmd, unsigned int mode)
3243 3243
             {
3244 3244
                 m_height = atoi(cmd);
3245 3245
             }
3246
-            else if (rc_command("FullScreen", cmd))
3247
-            {
3248
-                rc_get_bool(cmd, &b);
3249
-
3250
-                m_flags |= OpenRaider_FullScreen;
3251
-
3252
-                if (!b)
3253
-                {
3254
-                    m_flags ^= OpenRaider_FullScreen;
3255
-                }
3256
-            }
3257 3246
             else if (rc_command("Font", cmd))
3258 3247
             {
3259 3248
                 gFontFilename = fullPath(cmd, 0);

Loading…
Cancelar
Guardar