Browse Source

Removed unused FullScreen config toggle

Thomas Buck 10 years ago
parent
commit
87350702ff
4 changed files with 4 additions and 15 deletions
  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 View File

7
 
7
 
8
 	[ 20140312 ]
8
 	[ 20140312 ]
9
 	* Resizing the window works properly (except for fixed string positions)
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
 	[ 20140311 ]
12
 	[ 20140311 ]
12
 	* Removed empty Camera, Matrix, Particle, Quaternion,
13
 	* Removed empty Camera, Matrix, Particle, Quaternion,

+ 1
- 1
data/OpenRaider.init View File

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

+ 2
- 3
include/OpenRaider.h View File

46
     OpenRaider_DebugMap    = (1 << 1),
46
     OpenRaider_DebugMap    = (1 << 1),
47
     OpenRaider_DebugModel  = (1 << 2),
47
     OpenRaider_DebugModel  = (1 << 2),
48
     OpenRaider_EnableSound = (1 << 3),
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
 } OpenRaider_Flags;
51
 } OpenRaider_Flags;
53
 
52
 
54
 /*!
53
 /*!

+ 0
- 11
src/OpenRaider.cpp View File

3243
             {
3243
             {
3244
                 m_height = atoi(cmd);
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
             else if (rc_command("Font", cmd))
3246
             else if (rc_command("Font", cmd))
3258
             {
3247
             {
3259
                 gFontFilename = fullPath(cmd, 0);
3248
                 gFontFilename = fullPath(cmd, 0);

Loading…
Cancel
Save