My renderer for 2D quads is usable. It accepts only one texture for now (enough for me, because I'm using a texture atlas), but I will update to accept multiple texture (and filter by texture) later.
I also got my implementation of matrix operations working.
Aaaaaaand, the input system is very nice, inspired by the godot input system. In the initialization I assign inputs with a name:
add_key_input("p1_up", KEY_UP);
add_key_input("p1_up", KEY_I);
add_key_input("p1_down", KEY_DOWN);
add_key_input("p1_down", KEY_K);
add_key_input("p1_left", KEY_LEFT);
add_key_input("p1_left", KEY_J);
add_key_input("p1_right", KEY_RIGHT);
add_key_input("p1_right", KEY_L);
Then in the update I can query using only that name:
if (get_input("p1_up")) {
printf("move up\n");
}
easier for programming, and easier when I have to implement the menu for controller configuration.