Welcome to mirror list, hosted at ThFree Co, Russian Federation.

game.h « src - github.com/ClusterM/space-dragon.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 530cb97a7bb1da6fd4ab8eb2ff8fc610f7f6b42a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#define VERSION "v1.3"

typedef struct Asteroid {
	float x;
	float y;
	float speed_x;
	float speed_y;
	int size;
	GPathInfo path;
	GPath *draw_path;
	int rot;
	int rot_speed;
	struct Asteroid* next;
} Asteroid;

void show_game();
void reset_game();