aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorkartofen <mladenovnasko0@gmail.com>2022-08-08 16:16:47 +0300
committerkartofen <mladenovnasko0@gmail.com>2022-08-08 16:16:47 +0300
commitf158268a0d59133b7cef538b3fa57ece16f2981d (patch)
tree846760a497a6c08d61adae96cbce6ffe4e6383c6 /src/main.c
Big Bang
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
new file mode 100644
index 0000000..1db4858
--- /dev/null
+++ b/src/main.c
@@ -0,0 +1,17 @@
+#include <stdio.h>
+#include "tiles.h"
+#include "ppm.h"
+
+#define TILES 5
+
+int *(tiles[TILES]) = {0};
+int TILE_WIDTH;
+int TILE_HEIGHT;
+
+int main(void)
+{
+ load_tiles(TILES);
+ print_tiles(TILES);
+ free_tiles(TILES);
+ return 0;
+}