my projects https://github.com/dpethes
@Murmandamus You make headers only for FPC or you make it compatible with DelphiXE4 ?
I'm change my Delphi DirectX games to SDL1.2 and I like port it to SDL2.0 with DelphiXE4
www.kotai.es
www.remakesonline.com -> Nemesis Online & Bubble Bobble Online & Castlevania Online & Penguin Adventure Online
www.miniracingonline.com
Here my also-SDL20-staticlink-capable SDL 2.0 (and SDL 1.2 hybrid per IFDEF) headers, which I've made in early 2012 for my c64 emulator Micro64 ( http://www.micro64.de ) on base of the old SDL 1.2 headers: http://rootserver.rosseaux.net/stuff/sdl.pas
Last edited by BeRo; 17-07-2013 at 08:42 PM.
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.
Hm, I got:
Also a text research shows SDL_LOADBMP in the 1.2 part.Target OS: Win32 for i386
Compiling sdl2test.pas
Compiling sdl.pas
sdl2test.pas(14,21) Error: Identifier not found "SDL_LOADBMP"
sdl2test.pas(59) Fatal: There were 1 errors compiling module, stopping
Fatal: Compilation aborted
Best regards,
Cybermonkey
Bookmarks