Commit Graph

11711 Commits

Author SHA1 Message Date
Richard Jenkins acd3b09c80 Name sub_6DFED0(), remove magic numbers, minor refactor to research 2017-06-03 23:21:47 +02:00
Ted John f47d7f27a5 Suppress hotkey.cfg error if not found
Running the game without hotkeys.cfg existing used to show a warning message. This is unnecessary as it will not exist on first install.
2017-06-03 22:17:52 +01:00
Ted John af91b9f4b4 Fix #5521: Infinite loop on first run if neither Zenity nor kdialog are installed (#5526) 2017-06-03 22:13:20 +01:00
Ted John 810d46055a Merge pull request #5538 from IntelOrca/fix/5537
Fix #5537: SDL_Init(SDL_INIT_VIDEO) is called even when using --headless
2017-06-03 22:09:51 +01:00
Richard Jenkins f469beacdb Xcode fix 2017-06-03 21:59:24 +01:00
Graham Edgecombe 9bd4284733 Fix icon install destination
RENAME was included in the quotes in a previous commit, so cmake treated
it as part of the destination path.
2017-06-03 12:54:00 +02:00
Michał Janiszewski c136dc85d2 Provide define for maximum map edge size 2017-06-03 12:52:34 +02:00
Ted John e048f52738 Fix #5537: SDL_Init(SDL_INIT_VIDEO) is called even when using --headless option
Create a dummy UI context and use that if headless is enabled. Some extra guards added to deal with the return values from the dummy class. It may be temporary until the window and input code is moved to openrct2ui.
2017-06-02 19:08:03 +01:00
Ted John 852ea898e7 Fix #5534: Unable to select any full screen resolutions 2017-06-02 18:36:21 +01:00
Gymnasiast dd8a0847e1 Replace TOP_TOOLBAR_CLEARANCE with TOP_TOOLBAR_HEIGHT 2017-06-02 16:34:30 +02:00
Ted John e7eb5f7899 Merge pull request #5528 from IntelOrca/man-pages
Add man page for OpenRCT2
2017-06-02 15:14:28 +01:00
Ted John 9d16ad48a5 Update openrct2.6 2017-06-02 15:12:13 +01:00
Marijn van der Werf 2e40d90f5f Replace more occurences of 28 2017-06-01 22:38:35 +02:00
Gymnasiast fad3c11827 Create define for top toolbar clearance and fix #837 2017-06-01 22:22:49 +02:00
Michael Steenbeek 9b041e0018 Name some sub_hex functions 2017-06-01 22:03:14 +02:00
Michael Steenbeek 7d9acca1e0 Create define for max ride types per ride entry, closes #5524 2017-06-01 22:00:11 +02:00
Marijn van der Werf 6dd3650426 Prevent pushing macOS pull request builds to .org 2017-06-01 21:59:10 +02:00
Michał Janiszewski 79d76759bb Fix #5516: Update copyrights for 2017
Not all files were necessarily _changed_, but all were touched, see
https://github.com/OpenRCT2/OpenRCT2/pull/4932
2017-06-01 21:55:10 +02:00
Richard Jenkins 3761104ee2 Fix #5511: Backspace behaves inconsistently in track manager 2017-06-01 20:23:23 +02:00
Ted John 85652c3834 Update cmake script to install man pages 2017-06-01 18:45:40 +01:00
Ted John ce0a4f1414 Add man page for OpenRCT2 2017-06-01 18:18:45 +01:00
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