C++ and SDL Game Engine