diff -Naur tatan/Makefile tatan-gentoo/Makefile --- tatan/Makefile 1970-01-01 01:00:00.000000000 +0100 +++ tatan-gentoo/Makefile 2007-08-05 12:12:37.000000000 +0200 @@ -0,0 +1,17 @@ +DC=gdmd +DFLAGS=-g -O -d -release -Iimport -Isrc +DOUT=-of + +DSRC=$(shell find src/ -name "*.d") +SOURCES=$(DSRC) import/SDL_video.d import/SDL_mouse.d import/hell2.d import/SDL_mixer.d +OBJS=$(SOURCES:.d=.o) +EXE=tatan + +all: $(EXE) + +$(EXE): $(OBJS) + gcc -o $@ $(OBJS) -lbulletml_d -lgphobos -lpthread -lm -lSDL -lGL -lGLU -lSDL_mixer + +$(OBJS): %.o: %.d + $(DC) -c $(DOUT)$@ $(DFLAGS) $< + diff -Naur tatan/src/br/boot.d tatan-gentoo/src/br/boot.d --- tatan/src/br/boot.d 2007-07-28 16:09:10.000000000 +0200 +++ tatan-gentoo/src/br/boot.d 2007-08-04 19:01:29.000000000 +0200 @@ -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; diff -Naur tatan/src/util/ascii.d tatan-gentoo/src/util/ascii.d --- tatan/src/util/ascii.d 2007-07-29 21:57:04.000000000 +0200 +++ tatan-gentoo/src/util/ascii.d 2007-08-05 12:27:32.000000000 +0200 @@ -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(); } -} \ Kein Zeilenumbruch am Dateiende. +} +