summaryrefslogtreecommitdiff
path: root/include/map.h
diff options
context:
space:
mode:
authorAldrik Ramaekers <aldrik@amftech.nl>2023-05-05 20:09:22 +0200
committerAldrik Ramaekers <aldrik@amftech.nl>2023-05-05 20:09:22 +0200
commit9d0bb9f229155546fde8b4f666d2682ad5ac606f (patch)
tree4c7ed0896e8381bd14fa2b1de031abac9a6d0d2d /include/map.h
parentbbd7bc28a2cd8716eac6add006abb91ee55c4f91 (diff)
lighting work
Diffstat (limited to 'include/map.h')
-rw-r--r--include/map.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/map.h b/include/map.h
index 9134d18..ea5d619 100644
--- a/include/map.h
+++ b/include/map.h
@@ -70,6 +70,8 @@ typedef struct t_extracted_map_data {
map_data map_to_load = {0};
extracted_map_data loaded_map = {0};
+vec2 screen_pos_to_world_pos(platform_window* window, float x, float y);
+vec2f world_pos_to_screen_pos(platform_window* window, float x, float y, float z);
void create_empty_map();
void load_map_from_file();
tile get_tile_under_coords(float x, float y);