From e4eb705aa60f854526c514fdb5ecb0215d80e94e Mon Sep 17 00:00:00 2001 From: TSnake41 Date: Fri, 25 Dec 2020 17:38:47 +0100 Subject: [PATCH] raylua v3.5a --- luajit | 2 +- raygui | 2 +- raylib | 2 +- src/raylua.lua | 2 +- tools/api.h | 3 ++- 5 files changed, 6 insertions(+), 5 deletions(-) diff --git a/luajit b/luajit index 76958aa..a2a39ea 160000 --- a/luajit +++ b/luajit @@ -1 +1 @@ -Subproject commit 76958aa0c445aa817ff41d3a7987e9b7ba7a58c2 +Subproject commit a2a39ea7184f3c8cab9474c6e41f6541265fb362 diff --git a/raygui b/raygui index 07b30c3..f5bd6c0 160000 --- a/raygui +++ b/raygui @@ -1 +1 @@ -Subproject commit 07b30c30af7309b396cfa458d30f54b38ef78808 +Subproject commit f5bd6c08f8d761b625890e4256339ff93c770ac1 diff --git a/raylib b/raylib index 51e75be..e25e380 160000 --- a/raylib +++ b/raylib @@ -1 +1 @@ -Subproject commit 51e75be9d1ffeaf6d47d3670017cca36f4785a17 +Subproject commit e25e380e80a117f2404d65b37700fb620dc1f990 diff --git a/src/raylua.lua b/src/raylua.lua index ea30bc8..883cd85 100644 --- a/src/raylua.lua +++ b/src/raylua.lua @@ -16,7 +16,7 @@ local load = loadstring -raylua.version = "v3.5-pre1" +raylua.version = "v3.5a" function raylua.repl() print("> raylua " .. raylua.version .. " <") diff --git a/tools/api.h b/tools/api.h index 18b0098..46ef8f1 100644 --- a/tools/api.h +++ b/tools/api.h @@ -185,10 +185,11 @@ void DrawPolyLines(Vector2 center, int sides, float radius, float rotation, Colo bool CheckCollisionRecs(Rectangle rec1, Rectangle rec2) bool CheckCollisionCircles(Vector2 center1, float radius1, Vector2 center2, float radius2) bool CheckCollisionCircleRec(Vector2 center, float radius, Rectangle rec) -Rectangle GetCollisionRec(Rectangle rec1, Rectangle rec2) bool CheckCollisionPointRec(Vector2 point, Rectangle rec) bool CheckCollisionPointCircle(Vector2 point, Vector2 center, float radius) bool CheckCollisionPointTriangle(Vector2 point, Vector2 p1, Vector2 p2, Vector2 p3) +bool CheckCollisionLines(Vector2 startPos1, Vector2 endPos1, Vector2 startPos2, Vector2 endPos2, Vector2 *collisionPoint) +Rectangle GetCollisionRec(Rectangle rec1, Rectangle rec2) Image LoadImage(const char *fileName) Image LoadImageRaw(const char *fileName, int width, int height, int format, int headerSize) Image LoadImageAnim(const char *fileName, int *frames)