Moved the mainloop into a function
Added a gamemode variable (useful for menus later)
Added more comments to main.cpp
The event loop now passes keydown events on to the player
The mainloop now calls player.update()
Added working player motion
Used glOrtho to set the window to a proper aspect ratio
Made the viewport draw using (20*aspect)x20 units
Made the player handle the hypotenuse:
Player now moves at the same speed going diagonal vs orthogonal.