I am looking for SDL2 headers, too. But there seems to be no Pascal support as far as I can tell. The only one I found is SDLh.pas for the game Hedgewars but I think SDL2 is only used for the mobile ports ...
I am looking for SDL2 headers, too. But there seems to be no Pascal support as far as I can tell. The only one I found is SDLh.pas for the game Hedgewars but I think SDL2 is only used for the mobile ports ...
Last edited by Cybermonkey; 25-02-2013 at 04:54 PM. Reason: Typo
Best regards,
Cybermonkey
I'm writing SDL 2.0 Pascal Headers from the actual Repository. Here:
https://github.com/ev1313/Pascal-SDL-2-Headers
Actually not all Header-Files are translated yet, but the most important are: i was able creating windows with openGL Support and Event-Handling.
(see my sample section: https://github.com/ev1313/Pascal-SDL-2-Samples/ )
Of course everything is WIP, but you can help me by testing them
Edit:
Actually the RC-Candidat don't works with Pascal, you'll get an error with "missing main-function". this is fixed in the actual release, but this means you have to compile the DLL yourself. Here's an working DLL i've compiled with VSExpress:
32 Bit: https://dl.dropboxusercontent.com/u/512 ... L2_x86.dll
64 Bit: https://dl.dropboxusercontent.com/u/512 ... 86_x64.dll
Last edited by End; 18-07-2013 at 10:01 AM.
Bookmarks