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

@@ -25,10 +25,6 @@
#include <allegro5/allegro_primitives.h>
#include <stdio.h>
#ifndef M_PI
# define M_PI 3.14159265f
#endif
#define SHIP_RADIUS 10.0f // radius of the ship in pixels
void ship_init(struct ship *ship, int x, int y) {