opengl conversion

converted all allegro5 primitive addon calls to opengl shapes.