Re: Dgame revived
On Sunday, 15 March 2015 at 23:17:10 UTC, Joel wrote: On Sunday, 15 March 2015 at 22:51:17 UTC, Namespace wrote: On Sunday, 15 March 2015 at 22:30:06 UTC, Joel wrote: I've been getting these errors: I found two places that have 'package(Dgame):' - source\Dgame\Graphic\Color.d(30) and source\Dgame\Math\Rect.d(44), and if I remove them (comment them out), then only one error remains: Yeah, I've used a dmd 2.067 version. I will fix this tomorrow, so that Dgame is useable with dmd 2.066. Compiling using dmd... Error: cannot read file main.d FAIL .dub\build\main-debug-windows-x86-dmd_2066-7A96EE8F0A68A2410292AA6D54ADEF4C \ dgame-example executable Error executing command run: dmd failed with exit code 1. That error should be fixed now. I still get this error. Or am I using the wrong zip file? Keep up the good work! Thanks! Currently you should use the Master branch until I fixed the package thing.
Re: Dgame revived
I think a tutorial on how to do tile map with sprites would be awesome http://dgame-dev.de/?page=tutorialtut=tilemap
Re: This Week in D: Issue #4
On Thursday, 12 February 2015 at 10:06:43 UTC, Dominikus Dittes Scherkl wrote: On Wednesday, 11 February 2015 at 14:32:46 UTC, Adam D. Ruppe wrote: On Wednesday, 11 February 2015 at 11:21:46 UTC, Dominikus Dittes Scherkl wrote: Did I missed issue #5 ? No, I did; I was sick most of last week and decided to skip it, just going to bed instead on sunday night. Sorry, I didn't wanted to create any pressure. Of course health is more important. Gute Besserung! Always nice to see other german people here. :) Moin.
Re: D idioms list
I saw recently (at last in this thread: http://forum.dlang.org/thread/tdfydchrairigdlgt...@forum.dlang.org#post-qakiogaqvmiwlneimhgu:40forum.dlang.org) that many users use key in aa ? aa[key] : ValueType.init; instead of auto ptr = key in aa; ptr ? *ptr : ValueType.init; which is more economic. Maybe you can add it to your list: import std.stdio; void main() { immutable string key = foo; immutable string[string] arr = [key : bar]; if (auto ptr = key in arr) writeln(*ptr); }
Re: D idioms list
On Thursday, 8 January 2015 at 20:00:11 UTC, Foo wrote: On Thursday, 8 January 2015 at 10:21:26 UTC, ponce wrote: I've started a list of curated D tips and tricks here: http://p0nce.github.io/d-idioms/ Anything that you wished you learned earlier at one point in the D world is welcome to be added or suggested. I think the focus should be on stuff that could make you more productive, or is just funky but that is up to debate. Of course the D Cookbook still stays irreplaceable for a consistent, in-depth discussion of being D-enabled. Thoughts? Struct inheritance with alias this You are using a class ;) And the public label is redundant.
Re: German D Community?
On Monday, 1 December 2014 at 09:38:35 UTC, trgy wrote: On Monday, 1 December 2014 at 09:22:47 UTC, Stefan Koch wrote: On Monday, 1 December 2014 at 09:17:42 UTC, trgy wrote: Hello, is there a german D community? I cannot find a forum/wiki or something else. I hope you can help me. :) Thanks in advance. Best regards trgy There is a german community. Most of them are here :) As far as I know there is no seperate forum or wiki. Thank you for this information. Would nobody of the german community prefer to have a forum/wiki in german? Best regards trgy I would like it. :)
Re: Multiple alias this is coming.
On Thursday, 18 September 2014 at 18:38:57 UTC, Ali Çehreli wrote: On 09/18/2014 04:20 AM, IgorStepanov wrote: I've created pull request, which introduces multiple alias this. https://github.com/D-Programming-Language/dmd/pull/3998 Please see the additional tests and comment it. Awesome! This is the feature that I thought would never get implemented. :) Ali No, these are rvalue references. ;)