Also my question. If there will be SDL 2.0 for Pascal, will this break the SDL_Image and other things?
I guess they will not work with SDL, because of rewrite of SDL.
Or im wrong?
Also my question. If there will be SDL 2.0 for Pascal, will this break the SDL_Image and other things?
I guess they will not work with SDL, because of rewrite of SDL.
Or im wrong?
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.
Judging from the Mercurial web interface, SDL 2.0 will come with new versions of _image, _mixer, _net and _ttf.
Like Super Vegeta said, there are newer versions of the support libraries like SDL_image and the rest that will support SDL 2.
The main problem is that there are no Pascal-based headers from what I can tell. Perhaps this is a new project for the community?
From what I can tell it would be worth it to work on a new set of headers for SDL. Considering the advantages that 2 brings to the table. Multiple display/window support, Force feedback for Win/Lin/Mac, improved video hardware acceleration support and of course Full Screen functionality that was lost to SDL 1.x in the last 2 versions of Mac OS X. :/
I don't think that Dom is doing much with JEDI-SDL these days other than just holding onto the repository. Honestly though I think that the "JEDI" label should probably be retired at some point considering that Delphi is likely much lower on the list of game dev tools these days.
Don't forget another big plus: statical linking is allowed on all platforms...
Best regards,
Cybermonkey
Just wanted to give a FYI on this topic.. since SDL 2.0 has gone RC, I have started doing the FPC header conversion for it. Not sure when or how much of it will be done -- I am trying to convert as much as possible, though some of the headers don't have a natural analogue in FPC.
Once I get a clean pass and can compile some test/example apps with it, I'll publish it on github.
That's great! Please keep the community informed. There are many that have been using SDL as a starting point into game graphics programming. It would be great if we could finally get an updated resource.
Dominique Louis (aka savage) no longer updates JEDI-SDL so it's kind of hard to tote it as the best beginners library out there now. Though it's not 100% obsolete, it's starting to age and compatibility and stability will start becoming an issue as desktop OSes start to evolve.
Bookmarks