summaryrefslogtreecommitdiff
path: root/include/shapes.h
diff options
context:
space:
mode:
authorjussi2022-02-18 18:27:10 +0200
committerjussi2022-02-18 18:27:10 +0200
commit6e4fdd3b3ae4e4656e151f098c40cfe551a36e8c (patch)
tree37e30d371ebd44dfc8bab0d33c26f0294bda5ae4 /include/shapes.h
parent345cc1d5aa3b3c97e2cce453dc65a62c3e05427b (diff)
downloadreilua-enhanced-6e4fdd3b3ae4e4656e151f098c40cfe551a36e8c.tar.gz
reilua-enhanced-6e4fdd3b3ae4e4656e151f098c40cfe551a36e8c.tar.bz2
reilua-enhanced-6e4fdd3b3ae4e4656e151f098c40cfe551a36e8c.zip
Added initial files.
Diffstat (limited to 'include/shapes.h')
-rw-r--r--include/shapes.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/include/shapes.h b/include/shapes.h
new file mode 100644
index 0000000..423a43f
--- /dev/null
+++ b/include/shapes.h
@@ -0,0 +1,21 @@
+#pragma once
+
+/* Drawing. */
+int lshapesDrawPixel( lua_State *L );
+int lshapesDrawLine( lua_State *L );
+int lshapesDrawCircle( lua_State *L );
+int lshapesDrawCircleLines( lua_State *L );
+int lshapesDrawRectangle( lua_State *L );
+int lshapesDrawRectanglePro( lua_State *L );
+int lshapesDrawTriangle( lua_State *L );
+int lshapesDrawTriangleLines( lua_State *L );
+/* Collision. */
+int lshapesCheckCollisionRecs( lua_State *L );
+int lshapesCheckCollisionCircles( lua_State *L );
+int lshapesCheckCollisionCircleRec( lua_State *L );
+int lshapesCheckCollisionPointRec( lua_State *L );
+int lshapesCheckCollisionPointCircle( lua_State *L );
+int lshapesCheckCollisionPointTriangle( lua_State *L );
+int lshapesCheckCollisionLines( lua_State *L );
+int lshapesCheckCollisionPointLine( lua_State *L );
+int lshapesGetCollisionRec( lua_State *L );