C++ game engine using allegro