# Copyright (C) 2007  Marcel Unbehaun <frostworks@gmx.de>
# Distributed under the same license as the game. See debian/copyright.

Index: tatan-1.0/src/br/boot.d
===================================================================
--- tatan-1.0.orig/src/br/boot.d	2007-07-28 16:09:10.000000000 +0000
+++ tatan-1.0/src/br/boot.d	2007-09-05 09:26:05.000000000 +0000
@@ -6,6 +6,8 @@
 private Mainloop mainloop;
 private Key key;
 private Mouse mouse;
+
+version (Win32_release) {
 
 private:
 import std.c.windows.windows;
@@ -37,7 +39,22 @@
 	}
 	gc_term();
 	return result;
+}
+} else {
+  // Boot as the general executable.
+  public int main(char[][] args) {
+    return boot(args);
+  }
 }
+
+public int boot(char[][] args) {
+ 	double d;
+	key = new Key();
+	mouse = new Mouse();
+	mainloop = new Mainloop(key ,mouse);
+	mainloop.loop();
+	return 0;
+}
 
 int user_start(){
 	double d;
Index: tatan-1.0/src/util/ascii.d
===================================================================
--- tatan-1.0.orig/src/util/ascii.d	2007-07-29 21:57:04.000000000 +0000
+++ tatan-1.0/src/util/ascii.d	2007-09-05 09:26:05.000000000 +0000
@@ -116,7 +116,7 @@
 		default:break;
 	}
 	foreach(int b;bars){
-		bar[b] = true;
+	//	bar[b] = true;
 	}
 	drawCrossBar(x ,y+20*scale ,scale ,bar[0]);
 	drawVerticalBar(x-10*scale ,y+10*scale ,scale ,bar[1]);
@@ -333,4 +333,5 @@
 		
 		glPopMatrix();
 	}
-}
\ No newline at end of file
+}
+
