C++ Game Engine using SDL