Tag: Programming
-
Programming Log 2022 #2: LearnOpenGL Android port WIP
It’s been a while since I posted anything, I have stopped working for a good chunk of the year, but I recently went back at it! Changelog: ported all exisiting LearnOpenGL examples to android (gathering everything under one app), now all code is portable between win32 & android Cmake macros improvement to automatically handle assets…
-
Programming Log 2022 #1: Starfield
Changelog: Support for Linux platform in the toolchain using cmake, CodeBlocks with Unix Makefiles, on Ubuntu VM Support for Android platform in the toolchain using (only) Visual Studio 2022 with mobile development tools for C++ and cmake simple starfield app using software rendering After months of relative inactivity, I am back working on the project!…
-
Summer update 2021: getting rid of dependencies
Photo by Nattu Adnan on Unsplash I have been away from this site for a long time. I was busy buying a house and preparing a wedding, and my motivation took a serious hit. Things are starting to calm down so I will hopefully write more posts from now on. I removed some pages from…
-
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) JPEG PNG GIF (some cases not handled like interlaced data) supported…
-
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!
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 more skill and experience, I try to analyze…
-
Progress update – parser, strings and containers
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 a nice set of HTML pages that…
-
Life without the OOP – Code conversion ongoing…
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 about object oriented programming allows me…
-
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…