Blog | Tags | Archives | Projects | Stats | Contact
Tags: Android, Android NDK, C, Native, Programming, SDL, Source code
Note: There’s now a patch for SDL that makes the same possible on older Androids as well. The Android NDK makes it possible to use SDL to code Android apps. The aliens.c example bundled with the Android SDL port is fine and dandy except it reads data from /sdcard/data and it has to be pushed [...]
Read more...
Tags: API, C, Libraries, Programming, XML
XML can be overkill or simply cumbersome to edit manually for example when used in configuration files. Or, it may simply be unavailable for the preferred platform. Here’s a great alternative.
Read more...
Tags: C, GUI, SDL
More often than not, the biggest obstacle for a programmer is adding a GUI to a otherwisely ready application. This probably is because you generally can create a program that inputs and outputs text with a few lines of code in any language.
Read more...
Tags: C, GCC, OpenGL
I stumbled upon weird behavior of OpenGL: I was setting material properties with glMaterialfv and for some reason this did not change the parameters if done multiple times in succession. I.e. when I drew two versions of the same object on the screen side by side with different material parameters, they both looked the same.
Read more...