-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Remove SDL2 dependencies: Phase 1 #5458
Merged
Merged
Changes from 1 commit
Commits
Show all changes
76 commits
Select commit
Hold shift + click to select a range
9c904db
Add UI src project
IntelOrca 19aafc4
Move drawing engine implementation code to openrct2-ui
IntelOrca c7b66ab
Fix includes for moved files
IntelOrca bf37498
Allow drawing engine registration via context interfaces
IntelOrca 006a76c
Refactor registration of drawing engines
IntelOrca 5c59b74
Add new CLI and UI builds for non Windows platforms
IntelOrca fedb891
Create new CMake project for libopenrct2
IntelOrca 6446342
Update cmakelists for lib and cli
IntelOrca f856510
Get openrct2-cli linking successfully
IntelOrca 8978036
Add openrct2-ui cmake project
IntelOrca c7b1fee
Add back most of the cmake options
IntelOrca 06bba09
Fix various issues with the cmake projects
IntelOrca 1018287
Invert Context and UiContext dependencies
IntelOrca 6375e01
Add VS project for CLI only build
IntelOrca 5885cb6
Start moving window logic to UI project
IntelOrca f736e8f
Move more platform code to UiContext
IntelOrca 9d24e47
Fix build
IntelOrca 7163973
Start moving code from OpenRCT2 to Context
IntelOrca bd9839f
Get the game working
IntelOrca 175606a
Create new audio context interface
IntelOrca d206d18
Move audio code to UI project
IntelOrca e426c70
Get moved audio code linking
IntelOrca 0440c3d
Clean up audio.cpp
IntelOrca a020a9f
Fix premature deletion of platform context
IntelOrca 3fcd42f
Move more window code to UiContext
IntelOrca cf0dcb4
Refactor file / directory dialogs to UiContext
IntelOrca 08ae742
Remove a few more SDL calls from core library
IntelOrca d45a502
Replace SDL with normal fopen in cmdline_sprite.c
IntelOrca e2a7189
Do not use SDL_Colour for gPalette
IntelOrca fc19b57
Fix build after rebase
IntelOrca 50197f0
Fix boolean warning
IntelOrca e133585
Fix 32-bit build
IntelOrca 423028d
Fix some warnings with clang and GCC
janisozaur 98d59cc
Fix Linux build errors
IntelOrca e670a38
Add cmath include to AudioMixer for std::pow
janisozaur 23a314d
Convert tabs to spaces for test cmakelists
IntelOrca 1f8f354
Update root cmake and enable tests
IntelOrca a4c0602
Add install target to cmake
IntelOrca 82288f9
Add cmake for testpaint
IntelOrca 41f376f
Add final to implementations
IntelOrca c394a99
Update install target and export library so
IntelOrca 0019905
Add SDL2 include to test cmake
IntelOrca f1a8b32
Prevent SDL_INIT when the game does not need to launch
IntelOrca 3fa7643
Fix string errors and warnings
IntelOrca e8ec7ee
Implement building of libopenrct2 and OpenRCT-UI for macOS
rwjuk c71fc2b
Remove test code
rwjuk 6377138
Remove whitespace in UiContext.cpp
rwjuk f7f5cb7
Add macOS target for CLI build
rwjuk ee9aa55
Fix more warnings
IntelOrca 90fbb29
Tidy up Xcode project
marijnvdwerf 7608f7f
Remove generated main.cpp
marijnvdwerf 3a194f3
Fix macOS compilation of library
marijnvdwerf 52552a9
Work on fixing openrct2-gui compilation
marijnvdwerf 898ffdb
Fix #5487: Crash on deleting text
rwjuk 999a467
Add SetKeysPressed() function to UiContext
rwjuk aa51515
Fix formatting
rwjuk d4e5514
Tabs-to-spaces on UiContext.macOS.mm
rwjuk e54bed7
Remove stray spaces in header
rwjuk 69feeaf
Clean up Xcode project post-rebase
rwjuk 3ebf5be
Fix mingw cmake
IntelOrca f998172
Fix IME text input
IntelOrca 7a59eef
Fix cmake for OpenRCT2-UI on macOS
rwjuk 1eb5ed0
Update vscode debug configuration
IntelOrca e313568
Initialise UiContext input fields
IntelOrca a15a226
Fix zenity dialog logic
IntelOrca 4932537
Fix kdialog implementation
IntelOrca 3ca1b48
Open the game window on the last remembered display
IntelOrca 61228fc
Add all files filter
IntelOrca 615580d
Don't check for fontconfig on macOS
marijnvdwerf a43ee2b
Fix copyright year and comment
Gymnasiast de9adf5
Allow building headless version as a separate target
janisozaur 8cb24b2
Add headless builds to travis configurations
janisozaur 5a93b67
Update changelog.txt
janisozaur 1e550e9
Create portable builds
IntelOrca 25e50bf
Set CMAKE_INSTALL_RPATH before adding executables.
rwjuk 8d3b7f8
Set CMAKE_INSTALL_RPATH to $ORIGIN on CLI build
rwjuk 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 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 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 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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Doesn't this get interpreted as "fill with contents of variable named 'ORIGIN'?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CMAKE uses
${...}
for variables and$ENV{...}
for environment variables. I think this is saw on various internet pages for how to do it in cmake. It works when I build it myself.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
set(CMAKE_INSTALL_RPATH "$ORIGIN")
needs to go beforeadd_executable()
for it to work I think.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't the other frontend also receive the same treatment?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@janisozaur Derp. Yes,
set(CMAKE_INSTALL_RPATH "$ORIGIN")
added for the CLI build.