diff options
author | Simponic <loganthebean222@gmail.com> | 2020-08-11 16:44:22 -0600 |
---|---|---|
committer | Simponic <loganthebean222@gmail.com> | 2020-08-11 16:44:22 -0600 |
commit | e84e232f8d003f3cf3340517d8bf6b65ba430143 (patch) | |
tree | 726c063aa9e4b3a184506c4d7503f8aea7ba4886 /source/map.c | |
parent | e09a23f0a4f342aa83854ce8cc11aacc09e350fd (diff) | |
download | geometry-dash-gba-e84e232f8d003f3cf3340517d8bf6b65ba430143.tar.gz geometry-dash-gba-e84e232f8d003f3cf3340517d8bf6b65ba430143.zip |
Started work on tile-map
Diffstat (limited to 'source/map.c')
-rw-r--r-- | source/map.c | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/source/map.c b/source/map.c new file mode 100644 index 0000000..41048d0 --- /dev/null +++ b/source/map.c @@ -0,0 +1,21 @@ +#include "../include/map.h" +/* +const int map1[7][20] = { + {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, + {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, + {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, + {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, + {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, + {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, + {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1}, +}; +*/ +const int map1[7][20] = { + {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1}, + {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1}, + {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1}, + {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1}, + {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1}, + {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1}, + {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1}, +}; |