C++ game engine. Work in progress