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

18692 Commits

Author SHA1 Message Date
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
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
Tulio Leao
ca3e8bc249 Merge pull request #11480 from hdpoliveira/vehicle_update_9473_02
Vehicle update 9473 02
2020-04-30 23:10:11 -03: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
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
Michael Steenbeek
a8f4a1e114 Use spaces throughout sprites.json (#11536)
Currently it has a mix of tabs and spaces.
2020-04-29 23:23:01 +02: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
Aaron van Geffen
dd9e579633 Add new OS requirements to changelog.txt 2020-04-28 20:31:35 +02: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
Michael Steenbeek
6f6ea6399d Merge pull request #11520 from Gymnasiast/refactor/oein2 2020-04-28 09:07:08 +02: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
OpenRCT2 git bot
5ac866c54a Merge Localisation/master into OpenRCT2/develop. 2020-04-28 04:01:45 +00:00
Ted John
d8ded8d061 Update Windows dependencies to v24 (#11517)
Fixes #11510: Cant start up game on last develop
Fixes #11294: OpenRCT2 doesn't work on Windows Vista anymore
2020-04-27 20:38:19 -03: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
Ted John
ecce4da6e8 Add ipAddress and publicHashKey properties to player API 2020-04-27 20:50:56 +01:00
duncanspumpkin
5b07a76f05 Use sprite_identifier when identifying entitys
The linked list index is only meant to be used for accessing the linked lists. Using the wrong variable is unlikely to cause issues for this exact case but it makes things cleaner.
2020-04-27 18:47:51 +01:00
Ted John
7b9fa972b6 Add addGroup, removeGroup, groups, players API 2020-04-27 18:39:42 +01:00
Ted John
06bbf5ddda Implement SmallSceneryObject for getObject plugin API (#11489) 2020-04-27 18:41:49 +02:00
Michael Steenbeek
2e50cd44ba Refactor ride_list_item to RideSelection (#11505) 2020-04-27 16:26:35 +02:00
Duncan
3c89d5ec12 Fix #11490. Crash with error message titles (#11502)
Error message titles for rides are composed from the ride name string id and therefore require passing the error message args.
2020-04-27 15:22:33 +02:00
Michael Steenbeek
bcabc1d807 Merge pull request #11457 from Gymnasiast/refactor/rtd-forever
More RTD + cleanup
2020-04-27 15:11:54 +02:00