Commit Graph

21128 Commits

Author SHA1 Message Date
Ted John 966129dd7c
Remove network traffic window
Now available in the DevTools plugin.
2021-03-06 14:47:06 +01:00
Ted John b179f6e597
Merge pull request #13965 from telk5093/footpath_hotkeys
Make ride construction shortcuts work for footpath too
2021-03-06 01:27:18 +00:00
TELK d5646200c0 Add changelog 2021-03-06 10:10:46 +09:00
TELK 57a9b0f85e Change Ride construction strings into "Construction" 2021-03-04 18:06:49 +09:00
Adam 212a0c1e49
Revert Xcode to v26 dependencies 2021-03-03 22:56:03 +01:00
Michael Steenbeek 3b94132bab
Merge pull request #14219 from Gymnasiast/fix/14102
Fix #14102: NPE in window_tile_inspector_invalidate()
2021-03-03 22:48:16 +01:00
Michał Janiszewski 6df6200a0d
Merge pull request #14224 from janisozaur/sawyerchunktests
Extend tests for SawyerCoding
2021-03-03 22:47:26 +01:00
Gymnasiast 66a5e28832
Avoid referencing null tile elements or derivations 2021-03-03 22:06:16 +01:00
Michał Janiszewski 29a1cf018d Add negative tests for SawyerChunkReader 2021-03-03 21:55:05 +01:00
Michał Janiszewski bf95260f37 Fix issues found in SawyerChunk decoder 2021-03-03 21:29:39 +01:00
Michael Steenbeek 0b73781df8
Fix #14216: Second line of guest thoughts is set in wrong font 2021-03-03 16:00:03 +01:00
Gymnasiast 52d0689484
Add null checks to all other scenery object usages 2021-03-03 10:25:35 +01:00
Gymnasiast e332c2a691
Fix #14102: NPE in window_tile_inspector_invalidate() 2021-03-03 10:21:49 +01:00
Michael Steenbeek 2c3c014f14
Merge pull request #14215 from Gymnasiast/fix/text-draw-2
Fix more text drawing regressions
2021-03-03 00:03:33 +01:00
Gymnasiast 229f374672
Improve positioning of mechanic status 2021-03-02 23:19:00 +01:00
Gymnasiast 50da55eaf3
Fix #14212: Multiline news messages are shown incorrectly 2021-03-02 22:48:33 +01:00
Gymnasiast 30edc834ee
Fix #14211: 'Mechanic X heading for ride' runs out of window 2021-03-02 22:37:15 +01:00
TELK 25bbbef7d1 Fix code formatting 2021-03-03 00:02:46 +09:00
Ted John 9b43ace649
Fix ui.showTextInput performance issue (#14210)
Over 2 GiB of memory was being allocated when calling ui.showTextInput. Restrict max length to 4 KiB.
2021-03-01 22:09:51 -03:00
Michał Janiszewski d67dce0fe2 Use ccache on macos-cmake CI jobs 2021-03-01 22:15:00 +01:00
Michael Steenbeek c98746c910
Fix #14206: Text runs out of Ride window
For some reason, the window used `gfx_draw_text_centred_wrapped()` before.
2021-03-01 20:31:15 +01:00
Ted John d3e54bb579
Merge pull request #14191 from IntelOrca/fix/14190-shortcut-crash
Fix #14190: Game crash likely related to plug-in hotkeys
Fix #14194: Pressing WASD in text box moves main viewport, too
Fix #14195: Binding (NumPad) Enter to send message closes the chat
2021-03-01 14:13:45 +00:00
Michael Steenbeek e40c0af9fd
Merge pull request #13682 from adam-bloom/macos_cmake_dylib
macOS CMake with vcpkg dependencies
2021-03-01 14:53:37 +01:00
Michał Janiszewski ff3d31b7cf
Merge pull request #14203 from janisozaur/unused-const-variable
Add unused-const-variable warning
2021-03-01 12:55:54 +01:00
OpenRCT2 git bot 723aa9b654 Merge Localisation/master into OpenRCT2/develop 2021-03-01 04:06:01 +00:00
adam-bloom 42472b423e macOS CMake build instructions in readme 2021-02-28 15:48:30 -07:00
adam-bloom 174297b6fc OpenRCT2/Dependencies v28 2021-02-28 15:48:30 -07:00
adam-bloom d1057d66fc fix mingw builds 2021-02-28 15:48:30 -07:00
adam-bloom f6edf8d601 fix static library name for PkgConfig 2021-02-28 15:48:30 -07:00
adam-bloom 27726eac62 enable discord RPC, now that it can be found 2021-02-28 15:48:30 -07:00
adam-bloom d73004357e fix install rpath with DESTDIR 2021-02-28 15:48:30 -07:00
adam-bloom 238a46fe5f fix finding of discord-rpc 2021-02-28 15:48:30 -07:00
adam-bloom 9efe184538 macOS cmake CI fixes
Use ninja instead of make for faster builds
Proper library linking of dependencies
2021-02-28 15:48:30 -07:00
adam-bloom f51fea47df Point Xcode and cmake at new dependencies
Update Xcode project to handle new library file names

Remove static discord-rpc library from Xcode build,
use dylib instead
2021-02-28 15:48:30 -07:00
adam-bloom 9d64df3a89 install in local folder and archive in CI 2021-02-28 15:48:30 -07:00
adam-bloom 29c37b8ae4 enable discord-rpc from vcpkg dependencies 2021-02-28 15:48:30 -07:00
adam-bloom 0caea5460e clarify that macOS builds are x64 (not arm64 yet) 2021-02-28 15:48:30 -07:00
adam-bloom b726177ea7 build macOS with make instead of ninja 2021-02-28 15:48:30 -07:00
adam-bloom db99a90d15 add macOS cmake CI run 2021-02-28 15:48:30 -07:00
adam-bloom c79809215c Add capability to use vcpkg packaged dependencies for macOS
This is on by default. If disabled, CMake will look for dependencies
in the standard system paths as usual. If enabled, the dependency zip
file will be downloaded (if out of date) and the vcpkg packaged
dependencies from https://github.com/OpenRCT2/Dependencies will be used.
2021-02-28 15:48:29 -07:00
adam-bloom 7bea24708e Fix GetBundlePath, add install paths to match cmake install 2021-02-28 15:48:29 -07:00
adam-bloom fb316a746a macos support (use perl for readlink -f) 2021-02-28 15:48:29 -07:00
Michał Janiszewski f3ed018818 Add unused-const-variable warning 2021-02-28 23:10:25 +01:00
Michał Janiszewski 6249635fb8 Guard potentially unused const with proper defines 2021-02-28 23:10:25 +01:00
Adam 81fe5ad2cd
Remove unused const: MusicStyleNames 2021-02-28 22:57:23 +01:00
Michael Steenbeek 21777210bc
Merge pull request #14189 from Gymnasiast/refactor/draw-text
Refactor text drawing
2021-02-28 22:40:54 +01:00
Gymnasiast a0523339d3
Apply review request 2021-02-28 21:24:17 +01:00
Ted John 083d22adf2 Fix #14195: Binding (NumPad) Enter to send message closes the chat 2021-02-28 14:08:16 +00:00
Ted John 789b04b4aa Fix #14194: Pressing WASD in text box moves main viewport, too 2021-02-28 14:07:56 +00:00
Ted John 17a29dfe87 Fix #14190: Game crash likely related to plug-in hotkeys
Do not cache references to RegisteredShortcut as they can be invalidated when new shortcuts are registered / removed.
Use a map to improve query performance of shortcut by ID.
Store a separate list of strings for the map to use as a key.
2021-02-28 01:13:43 +00:00