diff options
author | quou <quou@disroot.org> | 2024-07-31 22:12:48 +1000 |
---|---|---|
committer | quou <quou@disroot.org> | 2024-07-31 22:12:48 +1000 |
commit | 205f7d49530e6c32ec0a09045d9cb45dcf9b1752 (patch) | |
tree | e1d3432a677ff3511ed191aabfde6cf240f784b7 /map.c | |
parent | 8d729883b3e134df8b9fc10f094df9fc3618bdb4 (diff) |
GUI + map editor beginnings
Diffstat (limited to 'map.c')
-rw-r--r-- | map.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -0,0 +1,5 @@ +#include "map.h" + +int map_size(int w, int h) { + return sizeof(Map) + w * h * sizeof(Map_Tile); +} |