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

github.com/ClusterM/space-dragon.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/game.h')
-rw-r--r--src/game.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/src/game.h b/src/game.h
index 530cb97..1cca719 100644
--- a/src/game.h
+++ b/src/game.h
@@ -1,4 +1,14 @@
+#ifndef _GAME_H_
+#define _GAME_H_
+
#define VERSION "v1.3"
+#define SHIP_WIDTH 10
+#define SHIP_HEIGHT 15
+#define SCREEN_WIDTH 144
+#define SCREEN_HEIGHT 168
+#define UPDATE_INTERVAL 25
+#define ASTEROID_START_INTERVAL 40
+#define MIN_TUTORIAL_SCORE 200
typedef struct Asteroid {
float x;
@@ -14,4 +24,6 @@ typedef struct Asteroid {
} Asteroid;
void show_game();
-void reset_game(); \ No newline at end of file
+void reset_game();
+
+#endif