SDL2 framework for 2D game