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

18839 Commits

Author SHA1 Message Date
Hielke Morsink
cb62e1a320 Add missing return type to typescript definitions (#11708) 2020-05-10 23:20:11 +02:00
hdpoliveira
46d856a723 Extract function news_item_first_open_queue_slot (#11594) 2020-05-10 23:19:56 +02:00
Michael Steenbeek
142b229bfa en-GB: Fix another trailing whitespace 2020-05-10 23:16:30 +02:00
Michael Steenbeek
ed47bb7414 en-GB: Fix trailing whitespace 2020-05-10 23:14:23 +02:00
Tulio Leao
ed84c2dab0 Fix #11705: Drawing tooltips out of box (#11707) 2020-05-10 15:22:47 -03:00
Ted John
b96fdee531 Add plugin API to remove entities (#11702) 2020-05-10 14:07:27 -03:00
Ted John
ec06a9ca4b Add plugin API for showing an error message (#11706) 2020-05-10 14:06:31 -03:00
Ted John
5288caec02 [Plugin] Add support for SetCheatAction and cheat retrieval (#11700)
* Add cheats interface API

* Add plugin support for SetCheatAction

* Remove ctx from ScCheats
2020-05-10 13:02:10 -03:00
Tom Lankhorst
2d0e7bdfd8 openrct2-ui Audio clean-up and style/usage fixes (#10115)
* openrct2-ui Audio clean-up and style/usage fixes



Co-authored-by: Gymnasiast <m.o.steenbeek@gmail.com>
Co-authored-by: Tulio Leao <tupaschoal@gmail.com>
2020-05-10 10:05:26 -03:00
TomasZilinek
9fde6a74c3 Close #11561: Use ScreenCoordsXY in gfx_draw_string()
* Fix #11572 create gfx_draw_string() overload

created the overload and changed all calls of the old function to the new (using const ScreenCoordsXY&)

...
2020-05-10 09:49:15 -03:00
Michael Steenbeek
783494df68 Use rotated calls in GhostTrain.cpp (#11691) 2020-05-10 12:49:02 +02:00
Michael Steenbeek
d5f2168b22 Merge pull request #11653 from Gymnasiast/refactor/window-skeleton
Introduce WINDOW_SHIM define
2020-05-10 11:34:21 +02:00
frutiemax
c447cde63c Close #11561: Use ScreenCoordsXY in gfx_draw_string_centred_wrapped()
* Add gfx_draw_string_centred_wrapped overload using ScreenCoordsXY

* Update calls to gfx_draw_string_centred_wrapped

* Remove old signature of gfx_draw_string_centred_wrapped

* Meaningful coordinate variable names and constructor calls
2020-05-10 01:00:26 -03:00
Michael Steenbeek
fa91b4091f Name tunnel constants (#11694) 2020-05-09 23:54:47 +02:00
Gymnasiast
b942d24bcf Fix WW and WH for some windows 2020-05-09 19:08:00 +02:00
Gymnasiast
6fd83fd006 Make WW and WH static 2020-05-09 18:07:16 +02:00
Gymnasiast
f8aeb70398 Apply review requests 2020-05-09 18:07:16 +02:00
Gymnasiast
00461aedf3 Fix formatting and errors 2020-05-09 18:07:16 +02:00
Gymnasiast
43556d2dec Remove ifdefs for LEFT_CLOSEBOX - for now 2020-05-09 18:07:16 +02:00
Gymnasiast
9e4c664944 Replace defines with constexpr 2020-05-09 18:07:16 +02:00
Gymnasiast
96fe3d3b3c Make WINDOW_SKELETON take a title, height and width 2020-05-09 18:07:16 +02:00
tassaron2
559ede5d14 Add compile option to move close box to the left 2020-05-09 18:07:16 +02:00
Duncan
887a86afe9 Merge pull request #11683 from IntelOrca/plugin/fix-first-widget-pressed
[Plugin] Fix first widget being pressed on tab-less windows
2020-05-09 16:28:52 +01:00
Ted John
1e2cf9f77b Fix first widget being pressed on tabless plugin windows 2020-05-09 16:07:04 +01:00
Hummel95
aac55d2cc0 Fix #10876: Peeps spawns can stack and are not removable (#11155) 2020-05-09 16:17:08 +02:00
Ted John
be9f3e1f66 [Plugin] Ensure modified entities and tile elements are invalidated (#11682) 2020-05-09 16:13:56 +02:00
Tulio Leao
16c5960e99 Merge pull request #11635 from IntelOrca/plugin/ride-game-actions
[Plugin] Add named parameters for ride related game actions
2020-05-09 10:46:41 -03:00
Ted John
e7a028b3b8 Add TODO for Visit track design 2020-05-09 14:31:27 +01:00
Ted John
6db16ffcad Implement showTextInput plugin API (#11678) 2020-05-09 14:18:50 +01:00
Ted John
45d32bec68 [Plugin] Add API for taking captures and giant captures of the park 2020-05-09 13:55:24 +02:00
Michael Steenbeek
3d3dbde642 Merge pull request #11668 from IntelOrca/plugin/peep-stats
[Plugin] Add more stats to Peep interface
2020-05-09 13:53:36 +02:00
Ted John
7b8ffdb865 Refactor peep.intensity into new strict struct 2020-05-09 12:37:51 +01:00
Ted John
fa0dd4e0d6 Add more peep stats for plugins 2020-05-09 12:37:51 +01:00
hdpoliveira
650af7d943 Part of #9473: Create Vehicle::TryReconnectBoatToTrack() (#11619)
Converted from loc_6DA9F9
2020-05-09 13:32:22 +02:00
Michael Steenbeek
3ceecb33f0 Fix #11676: Spiral Roller Coaster has regular lift hill available (#11681) 2020-05-09 13:23:55 +02:00
Tulio Leao
373776f3db Address review comments on #11598 2020-05-09 12:35:36 +02:00
Ted John
49e062ae5d Merge pull request #11665 from IntelOrca/plugin/more-object-fields
[Plugin] Split object identifier and add more ride object fields
2020-05-08 20:45:30 +01:00
Duncan
e6dff86d74 Merge pull request #11669 from IntelOrca/fix/11667-no-tty-console
Fix #11667: Memory dumps being generated every time the game is closed
2020-05-08 19:25:44 +01:00
Ted John
0ebdd93e00 Fix #11667: Memory dumps being generated every time the game is closed 2020-05-08 15:55:19 +01:00
Ted John
59ab39178f Add most fields from RideObject struct 2020-05-08 15:28:48 +01:00
Ted John
21f55eaeeb Handle no object for context.getObject correctly 2020-05-08 15:28:48 +01:00
Ted John
46d69126ea Split identifier and legacyIdentifier on Object 2020-05-08 15:28:48 +01:00
Aryaman Singh
3417c10a61 Part of #11569: gfx_draw_string_right() w/ ScreenCoordsXY (#11654)
Co-authored-by: Tulio Leao <tupaschoal@gmail.com>
2020-05-07 22:27:53 -03:00
OpenRCT2 git bot
e369c2290a Merge Localisation/master into OpenRCT2/develop. 2020-05-07 04:01:51 +00:00
Michael Steenbeek
8660bbe9d7 Fix #1013: negative length in Ride window (#11651) 2020-05-06 11:32:10 +02:00
Tulio Leao
5271e06abf Merge pull request #11621 from Gymnasiast/feature/7648-bis
Add drawing code for more APVC, Water Coaster and B&M pieces
2020-05-05 23:14:53 -03:00
Michael Steenbeek
d10f9ebf2a Use named flags in calls to sub_6C683D() (#11650) 2020-05-05 23:11:38 -03:00
Peter Ryszkiewicz
2277c8ee4a Adjust code formatting checks script for macOS (#10930) 2020-05-05 23:17:39 +02:00
Ted John
ec7b52d555 Add action and args to GameActionResult 2020-05-05 18:00:56 +01:00
Ted John
6c8d199831 Add parameter visitors to ride related actions 2020-05-05 18:00:56 +01:00