summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index 3710ae1..3df220d 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1,8 +1,12 @@
#include "constants.h"
#include "raylib.h"
#include "star.h"
+#include "stdlib.h"
+#include "time.h"
int main(int argc, char *argv[]) {
+ srand(time(0));
+
InitWindow(800, 600, "hyperspace (demo)");
SetTargetFPS(60);