-
Notifications
You must be signed in to change notification settings - Fork 182
Port hlsdl to SDL3 #830
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
nspitko
wants to merge
28
commits into
HaxeFoundation:master
Choose a base branch
from
nspitko:sdl3
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Port hlsdl to SDL3 #830
Changes from 9 commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
02bae94
Port hlsdl to SDL3
nspitko 6a710ce
Enable -DDOWNLOAD-DEPENDENCIES for linux
nspitko d15aea9
Remove syswm.h include, add linux deps
nspitko 2fa3309
Remove extra terminator
nspitko 0625c8e
Remove syntactically significant whitespace
nspitko a2feaee
Remove dead code for HL_MOBILE
nspitko feeb331
Update Makefile
nspitko 6aaf85f
Try building SDL locally on linux runners
nspitko 959fd04
Remove setup SDL action, it's broken
nspitko 6d9c5ea
Fix memory leaks, manually install SDL on linux
nspitko bf21e88
Fix build errors
nspitko c53a6b0
SDL_Free -> SDL_free, fix warning
nspitko d077ea3
Workflow fix
nspitko 8dd0195
SDL_GetJoysticks returns SDL_JoystickID*, not SDL_Joystick*
nspitko 1ecc107
Remove -I $(BREW_SDL_PREFIX)/include/SDL3, fix IOS
nspitko 163800e
Fix controller hotplug
nspitko 61eb575
Merge branch 'HaxeFoundation:master' into sdl3
nspitko 9881974
Maintain API compatibility with SDL2
nspitko eb9440a
Merge branch 'sdl3' of https://github.com/nspitko/hashlink into sdl3
nspitko 67c2dfd
Add missing window flags, fix SDL_SetEventEnabled
nspitko 2971fec
Emulate SDL_GRAB_KEYBOARD
nspitko 146c810
Add missing cast
nspitko 5b84dea
Fix missing bool
nspitko a45b7ce
jdevice->gdevice
nspitko 1849d6f
add getJoysticks. Bump version.
nspitko 21bfe52
SDL_Joystick -> SDL_JoystickID
nspitko c03200b
Update haxelib.json
nspitko 71b8f2d
fix text input
nspitko File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,9 +1,9 @@ | ||
| hlsdl | ||
| ===== | ||
|
|
||
| HLSDL is a SDL2 backend for HashLink | ||
| HLSDL is a SDL3 backend for HashLink | ||
| Read https://www.libsdl.org/ for more information on SDL | ||
|
|
||
| In order to compile on Windows, download the Development Libraries from SDL2 and unzip them into the hashlink/include/sdl directory, so you have the directories hashlink/include/sdl/include and hashlink/include/sdl/lib available. | ||
| In order to compile on Windows, download the Development Libraries from SDL3 and unzip them into the hashlink/include/sdl directory, so you have the directories hashlink/include/sdl/include and hashlink/include/sdl/lib available. | ||
|
|
||
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.