2D engine written in C using SDL