diff options
Diffstat (limited to 'src/stars.h')
-rw-r--r-- | src/stars.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/stars.h b/src/stars.h new file mode 100644 index 0000000..aa30fa4 --- /dev/null +++ b/src/stars.h @@ -0,0 +1,19 @@ +#include "gameCommon.h" + +#ifndef STARS_H +#define STARS_H + +#define STAR_COUNT 64 + +#define STAR_MIN_DISTANCE 400.0 +#define STAR_MAX_DISTANCE 1000.0 + +typedef struct Stars { + Vector3 stars[STAR_COUNT]; + bool starsUsed[STAR_COUNT]; +} Stars; + +void initStars(Stars * stars); +void drawStars(Game * game, Stars * stars); + +#endif |