GuvaCode / ray4laz

A complete header translation (binding) of the raylib 5.5 to Pascal. Without any funky helper functions for memory alignment issues. Inspired and partially based on the drezgames/raylib-pascal binding, however a little cleaner and more recent, with FPC 3.2.0 and up support.
https://www.raylib.com/
zlib License
108 stars 21 forks source link

RayGuy 3.0 #12

Closed funlw65 closed 2 years ago

funlw65 commented 2 years ago

Any chance to have the header? We compile the C library ourselves. Thank you!

GuvaCode commented 2 years ago

Any chance to have the header? We compile the C library ourselves. Thank you!

Header in pascal?

GuvaCode commented 2 years ago

Yes it can be done. But I can't compile raylib with rlgui in Linux. If you give me a solution, I will do it.

funlw65 commented 2 years ago

RayGui cpde was separated from RayLib, continues to depend on RayLib but if someone wants, can be made to use only GLFW library if certain functions are provided.

raygui.h must be renamed to raygui,c then compiled with a specific option to create a standalone library (be it statically or dynamically, it is specified here https://github.com/raysan5/raygui). This must be made by the user. Only then a ray_gui.pas (by header, as is named in C and FreeBasic, I meant unit) can be used. For now, I reverted to your previous version, as is used by both FreePascal and FreeBasic...

GuvaCode commented 2 years ago

RayGui cpde was separated from RayLib, continues to depend on RayLib but if someone wants, can be made to use only GLFW library if certain functions are provided.

raygui.h must be renamed to raygui,c then compiled with a specific option to create a standalone library (be it statically or dynamically, it is specified here https://github.com/raysan5/raygui). This must be made by the user. Only then a ray_gui.pas (by header, as is named in C and FreeBasic, I meant unit) can be used. For now, I reverted to your previous version, as is used by both FreePascal and FreeBasic...

Yes, thank you, I've already figured it out. The new version is already in the works. It'll be ready in an hour or two.

funlw65 commented 2 years ago

Thank you, man! You are awesome!

GuvaCode commented 2 years ago

implemented !!!

funlw65 commented 2 years ago

Thank you very much, Gunko!