I have transferred my C++ image library to C. Fortunately that wasn't too hard, and I've been able to make many improvements along the way. After the porting to C it's cleaner, way more modular, I love it. Features supported image formats:bitmap (.BMP)JPEGPNGGIF (some cases not handled like interlaced data)supported pixel formatsindexed images 1 to…
Tag: Programming
First release of code doc generator
The GitHub page for the project is now up. Thanks to GitHub pages I can now host the HTML code documentation for my entire C code, which is quite a nice feature. See it here. I have also uploaded a binary version of the generator, with a readme file and an example project. If you…
C programming – adding multi-threading
A simple API I have not worked a lot with concurrency in the past, though in my C++ code I made a small multi-threaded job system, that I barely used. This time I wanted to introduce it quite early in the code to maximize chances of using it when applicable. And just to be more…
Progress update: C doc generator tool
It works! After weeks spending time on it (& fixing code), I have a working version of the doc generator I am satisfied with. Thanks to my girlfriend, setting up correct HTML/CSS would have been a lot more painful if I had to do it myself. In terms of speed, it's currently taking less than…
What’s up? Doc!
Jaysus my titles keep going lamer and lamer... Progress update on the documentation generator I've made a lot of progress on the code documentation tool. I took a lot of inspiration stole from Eskil Steenberg's website gamepipeline.org. On "stealing" things On this subject, whenever I see something cool from another developer online, especially someone with…
Progress update – parser, strings and containers
Dear lord I suck at making visuals... All this for documentation no one will read... Instead of using an already existing code documentation generator, like Doxygen, I have decided yet again to build my own. For now I want to make sure it parses my C code (and my dear cmake macros too), then generates…
Life without the OOP – Code conversion ongoing…
(I obviously don't have a Mac...) Rewriting my code to C is somewhat tedious (especially the math lib...), I'm nowhere near converting every C++ file I have, but of what I got so far I like the end result a lot, and I enjoy the shift I'm seeing in my reasoning ability.Not having to worry…
Do you C?
The confinement has taken its toll on me. I'm dropping C++ in favor of C. I wonder if the the virus got to my brain instead of my lungs? A week ago I decided to port all my C++ code to C. I still like C++ it a lot, I'm using it all the time…
Back after a break
News from the confinement area (a.k.a my living room...) It's a crazy time, and I haven't been productive at all these last few weeks. But I'm slowly adapting to the situation and I am motivated to work on some things again. Implementing the GIF format was a painful process, it took a while and I…
It’s GIF!!!
My next order of focus is something that will be extra beneficial and fun for the engine, supporting the GIF format! Yay \o/ I could very well take an existing library, but I don't like the idea of pulling another dependency.I'd rather have my own bit of code that doesn't require maintenance, checking versions, integration,…