1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-18 04:23:20 +01:00
Commit Graph

14380 Commits

Author SHA1 Message Date
hdpoliveira
49be02dbfd Part of #9473: Create Vehicle::UpdateTestFinish
Converted from vehicle_update_test_finish
2020-05-01 17:24:53 -03:00
hdpoliveira
28c861ee7e Part of #9473: Create Vehicle::TestReset
Converted from vehicle_test_reset
2020-05-01 17:24:53 -03:00
Michael Steenbeek
158adfba82 Merge pull request #11560 from tupaschoal/more-coordz
Scours through openrct2-ui to use more coords structs
2020-05-01 19:01:37 +02:00
Ted John
65a9c7a1b1 Implement expenditureType on GameActionResult plugin API (#11514)
* Implement expenditureType on GameActionResult plugin API

* Update src/openrct2/scripting/ScriptEngine.cpp

Co-Authored-By: Michael Steenbeek <m.o.steenbeek@gmail.com>

* Improve formatting of ExpenditureTypes

* Apply code review comments

Co-authored-by: Michael Steenbeek <m.o.steenbeek@gmail.com>
2020-05-01 17:50:11 +01:00
Tulio Leao
9960e4b563 Merge pull request #11552 from IntelOrca/plugin/window-tabs
[Plugin] Implement custom window tabs
2020-05-01 13:49:31 -03:00
Ted John
b36e4794e8 Update src/openrct2-ui/scripting/CustomWindow.cpp
Co-authored-by: Tulio Leao <tupaschoal@gmail.com>
2020-05-01 17:19:19 +01:00
Tulio Leao
9299228f07 Use ScreenCoordsXY on windows/Ride.cpp 2020-05-01 12:58:10 -03:00
Tulio Leao
0c51528425 Use ScreenCoordsXY on windows/TopToolbar.cpp 2020-05-01 12:52:07 -03:00
Tulio Leao
1f2cf2674a Use ScreenCoordsXY on windows/TrackList.cpp 2020-05-01 12:28:26 -03:00
Tulio Leao
28b2010838 Use ScreenCoordsXY on interface/Window.cpp 2020-05-01 12:26:01 -03:00
Tulio Leao
1da24fed40 Use CoordsXY on windows/Sign.cpp 2020-05-01 12:19:20 -03:00
Ted John
00f78cc8fa Use ScreenCoordsXY for tab image offset 2020-05-01 13:53:28 +01:00
Michael Steenbeek
fc860e8b6e Merge pull request #11521 from Gymnasiast/refactor/oein3
Make ResearchItem use ObjectEntryIndex
2020-05-01 13:28:21 +02:00
Michael Steenbeek
7895a6911e Bump network version 2020-05-01 13:28:11 +02:00
hdpoliveira
83d88c0939 Use const& in DodgemsCarWouldCollideAt 2020-04-30 21:03:05 -03:00
hdpoliveira
864a40e22c Use const& in wouldCollideWithDodgemsTrackEdge 2020-04-30 20:56:48 -03:00
hdpoliveira
4389670939 Improve names in UpdateDodgemsCollision 2020-04-30 20:53:18 -03:00
hdpoliveira
53f6bd8340 Part of #9473: Create Vehicle::PeepEasterEggHereWeAre
Converted from vehicle_peep_easteregg_here_we_are
2020-04-30 20:53:17 -03:00
hdpoliveira
d69cc1c877 Part of #9473: Create Vehicle::TrainHead and Vehicle::TrainTail
Converted from vehicle_get_head and vehicle_get_tail
2020-04-30 20:53:17 -03:00
hdpoliveira
90cd90e738 Part of #9473: Create Vehicle::Entry
Converted from vehicle_get_vehicle_entry
2020-04-30 20:53:15 -03:00
hdpoliveira
c88695a29c Part of #9473: Create Vehicle::UpdateDodgemsCollision
Converted from vehicle_update_dodgems_collision
2020-04-30 20:53:15 -03:00
Ted John
65303a9f00 Fix spinner decrement buttons 2020-05-01 00:41:20 +01:00
Ted John
4ddc119886 Fix compile errors 2020-05-01 00:10:25 +01:00
Ted John
98249c777d Implement string tooltips for plugins 2020-05-01 00:06:58 +01:00
Ted John
4501173c0d Implement custom window tabs 2020-04-30 23:42:28 +01:00
Ted John
8798811561 Fix #11526: Plugin: Crash when using sprite type in park.postMessage (#11533) 2020-04-30 19:51:47 +02:00
Michael Steenbeek
948c393bc1 Fix #8110: Use a single name for the title sequences directory (#11545) 2020-04-30 18:50:26 +02:00
Michael Steenbeek
76f41285b4 Merge pull request #11511 from IntelOrca/plugin/improve-network-apis
Improve network plugin APIs
2020-04-30 18:50:05 +02:00
Ted John
3d2a534d3b Fix formatting 2020-04-30 17:12:02 +01:00
Michael Steenbeek
29fcdb5392 Fix Steam RCT1 detection (#11543) 2020-04-30 14:49:04 +02:00
Gymnasiast
bafb63df55 Add missing RIDE_TYPE_NULL check 2020-04-30 13:58:48 +02:00
Gymnasiast
ba66751d35 Bump network version 2020-04-30 12:59:34 +02:00
Gymnasiast
6cdee9db93 Fix #7006: Use RTDs for determining ride category 2020-04-30 12:59:18 +02:00
Gymnasiast
505ac0f1a0 Remove unused function 2020-04-30 12:59:18 +02:00
Gymnasiast
7bda0c5fd9 Create constructor for ResearchItem 2020-04-30 12:59:18 +02:00
Gymnasiast
73671bbeeb Make ResearchItem use ObjectEntryIndex 2020-04-30 12:59:18 +02:00
Ted John
bbe7ff0d80 Refactor game action binding for plugins (#11528)
* Refactor game action binding for plugins

Adds parameter visiting for game actions to reduce code needed for binding game actions to JavaScript objects

* Apply suggestions from code review

Co-Authored-By: Tulio Leao <tupaschoal@gmail.com>

Co-authored-by: Tulio Leao <tupaschoal@gmail.com>
2020-04-30 06:56:57 -03:00
Ted John
ee8a1a86c1 Add comments and null check 2020-04-30 02:18:32 +01:00
Ted John
7897df140d Update src/openrct2/network/Network.cpp
Co-Authored-By: Tulio Leao <tupaschoal@gmail.com>
2020-04-30 02:14:33 +01:00
Ted John
f642597098 Replace loop with std::find_if 2020-04-30 01:54:12 +01:00
Ted John
297fe537b6 Implement network.sendMessage(msg, players) 2020-04-28 22:02:14 +01:00
Ted John
d0154d08e9 Implement network join / leave hooks 2020-04-28 19:33:30 +01:00
Ted John
1f39ac014a Run network.chat hook for server chat messages 2020-04-28 17:31:12 +01:00
Duncan
96222ebace Merge pull request #11509 from duncanspumpkin/entity_cleanup
Entity cleanup
2020-04-28 10:44:28 +01:00
duncanspumpkin
fed148648c Use IsPeep in more places 2020-04-28 07:57:47 +01:00
Gymnasiast
a1cbaf9a46 Use OBJECT_ENTRY_INDEX_NULL in more places 2020-04-28 08:38:37 +02:00
Gymnasiast
99626e4fbb Convert RCT12 research marker defines to constexpr 2020-04-28 08:38:16 +02:00
Gymnasiast
38748fc869 Create conversion functions for entry indices 2020-04-28 08:38:04 +02:00
duncanspumpkin
63549dee57 Ensure move_sprite_to_list only used in sprite.cpp
After an entity is created it should never need to call this function. This will be important in later changes when the lists are changed to vectors
2020-04-28 07:27:05 +01:00
Ted John
2c731273c1 Fix #11494: Old console commands don't work at headless console since plugin system (#11508) 2020-04-27 23:02:38 +02:00