Coding update: 2D Text Rendering

Making things a lot simpler I've reworked the code for bitmap fonts that I had before. What I had previously was working but in the end was very complicated for no reason. The new font library has the following (limited) features: request any TrueType font installed on the system, with some options (size, italic, bold,…

Coding update – tools, improvements and (re)Learn OpenGL

It's been a while since my last post, I was on holidays and also some of the things below kept me quite busy. Here is a non exhaustive list of what I've worked on: cmake scripts: I've finally managed to make targets dependent on files that are not source, so if that text or image…

Coding update: new libraries, graphics and input

I'm still coding my way back to where I was before I decided to switch to C instead of C++. I updated the documentation with the new libs (I have to write hundreds of comments though...sigh...). Graphics The graphics library is a wrapper for OpenGL. A lot of functions are not doing much more than…

C Code joy: the image library

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…

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…