Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 128986 Details for
Bug 188455
ebuild using gdc for HIZ's game "tatan"
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
games-action/tatan/files/tatan-1.0.diff
tatan-1.0.diff (text/plain), 1.78 KB, created by
Account removed
on 2007-08-23 17:12:37 UTC
(
hide
)
Description:
games-action/tatan/files/tatan-1.0.diff
Filename:
MIME Type:
Creator:
Account removed
Created:
2007-08-23 17:12:37 UTC
Size:
1.78 KB
patch
obsolete
>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. >+} >+
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 188455
:
127729
|
127730
|
128569
|
128984
|
128986
|
131402
|
136262
|
136264
|
181644