{"repo":"PascalGameDevelopment/SDL2-for-Pascal","free":true,"listed":false,"github":"https://github.com/PascalGameDevelopment/SDL2-for-Pascal","clone":"git clone https://github.com/PascalGameDevelopment/SDL2-for-Pascal.git","description":"Unit files for building Free Pascal and Delphi applications using the SDL2 library","language":"Pascal","stars":130,"topics":["delphi","free-pascal","game-development","object-pascal","pascal","sdl2","simple-direct-media-layer"],"license":"MPL-2.0","category":"game-templates","readme_excerpt":"SDL2-for-Pascal Unit files for building Free Pascal / Delphi applications using the SDL2 library. The SDL2-for-Pascal repository is a community-maintained fork of the Pascal-SDL-2-Headers repository. Installation Simply add the units to your include path. You can achieve this by: - (FPC) using the {$UNITPATH XXX} directive in your source code; - (FPC) using the -FuXXX command-line argument to the compiler; - just copying & pasting the units into the same directory as your main source code. Use the sdl2 unit for the main SDL2 library (should be always needed). Units for the other SDL2 libraries are also provided: - sdl2 gfx - sdl2 image - sdl2 mixer - sdl2 net - sdl2 ttf Documentation Official SDL2-for-Pascal Documentation Further Resources Free Pascal meets SDL PGD SDL2 Forum Bugs / Contributions / ToDos If you have any contributions or bugfixes, feel free to drop a pull request or send in a patch. Please use the GitHub issue tracker. ToDos - (Continously) Update files by new SDL2 functions and types which are present in more recent SDL2 versions. - (Continously atm.) Translate integer aliases into typed enums. See part Enums on the Cheat sheet for reference. - (Continously) improve Delphi-compatibility (and even more important, DO NOT break it) - (Continously) Adapt comments to PasDoc format. (See issue #22) Code style guidelines The main principle is to stay as tight as possible at the names in the C headers. These guidelines aim to have better consistency in this community","default_branch":null,"files":null,"tree":[],"storefront":"/r/PascalGameDevelopment","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/PascalGameDevelopment/SDL2-for-Pascal/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}