C++/SDL 2D game engine