Heyo everyone. I decided to scrap the idea of using templates and making a more D like language plugin for DarkGDK and just retro-fitted the cpp one and its worked out very well (be done in a day or two RL permitting) attached is the current example program (spinning cube) in D.
There is a problem though. When you close the window the cube starts spinning uncontrollably and doesn't close. I am not too sure why this happens but then again i don't understand a lot of the thread locking components of simpleWindow and thus they are lacking in my own version as i don't know how to implement them in D.
The attached has a .bat file to build it with dmd2 all you need is your gdkengine.dll along side it and go... until you try and close it.
If anyone can look over the simplewindow.d file and see why this is happening or how to fix it i would greatly appreciate the help!
Also this is not exactly how the end product will look using DarkGDK dlang its just a test build that happens to be going rather well. Thanks for you time.
I swear to the programmers bible that I shall not harm the FPS.