Skip to content
These are the Pascal SDL 2 Headers.
Branch: master
Clone or download
ev1313 Merge pull request #70 from piXelicidio/updates2
File paths Functions should return PAnsiChar instead of PChar
Latest commit 58f6ccd Sep 21, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore fixed bug with procedures without parameters (they must have brackets… Sep 29, 2013
MPL-LICENSE * added zlib license option & expanded readme a little bit. Jul 30, 2018
README.md * added zlib license option & expanded readme a little bit. Jul 30, 2018
jedi.inc fix sdlsyswm, fix c-enumerators Mar 17, 2017
sdl.inc Quick patch: Add SDL_INIT_EVENTS flag Jun 21, 2018
sdl2.pas Updates TSDL_Window (2.0.8) Jul 30, 2018
sdl2_gfx.pas * renamed files to lower case, see issue #30 Jul 9, 2017
sdl2_image.pas * renamed files to lower case, see issue #30 Jul 9, 2017
sdl2_mixer.pas * renamed files to lower case, see issue #30 Jul 9, 2017
sdl2_net.pas * renamed files to lower case, see issue #30 Jul 9, 2017
sdl2_ttf.pas Update sdl2_ttf.pas Aug 23, 2018
sdlaudio.inc Add SDL_DequeueAudio() - introduced by SDL 2.0.5 Oct 21, 2016
sdlblendmode.inc fixed for MacOS with Delphi XE2 Sep 1, 2013
sdlclipboard.inc * fixed new header files. Oct 9, 2014
sdlcpuinfo.inc Add functions introduced in SDL 2.0.4 Apr 24, 2016
sdlerror.inc fixed for delphi Sep 3, 2013
sdlevents.inc Added SDL_PRESSED and SDL_RELEASED to sdlevents.inc Oct 9, 2017
sdlfilesystem.inc function should return PAnsiChar instead of PChar. Apr 5, 2018
sdlgamecontroller.inc Add functions introduced in SDL 2.0.4 Apr 24, 2016
sdlgesture.inc now should really work with mac... Sep 2, 2013
sdlhaptic.inc remove redundant include of jedi.inc in sdlhaptic.inc May 4, 2017
sdlhints.inc sdlhints.inc - bugfix and update to SDL v2.0.5 Jan 29, 2017
sdljoystick.inc Add functions introduced in SDL 2.0.4 Apr 24, 2016
sdlkeyboard.inc Fix argument type for SDL_GetKeyName Oct 9, 2017
sdlloadso.inc Added sdl_syswm and sdl_loadso Jan 11, 2015
sdllog.inc * hopefully fixed Delphi version Oct 10, 2014
sdlmessagebox.inc added haptic and messagebox Sep 17, 2013
sdlmouse.inc Add SDL_GetDefaultCursor May 9, 2017
sdlmutex.inc now should really work with mac... Sep 2, 2013
sdlpixels.inc Add new enum values introduced by SDL 2.0.5 Oct 21, 2016
sdlplatform.inc now should really work with mac... Sep 2, 2013
sdlpower.inc now should really work with mac... Sep 2, 2013
sdlrect.inc Fix SDL rect Mar 17, 2017
sdlrenderer.inc adding SDL_RenderSetIntegerScale and SDL_RenderGetIntegerScale to sdl… Mar 25, 2018
sdlrwops.inc Improved inline decision Jan 16, 2016
sdlscancode.inc Fixed some SDLK_keycode consts being strings instead of ints. Dec 11, 2014
sdlshape.inc fixed for MacOS with Delphi XE2 Sep 1, 2013
sdlsurface.inc Add new surface-related functions introduced by SDL 2.0.5 Oct 21, 2016
sdlsystem.inc Add functions introduced in SDL 2.0.4 Apr 24, 2016
sdlsyswm.inc Update macOS compatibility Apr 5, 2018
sdlthread.inc Added some SDL 2.0.2 stuff Nov 4, 2014
sdltimer.inc TSDL_TimerCallback now cdecl. Aug 9, 2015
sdltouch.inc now should really work with mac... Sep 2, 2013
sdltype.inc Added missing hints and SDL_system.h stump Nov 15, 2014
sdlversion.inc Add functions introduced in SDL 2.0.4 Apr 24, 2016
sdlvideo.inc Updates TSDL_Window (2.0.8) Jul 30, 2018
zlib-LICENSE * added zlib license option & expanded readme a little bit. Jul 30, 2018

README.md

Pascal-SDL-2-Headers

These are the Pascal SDL 2 Headers.

Installation

Just add the headers to your include path. Include sdl2.pas for the main SDL2 library (should be always needed). Furthermore headers for the other SDL2 libraries are provided:

  • sdl2_image.pas
  • sdl2_mixer.pas
  • sdl2_net.pas
  • sdl2_ttf.pas

Bugs / Contributions

If you have any contributions, feel free to drop a pull request or send in a patch.

Same goes for bugs, please use the github issue tracker.

License

You may license the Pascal SDL 2 Headers either with the MPL license or with the zlib license, both included.

You can’t perform that action at this time.