Re: Titanion 0.4 + Phobos2 bug

2009-04-28 Thread bearophile
bearophile: struct Vec(T=float, size_t N=3) { static assert(N 0); Sorry. Better to use: struct Vec(T=float, int N=3) { static assert(N 0); From experience using D I have seen that using unsigned types is very unsafe in the current D language. In Delphi using unsigned types

Re: Titanion 0.4

2009-04-28 Thread Christopher Wright
Moritz Warning wrote: Titanion is a 2.5D shooter game for Windows, *nix and MacOSX. The original code by Kenta Cho was ported to use Tango and Derelict. This made it possible to create binaries for different platforms and is what this 0.4 release is about. The code was also put on

Re: Titanion 0.4 + Phobos2 bug

2009-04-28 Thread bearophile
Robert Jacques: struct Vec(T = float,size_t N = 3) { T[N] _data; alias _data this; string toString() { std.conv.return text(_data); } } Very nice. plus functions as array properties which apparently got upgraded at some point to the extra () isn't needed anymore. ( i.e.

Re: Titanion 0.4 + Phobos2 bug

2009-04-28 Thread Robert Jacques
On Tue, 28 Apr 2009 05:06:23 -0400, bearophile bearophileh...@lycos.com wrote: bearophile: struct Vec(T=float, size_t N=3) { static assert(N 0); Sorry. Better to use: struct Vec(T=float, int N=3) { static assert(N 0); From experience using D I have seen that using unsigned

Re: Titanion 0.4

2009-04-28 Thread Steven Schveighoffer
On Mon, 27 Apr 2009 16:14:40 -0400, Moritz Warning moritzwarn...@web.de wrote: Titanion is a 2.5D shooter game for Windows, *nix and MacOSX. The original code by Kenta Cho was ported to use Tango and Derelict. This made it possible to create binaries for different platforms and is what this

Re: Titanion 0.4

2009-04-28 Thread Moritz Warning
On Tue, 28 Apr 2009 12:44:48 -0400, Steven Schveighoffer wrote: On Mon, 27 Apr 2009 16:14:40 -0400, Moritz Warning moritzwarn...@web.de wrote: Titanion is a 2.5D shooter game for Windows, *nix and MacOSX. The original code by Kenta Cho was ported to use Tango and Derelict. This made it

Re: dmd 2.029 release

2009-04-28 Thread Walter Bright
Georg Wrede wrote: Walter Bright wrote: I see I was being too obscure. See Colossus, the Forbin Project http://us.imdb.com/title/tt0064177/ Heh, by an incredible coincidence, it aired here a couple of weeks ago. Maybe that's why I felt the reference too obvious to comment on. I think it is