Fully functional simulation.

I still need to add the restart feature.
This commit is contained in:
2018-03-25 18:43:06 +02:00
parent 85435fef8d
commit c51f34c888
3 changed files with 27 additions and 5 deletions

View File

@@ -39,6 +39,13 @@
# define WINDOW_HEIGHT 600
#endif
#include <math.h>
#ifndef M_PI
# define M_PI 3.14159265f
#endif
#define RAD_TO_DEG(x) (x * 180 / M_PI)
#include <allegro5/allegro.h>
extern int redraw; ///< Whether or not to redraw the screen.