tumiki-fighters (0.2.dfsg1-4) windowed.patch

Summary

 src/abagames/tf/boot.d           |    5 ++++-
 src/abagames/util/sdl/screen3d.d |    2 +-
 2 files changed, 5 insertions(+), 2 deletions(-)

    
download this patch

Patch contents

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

Index: tumiki-fighters-0.2.dfsg1/src/abagames/tf/boot.d
===================================================================
--- tumiki-fighters-0.2.dfsg1.orig/src/abagames/tf/boot.d	2007-09-08 17:35:04.000000000 +0000
+++ tumiki-fighters-0.2.dfsg1/src/abagames/tf/boot.d	2007-09-08 17:35:30.000000000 +0000
@@ -27,7 +27,7 @@
 
 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 @@
     case "-window":
       Screen.windowMode = true;
       break;
+    case "-fullscreen":
+      Screen.windowMode = false;
+      break;
     case "-res":
       if (i >= args.length - 2) {
 	usage(args[0]);
Index: tumiki-fighters-0.2.dfsg1/src/abagames/util/sdl/screen3d.d
===================================================================
--- tumiki-fighters-0.2.dfsg1.orig/src/abagames/util/sdl/screen3d.d	2004-05-14 23:35:40.000000000 +0000
+++ tumiki-fighters-0.2.dfsg1/src/abagames/util/sdl/screen3d.d	2007-09-08 17:36:21.000000000 +0000
@@ -20,7 +20,7 @@
   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;