Created an event manager.

This commit is contained in:
2018-03-25 14:53:40 +02:00
parent b99e33fe52
commit d57da20ec7
6 changed files with 152 additions and 14 deletions

View File

@@ -23,7 +23,12 @@
#endif
#ifndef FPS
# define FPS 60
# define FPS 60.0f
#endif
#include <allegro5/allegro.h>
extern ALLEGRO_DISPLAY *display; ///< The allegro display.
extern int redraw; ///< Whether or not to redraw the screen.
extern int run; ///< Whether or not to continue running the simulation.