Dink++
Okay, this isn't really a dmod. Every now and then I take old code written by others and try to refactor it. I remembered just how bad Dink's sources are, and decided to make it a personal exercise and give it a go.
This sort of includes everything, from improving the code, to establishing a standard for coding and keeping a changelog and other doc.
The aim is to turn all of Dink's source into something less C and more C++11, with all of its modern features. Also, to improve its design decisions where appropriate and extend the engine. I'm not exactly trying hard to keep backwards compatibility, but if possible, I do so. The first entry in my changelog kinda breaks backwards comp. with redink's set_font_color(), but builds upon the usual `Color marking. Once I find a good way to change font colors dynamically at runtime, I may provide a wrapper over set_font_color().
While this is technically my exercise, if you want to help, feel free to fork it. I chose 1.08's sources and I target Windows only (I only remembered about FreeDink today, but that one is probably cleaner than 1.08 anyway).
The repo is here: github
This sort of includes everything, from improving the code, to establishing a standard for coding and keeping a changelog and other doc.
The aim is to turn all of Dink's source into something less C and more C++11, with all of its modern features. Also, to improve its design decisions where appropriate and extend the engine. I'm not exactly trying hard to keep backwards compatibility, but if possible, I do so. The first entry in my changelog kinda breaks backwards comp. with redink's set_font_color(), but builds upon the usual `Color marking. Once I find a good way to change font colors dynamically at runtime, I may provide a wrapper over set_font_color().
While this is technically my exercise, if you want to help, feel free to fork it. I chose 1.08's sources and I target Windows only (I only remembered about FreeDink today, but that one is probably cleaner than 1.08 anyway).
The repo is here: github