A new user interface for you! Read more...

File tumiki-fighters-windowed.patch of Package tumiki-fighters

# Copyright (C) 2007  Miriam Ruiz <little_miry@yahoo.es>
# Distributed under the same license as the game. See debian/copyright.

Index: tf/src/abagames/tf/boot.d
===================================================================
--- tf.orig/src/abagames/tf/boot.d
+++ tf/src/abagames/tf/boot.d
@@ -27,7 +27,7 @@ MainLoop mainLoop;
 
 private void usage(char[] args0) {
   Logger.error
-    ("Usage: " ~ args0 ~ " [-brightness [0-100]] [-window] [-res x y] [-nosound] [-reverse]");
+    ("Usage: " ~ args0 ~ " [-brightness [0-100]] [-window] [-fullscreen] [-res x y] [-nosound] [-reverse]");
 }
 
 private void parseArgs(char[][] args) {
@@ -49,6 +49,9 @@ private void parseArgs(char[][] args) {
     case "-window":
       Screen.windowMode = true;
       break;
+    case "-fullscreen":
+      Screen.windowMode = false;
+      break;
     case "-res":
       if (i >= args.length - 2) {
 	usage(args[0]);
Index: tf/src/abagames/util/sdl/screen3d.d
===================================================================
--- tf.orig/src/abagames/util/sdl/screen3d.d
+++ tf/src/abagames/util/sdl/screen3d.d
@@ -20,7 +20,7 @@ public class Screen3D: Screen {
   static float brightness = 1;
   static int width = 640;
   static int height = 480;
-  static bool windowMode = false;
+  static bool windowMode = true;
   static float nearPlane = 0.1;
   static float farPlane = 1000;