map is now segfault free and support non rectangular shapes and fix a bug when clicking off the maps some shadow tiles could be moved

This commit is contained in:
Clément Le Bihan
2020-03-11 01:39:43 +01:00
parent fe4e593219
commit 5b52690043
3 changed files with 37 additions and 17 deletions
+1 -1
View File
@@ -249,7 +249,7 @@ add_executable(My3D
lib/gamacon/src/components/tooltip_component.c
lib/gamacon/include/components/tooltip_component.h
lib/gamacon/src/systems/tooltip_system.c
lib/gamacon/src/components/isometry/vertex_data_loader.c)
lib/gamacon/src/components/isometry/vertex_data_loader.c lib/gamacon/include/vertex_data_loader.h)
add_compile_options(-W -Wall -Wextra -Wshadow)
+35 -15
View File
@@ -11,6 +11,26 @@
<row height="0" />
<row height="0" />
<row height="0" />
<row height="0" />
<row height="0" />
<row height="0" />
</line>
<line>
<row height="0" />
<row height="0" />
<row height="0" />
<row height="0" />
<row height="0" />
<row height="0" />
<row height="0" />
<row height="0" />
<row height="0" />
<row height="0" />
<row height="0" />
<row height="0" />
<row height="0" />
<row height="0" />
</line>
<line>
<row height="0" />
@@ -59,10 +79,6 @@
<row height="0" />
<row height="0" />
<row height="0" />
<row height="0" />
<row height="0" />
<row height="0" />
<row height="0" />
</line>
<line>
<row height="0" />
@@ -115,17 +131,6 @@
<row height="0" />
<row height="0" />
<row height="0" />
</line>
<line>
<row height="0" />
<row height="0" />
<row height="0" />
<row height="0" />
<row height="0" />
<row height="0" />
<row height="0" />
<row height="0" />
<row height="0" />
<row height="0" />
<row height="0" />
</line>
@@ -141,5 +146,20 @@
<row height="0" />
<row height="0" />
<row height="0" />
<row height="0" />
</line>
<line>
<row height="0" />
<row height="0" />
<row height="0" />
<row height="0" />
<row height="0" />
<row height="0" />
<row height="0" />
<row height="0" />
<row height="0" />
<row height="0" />
<row height="0" />
<row height="0" />
</line>
</gc_map>