Commit graph

11740 commits

Author SHA1 Message Date
Ted John
bf16951341 Fix #5522: Clicking Player Name field results in crash 2017-06-01 17:38:57 +01:00
Richard Jenkins
ab8e8952e0 Merge pull request #5458 from OpenRCT2/refactor/nosdl/phase-1b
Remove SDL2 dependencies: Phase 1
2017-05-31 20:51:08 +01:00
Richard Jenkins
8d3b7f8c27 Set CMAKE_INSTALL_RPATH to $ORIGIN on CLI build 2017-05-31 20:29:37 +01:00
Richard Jenkins
25e50bf43c Set CMAKE_INSTALL_RPATH before adding executables. 2017-05-31 19:39:38 +01:00
Ted John
1e550e9059 Create portable builds
Which set rpath to $ORIGIN so it can be run out the box.
2017-05-31 08:51:51 +01:00
Michał Janiszewski
5a93b67bd9 Update changelog.txt
[ci skip]
2017-05-29 23:21:23 +02:00
Michał Janiszewski
8cb24b21a7 Add headless builds to travis configurations 2017-05-29 22:39:19 +02:00
Michał Janiszewski
de9adf5445 Allow building headless version as a separate target 2017-05-29 22:39:19 +02:00
Gymnasiast
a43ee2b987 Fix copyright year and comment 2017-05-29 22:39:19 +02:00
Marijn van der Werf
615580dc03 Don't check for fontconfig on macOS 2017-05-29 22:39:19 +02:00
Ted John
61228fc4e8 Add all files filter 2017-05-29 22:39:19 +02:00
Ted John
3ca1b48384 Open the game window on the last remembered display 2017-05-29 22:39:17 +02:00
Ted John
4932537a91 Fix kdialog implementation 2017-05-29 22:38:46 +02:00
Ted John
a15a226d7a Fix zenity dialog logic 2017-05-29 22:38:46 +02:00
Ted John
e313568a27 Initialise UiContext input fields
This was causing undefined data to appear in _keysPressed which caused shortcuts to be invoked on startup.
2017-05-29 22:38:46 +02:00
Ted John
1eb5ed0c93 Update vscode debug configuration 2017-05-29 22:38:46 +02:00
Richard Jenkins
7a59eef47e Fix cmake for OpenRCT2-UI on macOS 2017-05-29 22:38:46 +02:00
Ted John
f998172674 Fix IME text input 2017-05-29 22:38:46 +02:00
Ted John
3ebf5be3ea Fix mingw cmake 2017-05-29 22:38:46 +02:00
Richard Jenkins
69feeafb3f Clean up Xcode project post-rebase 2017-05-29 22:38:46 +02:00
Richard Jenkins
e54bed73c6 Remove stray spaces in header 2017-05-29 22:38:46 +02:00
Richard Jenkins
d4e5514f6b Tabs-to-spaces on UiContext.macOS.mm 2017-05-29 22:38:46 +02:00
Richard Jenkins
aa5151503a Fix formatting 2017-05-29 22:38:46 +02:00
Richard Jenkins
999a467b9a Add SetKeysPressed() function to UiContext 2017-05-29 22:38:46 +02:00
Richard Jenkins
898ffdb8e0 Fix #5487: Crash on deleting text 2017-05-29 22:38:46 +02:00
Marijn van der Werf
52552a9dc4 Work on fixing openrct2-gui compilation 2017-05-29 22:38:45 +02:00
Marijn van der Werf
3a194f30dc Fix macOS compilation of library 2017-05-29 22:38:45 +02:00
Marijn van der Werf
7608f7f189 Remove generated main.cpp 2017-05-29 22:38:45 +02:00
Marijn van der Werf
90fbb29d93 Tidy up Xcode project 2017-05-29 22:38:45 +02:00
Ted John
ee9aa55083 Fix more warnings 2017-05-29 22:38:45 +02:00
Richard Jenkins
f7f5cb754b Add macOS target for CLI build 2017-05-29 22:38:45 +02:00
Richard Jenkins
63771389c3 Remove whitespace in UiContext.cpp 2017-05-29 22:38:45 +02:00
Richard Jenkins
c71fc2b542 Remove test code 2017-05-29 22:38:45 +02:00
Richard Jenkins
e8ec7ee58f Implement building of libopenrct2 and OpenRCT-UI for macOS
Initial setup of xcode for multiple targets

libopenrct2 partially working

Restore macOS mach_info init

Get macOS OpenRCT2-ui working if hackish

Implement UiContext for macOS properly

Put tabbing cancellation code back
2017-05-29 22:38:45 +02:00
Ted John
3fa764321e Fix string errors and warnings 2017-05-29 22:38:45 +02:00
Ted John
f1a8b32db4 Prevent SDL_INIT when the game does not need to launch 2017-05-29 22:38:45 +02:00
Ted John
00199051c1 Add SDL2 include to test cmake 2017-05-29 22:38:45 +02:00
Ted John
c394a997c8 Update install target and export library so 2017-05-29 22:38:45 +02:00
Ted John
41f376f7aa Add final to implementations 2017-05-29 22:38:44 +02:00
Ted John
82288f92e6 Add cmake for testpaint 2017-05-29 22:38:44 +02:00
Ted John
a4c06020f1 Add install target to cmake 2017-05-29 22:38:44 +02:00
Ted John
1f8f354e49 Update root cmake and enable tests 2017-05-29 22:38:44 +02:00
Ted John
23a314d4ba Convert tabs to spaces for test cmakelists 2017-05-29 22:38:44 +02:00
Michał Janiszewski
e670a386ba Add cmath include to AudioMixer for std::pow 2017-05-29 22:38:44 +02:00
Ted John
98d59ccaa3 Fix Linux build errors 2017-05-29 22:38:44 +02:00
Michał Janiszewski
423028dac9 Fix some warnings with clang and GCC 2017-05-29 22:38:44 +02:00
Ted John
e133585727 Fix 32-bit build 2017-05-29 22:38:44 +02:00
Ted John
50197f04ed Fix boolean warning 2017-05-29 22:38:44 +02:00
Ted John
fc19b57c09 Fix build after rebase 2017-05-29 22:38:44 +02:00
Ted John
e2a7189663 Do not use SDL_Colour for gPalette 2017-05-29 22:38:44 +02:00