Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 188455 | Differences between
and this patch

Collapse All | Expand All

(-)tatan/Makefile (+17 lines)
Line 0 Link Here
1
DC=gdmd
2
DFLAGS=-g -O -d -release -Iimport -Isrc
3
DOUT=-of
4
5
DSRC=$(shell find src/ -name "*.d")
6
SOURCES=$(DSRC) import/SDL_video.d import/SDL_mouse.d import/hell2.d import/SDL_mixer.d
7
OBJS=$(SOURCES:.d=.o)
8
EXE=tatan
9
10
all: $(EXE)
11
12
$(EXE): $(OBJS)
13
	gcc -o $@ $(OBJS) -lbulletml_d -lgphobos -lpthread -lm -lSDL -lGL -lGLU -lSDL_mixer
14
15
$(OBJS): %.o: %.d
16
	$(DC) -c $(DOUT)$@ $(DFLAGS) $<
17
(-)tatan/src/br/boot.d (+17 lines)
Lines 6-11 Link Here
6
private Mainloop mainloop;
6
private Mainloop mainloop;
7
private Key key;
7
private Key key;
8
private Mouse mouse;
8
private Mouse mouse;
9
10
version (Win32_release) {
9
11
10
private:
12
private:
11
import std.c.windows.windows;
13
import std.c.windows.windows;
Lines 37-43 Link Here
37
	}
39
	}
38
	gc_term();
40
	gc_term();
39
	return result;
41
	return result;
42
}
43
} else {
44
  // Boot as the general executable.
45
  public int main(char[][] args) {
46
    return boot(args);
47
  }
40
}
48
}
49
50
public int boot(char[][] args) {
51
 	double d;
52
	key = new Key();
53
	mouse = new Mouse();
54
	mainloop = new Mainloop(key ,mouse);
55
	mainloop.loop();
56
	return 0;
57
}
41
58
42
int user_start(){
59
int user_start(){
43
	double d;
60
	double d;
(-)tatan/src/util/ascii.d (-2 / +3 lines)
Lines 116-122 Link Here
116
		default:break;
116
		default:break;
117
	}
117
	}
118
	foreach(int b;bars){
118
	foreach(int b;bars){
119
		bar[b] = true;
119
	//	bar[b] = true;
120
	}
120
	}
121
	drawCrossBar(x ,y+20*scale ,scale ,bar[0]);
121
	drawCrossBar(x ,y+20*scale ,scale ,bar[0]);
122
	drawVerticalBar(x-10*scale ,y+10*scale ,scale ,bar[1]);
122
	drawVerticalBar(x-10*scale ,y+10*scale ,scale ,bar[1]);
Lines 333-336 Link Here
333
		
333
		
334
		glPopMatrix();
334
		glPopMatrix();
335
	}
335
	}
336
}
336
}
337

Return to bug 188455