Commit f774be86 authored by Valentin Bartschies's avatar Valentin Bartschies
Browse files

make alien size a const int to use in game.c

parent 6ba603e5
......@@ -3,9 +3,9 @@
#include <stdlib.h>
#include <stdbool.h>
#define ALIEN_SIZE 30
#define ALIEN_OFFSET 5
const int ALIEN_SIZE = 30;
extern const int GAME_SCREEN_WIDTH, LASER_CANON_SPEED, FRAME_RATE;
extern int FRAMES_COUNT;
extern Texture2D ALIEN_UP, ALIEN_DOWN, ALIEN_SHOOT;
......
......@@ -8,7 +8,7 @@
#include <stdlib.h>
#include <stdbool.h>
extern const int GAME_SCREEN_WIDTH, GAME_SCREEN_HEIGHT, FRAME_RATE;
extern const int GAME_SCREEN_WIDTH, GAME_SCREEN_HEIGHT, FRAME_RATE, ALIEN_SIZE;
const int LASER_CANON_SPEED = 2;
Projectile *playerProj;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment