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

41 Commits

Author SHA1 Message Date
Rik Smeets
e0648f8ddb Fix guests leaving queue if other guest rejoins it (#17788)
If another guest returns to the queue from the entrance building, guests arriving at the entrance building through the queue could decide to leave it.
2022-08-29 19:57:51 +01:00
Rik Smeets
67ea7e739f Fix #14337: Guest blocking ride entrance (#17743)
If the ride price becomes unaffordable for a guest who is already waiting to enter a vehicle, that guest became stuck due to an animation loop.
2022-08-22 21:15:58 +01:00
Hielke Morsink
7f29e4e39c Make rct_windowclass strong type WindowClass
This already revealed some places where implicit conversions were done, including some where its use was nonsense (MouseInput.cpp).
The changes to the Intent class were necessary to keep things working, and this splits things up more neatly.
2022-08-21 18:38:25 +02:00
frutiemax
f9bb5b2447 Add GetGuestWaypointLocation to RTD (#17750) 2022-08-13 16:53:27 -03:00
Michael Steenbeek
d9e23e9dfa Use ride_type_t instead of uint8_t in more places (#17803)
Part of preparation for making ride types into objects.
2022-08-13 21:49:19 +02:00
Gymnasiast
49896ece43 Pass considerOnlyCloseRides to PeepHeadForNearestRideWithFlags() 2022-08-06 15:00:52 +02:00
frutiemax
6868b3dcaf Rename IS_SHOP to IS_SHOP_OR_FACILITY and use it for RideObject 2022-08-06 15:00:52 +02:00
frutiemax
2d75858589 Add IS_FIRST_AID flag 2022-08-06 15:00:52 +02:00
frutiemax
76104cbbee Use RIDE_TYPE_FLAG_IS_TOILET 2022-08-06 15:00:52 +02:00
Gymnasiast
d3fd31c611 Rename rct_string_id to StringId 2022-07-31 22:30:13 +02:00
frutiemax
bc72c7e24c Add UpdateLeaveEntrance field to the RTD (#16986)
Co-authored-by: frutiemax <frutiemax@users.noreply.github.com>
2022-07-26 19:33:54 -03:00
8street
213696ea27 Add option to sell merchandise in random colours
Co-authored-by: 8street <nikolai_e@rambler.ru>
2022-07-12 22:20:49 +00:00
Gymnasiast
06c368694a Update variables containing a CarEntry 2022-07-11 18:06:22 +02:00
Michael Steenbeek
3fae2413db Use “car” instead of the ambiguous “vehicle”, part 1
Currently, the word “vehicle” is used for both “train” and “car”. This is a first effort towards disambiguation.
2022-06-07 20:36:20 +00:00
frutiemax
275e970d69 Add RIDE_TYPE_FLAG_IS_CASH_MACHINE flag to RTD (#17130)
* Add RIDE_TYPE_FLAG_HAS_CASH flag to RTD

* Rename to RIDE_TYPE_FLAG_IS_CASH_MACHINE
2022-05-04 19:37:11 +01:00
Michael Steenbeek
765bc59acd Merge pull request #14207 from geoff-B/money32-UDL
#14093 User defined literals for Money32
2022-04-06 15:29:26 +02:00
Rik Smeets
760c96224c Prevent slow motion jumps in Maze 2022-04-06 10:42:00 +02:00
Hielke Morsink
7db9aeb709 Remove max queue length limit 2022-04-05 19:55:47 +02:00
Hielke Morsink
b66d15659f Remove the new cheat that disable queue length limits
This partially reverts commit 0ece5d0f44.
2022-04-05 19:55:44 +02:00
Charles Machalow
0ece5d0f44 Add a new cheat to disable queue length limits 2022-04-02 20:07:06 +02:00
Geoff Banh
85baa6f7ca Fix #14093: Replace MONEY macro with user defined literal 2022-03-29 07:23:35 -03:00
Rik Smeets
4e8ea47e1b Guests with umbrellas no longer always avoid Maze when it rains (#16859)
Co-authored-by: Tulio Leao <tupaschoal@gmail.com>
2022-03-28 23:26:56 -03:00
Charles Machalow
bb5d53d9f2 Fix crash where peeps enter through extra ride entrances (#16727)
Fix #16170, #16177
2022-03-15 06:39:13 +00:00
Hielke Morsink
ad0a2a8f96 Remove entrance/exit location functions 2022-02-18 23:28:17 +02:00
Hielke Morsink
f06645d2f7 Make stations a private std::array and use getters for access 2022-02-18 23:21:35 +02:00
Hielke Morsink
f47c1b9f96 Close #16468: Use TIdentifier for StationIndex 2022-02-18 23:11:07 +02:00
ζeh Matt
d7f5003943 Introduce EntityId and refactor everything 2022-02-16 18:56:39 +02:00
ζeh Matt
06e430157f Use RideId::GetNull and RideId::IsNull over constant 2022-02-12 18:11:18 +02:00
ζeh Matt
4554d6d883 Fix all uses of RideId 2022-02-12 18:11:18 +02:00
ζeh Matt
a2470c0573 Rename ride_id_t to RideId 2022-02-12 18:11:18 +02:00
Duncan
5157b57a15 OpenRCT2 Limits (#16088)
* Move over max rides to limits file

* Move max stations to limits file

* Move over max inversions, golf holes, helices, custhistsize

* Move over max trains per ride

* Bring over Max cars per train and max circuits per ride

* Port over NumColourSchemes and max vehicle colours

* Fix compilation

* Move over max awards

* Move over max peep spawns and park entrances

* Fix rebase issues

* Remove future work

* Switch style

* Update copyright
2022-02-01 20:59:48 +00:00
Gymnasiast
2cf380f7fe Rename NotNice to Overbearing 2022-01-19 13:25:24 +01:00
Gymnasiast
92f38c566a Fix music style check for ‘niceness’ 2022-01-19 13:25:00 +01:00
frutiemax
adb692b74e Forward declare Formatter 2021-12-30 12:17:51 -05:00
ζeh Matt
16635b9192 Implement custom BitSet and replace std::bitset 2021-12-12 23:47:17 +02:00
Gymnasiast
7559354d25 Move ride_update_popularity() to method 2021-12-12 12:30:22 +01:00
Gymnasiast
6df7c1e3b0 Move ride_update_satisfaction() to method 2021-12-12 12:30:22 +01:00
Gymnasiast
aa34f0f760 Drop the N postfix 2021-12-11 00:39:39 +01:00
Gymnasiast
fc3ce3294c Move over switches to normalised tile element types 2021-12-11 00:30:59 +01:00
Michael Steenbeek
2d1af0ec42 Replace many GetType() calls with GetTypeN() 2021-12-10 22:43:17 +01:00
ζeh Matt
9f23449ffb Move Staff/Guest/Peep to entity 2021-11-26 18:26:19 +02:00