1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-17 03:53:07 +01:00
Commit Graph

8782 Commits

Author SHA1 Message Date
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
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
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
Ted John
ee9aa55083 Fix more warnings 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
41f376f7aa Add final to implementations 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
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
Ted John
d45a50274c Replace SDL with normal fopen in cmdline_sprite.c 2017-05-29 22:38:44 +02:00
Ted John
08ae74293d Remove a few more SDL calls from core library 2017-05-29 22:38:44 +02:00
Ted John
cf0dcb4753 Refactor file / directory dialogs to UiContext 2017-05-29 22:38:43 +02:00
Ted John
3fcd42fe2b Move more window code to UiContext 2017-05-29 22:38:43 +02:00
Ted John
a020a9fbef Fix premature deletion of platform context 2017-05-29 22:38:43 +02:00
Ted John
0440c3deea Clean up audio.cpp 2017-05-29 22:38:43 +02:00
Ted John
e426c70bbc Get moved audio code linking 2017-05-29 22:38:43 +02:00
Ted John
d206d181f2 Move audio code to UI project 2017-05-29 22:38:43 +02:00
Ted John
175606ae52 Create new audio context interface 2017-05-29 22:38:43 +02:00
Ted John
bd9839ff50 Get the game working
Mostly just needed to resolve screen size which is now retrieved via ui context.
2017-05-29 22:38:43 +02:00
Ted John
7163973bd2 Start moving code from OpenRCT2 to Context 2017-05-29 22:38:42 +02:00
Ted John
9d24e47e6f Fix build 2017-05-29 22:38:42 +02:00
Ted John
f736e8ff96 Move more platform code to UiContext 2017-05-29 22:38:42 +02:00
Ted John
5885cb646f Start moving window logic to UI project 2017-05-29 22:38:42 +02:00
Ted John
6375e01f3f Add VS project for CLI only build 2017-05-29 22:38:42 +02:00
Ted John
10182879da Invert Context and UiContext dependencies 2017-05-29 22:38:42 +02:00
Ted John
06bba09b43 Fix various issues with the cmake projects 2017-05-29 22:38:42 +02:00
Ted John
c7b1feea07 Add back most of the cmake options 2017-05-29 22:38:42 +02:00
Ted John
89780363ee Add openrct2-ui cmake project 2017-05-29 22:38:42 +02:00
Ted John
f856510a15 Get openrct2-cli linking successfully 2017-05-29 22:38:42 +02:00