Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
67 changes: 67 additions & 0 deletions LEGACYCHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
# Legacy Changelog (not updated)

? 31.01.2016: updated sdlevents.inc to SDL2 2.0.4, adressing issue #24 (thx to imantsg)

? 16.01.2016: Delphi 6+ bugfixes/compatibility. Thx to Peter Karpov for identifiying and testing.

v.1.80-stable; 09.10.2014: added sdl_cpuinfo.h and sdl_clipboard.h

v.1.74-stable; 10.11.2013: added sdl_gamecontroller.h

v.1.73-stable; 08.11.2013: added sdl_hints.h and some keystate helpers
thx to Cybermonkey!

v.1.72-stable; 23.09.2013: fixed bug with procedures without parameters
(they must have brakets)

v.1.70-stable; 17.09.2013: added "sdl_messagebox.h" and "sdl_haptic.h"

v.1.63-stable; 16.09.2013: added libs sdl2_image and sdl2_ttf and added sdl_audio.h

v.1.62-stable; 03.09.2013: fixed.

v.1.61-stable; 02.09.2013: now it should REALLY work with Mac...

v.1.60-stable; 01.09.2013: now it should work with Delphi XE4 for Windows and
MacOS and of course Lazarus. thx to kotai :D

v.1.55-Alpha; 24.08.2013: fixed bug with SDL_GetEventState thx to d.l.i.w.

v.1.54-Alpha; 24.08.2013: added sdl_loadso.h

v.1.53-Alpha; 24.08.2013: renamed *really* and fixed linux comp.

v.1.52-Alpha; 24.08.2013: renamed sdl.pas to sdl2.pas

v.1.51-Alpha; 24.08.2013: added sdl_platform.h

v.1.50-Alpha; 24.08.2013: the header is now modular. thx for the hint from d.l.i.w.

v.1.40-Alpha; 13.08.2013: Added MacOS compatibility (thx to stoney-fd)

v.1.34-Alpha; 05.08.2013: Added missing functions from sdl_thread.h

v.1.33-Alpha; 31.07.2013: Added missing units for Linux. thx to Cybermonkey

v.1.32-Alpha; 31.07.2013: Fixed three bugs, thx to grieferatwork

v.1.31-Alpha; 30.07.2013: Added "sdl_power.h"

v.1.30-Alpha; 26.07.2013: Added "sdl_thread.h" and "sdl_mutex.h"

v.1.25-Alpha; 29.07.2013: Added Makros for SDL_RWops

v.1.24-Alpha; 28.07.2013: Fixed bug with RWops and size_t

v.1.23-Alpha; 27.07.2013: Fixed two bugs, thx to GrieferAtWork

v.1.22-Alpha; 24.07.2013: Added "sdl_shape.h" and TSDL_Window
(and ordered the translated header list ^^)

v.1.21-Alpha; 23.07.2013: Added TSDL_Error

v.1.20-Alpha; 19.07.2013: Added "sdl_timer.h"

v.1.10-Alpha; 09.07.2013: Added "sdl_render.h"

v.1.00-Alpha; 05.07.2013: Initial Alpha-Release.
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,23 @@ Please use the GitHub issue tracker for bug reports.
- (Continously atm.) Translate integer aliases into typed enums. See PR [#4](https://github.com/PascalGameDevelopment/SDL2-for-Pascal/pull/4) for reference.
- (Continously) Check FPC/Delphi compatibility.

## Versions

The version tag (see [tags](https://github.com/PascalGameDevelopment/SDL2-for-Pascal/tags)) refers to the version of this translation package [SDL2 for Pascal](https://github.com/PascalGameDevelopment/SDL2-for-Pascal), not the `SDL2 library`.

### v2.x (planned)

- be up-to-date with version 2.0.14 of the `SDL2 library`
- replaced all aliases by typed enums
- improve Delphi-compatibility (and even more important, DO NOT break it)

### v2.0

- first official release of the PGD community fork of the [Pascal-SDL-2-Headers](https://github.com/ev1313/Pascal-SDL-2-Headers)
- its latest version git tag is 1.72, in the sdl2.pas it goes even up to version 1.80; hence starting with v2.0 for this fork is a senseful distinction
- this ia a highly Delphi-compatible and stable fallback package
- loosely is up-to-date with version 2.0.4 of the `SDL2 library`

## License

You may license the Pascal SDL2 units either
Expand Down
45 changes: 4 additions & 41 deletions sdl2.pas
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@
Copyright (C) 1997-2013 Sam Lantinga <slouken@libsdl.org>

Pascal-Header-Conversion
Copyright (C) 2012-2017 Tim Blume aka End/EV1313
Copyright (C) 2012-2020 Tim Blume aka End/EV1313

SDL2-for-Pascal
Copyright (C) 2020-2021 PGD Community

SDL.pas is based on the files:
"sdl.h",
Expand Down Expand Up @@ -87,46 +90,6 @@
- Sam Latinga and everyone else from the SDL-Team
}

{
Changelog:
----------
? 31.01.2016: updated sdlevents.inc to SDL2 2.0.4, adressing issue #24 (thx to imantsg)
? 16.01.2016: Delphi 6+ bugfixes/compatibility. Thx to Peter Karpov for identifiying and testing.
v.1.80-stable; 09.10.2014: added sdl_cpuinfo.h and sdl_clipboard.h
v.1.74-stable; 10.11.2013: added sdl_gamecontroller.h
v.1.73-stable; 08.11.2013: added sdl_hints.h and some keystate helpers
thx to Cybermonkey!
v.1.72-stable; 23.09.2013: fixed bug with procedures without parameters
(they must have brakets)
v.1.70-stable; 17.09.2013: added "sdl_messagebox.h" and "sdl_haptic.h"
v.1.63-stable; 16.09.2013: added libs sdl2_image and sdl2_ttf and added sdl_audio.h
v.1.62-stable; 03.09.2013: fixed.
v.1.61-stable; 02.09.2013: now it should REALLY work with Mac...
v.1.60-stable; 01.09.2013: now it should work with Delphi XE4 for Windows and
MacOS and of course Lazarus. thx to kotai :D
v.1.55-Alpha; 24.08.2013: fixed bug with SDL_GetEventState thx to d.l.i.w.
v.1.54-Alpha; 24.08.2013: added sdl_loadso.h
v.1.53-Alpha; 24.08.2013: renamed *really* and fixed linux comp.
v.1.52-Alpha; 24.08.2013: renamed sdl.pas to sdl2.pas
v.1.51-Alpha; 24.08.2013: added sdl_platform.h
v.1.50-Alpha; 24.08.2013: the header is now modular. thx for the hint from d.l.i.w.
v.1.40-Alpha; 13.08.2013: Added MacOS compatibility (thx to stoney-fd)
v.1.34-Alpha; 05.08.2013: Added missing functions from sdl_thread.h
v.1.33-Alpha; 31.07.2013: Added missing units for Linux. thx to Cybermonkey
v.1.32-Alpha; 31.07.2013: Fixed three bugs, thx to grieferatwork
v.1.31-Alpha; 30.07.2013: Added "sdl_power.h"
v.1.30-Alpha; 26.07.2013: Added "sdl_thread.h" and "sdl_mutex.h"
v.1.25-Alpha; 29.07.2013: Added Makros for SDL_RWops
v.1.24-Alpha; 28.07.2013: Fixed bug with RWops and size_t
v.1.23-Alpha; 27.07.2013: Fixed two bugs, thx to GrieferAtWork
v.1.22-Alpha; 24.07.2013: Added "sdl_shape.h" and TSDL_Window
(and ordered the translated header list ^^)
v.1.21-Alpha; 23.07.2013: Added TSDL_Error
v.1.20-Alpha; 19.07.2013: Added "sdl_timer.h"
v.1.10-Alpha; 09.07.2013: Added "sdl_render.h"
v.1.00-Alpha; 05.07.2013: Initial Alpha-Release.
}

{$DEFINE SDL}

{$I jedi.inc}
Expand Down