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

23143 Commits

Author SHA1 Message Date
Michael Steenbeek
c8d00a4a62 Merge pull request #16958 from IntelOrca/fix/16478-park-no-money
Fix  #16478: No money in .park scenarios
2022-04-16 22:13:50 +02:00
norisa118
483548120b Fix #16879: TED::Price is price modifier, not price (#16962)
* Fix #16879: TED::Price is price modifier, not price

Change unit type to uint32_t, change name to 'PriceModifer' &
add comment on how to use PriceModifier.
2022-04-14 20:36:39 +01:00
Duncan
a4700e152e Fix #16950. Prevent accessing private members (#16976)
* Fix #16950. Prevent accessing private members

* Move further private variable and rename

* Allow persistency of selection

* Move code to open event
2022-04-14 20:36:04 +01:00
OpenRCT2 git bot
ffb302a6cf Merge Localisation/master into OpenRCT2/develop 2022-04-14 04:01:48 +00:00
OpenRCT2 git bot
18882d1ba4 Merge Localisation/master into OpenRCT2/develop 2022-04-12 04:01:51 +00:00
Ivan
9c04024537 Close #16933: Rename car_visual to PaintStyle (#16969) 2022-04-11 23:18:18 -03:00
Duncan
4596105aed Fix #16922: Unable to place helix ups on certain tracks
Due to heavy reuse of widget index's and dual uses of items this was incorrectly grouped up in the SLOPE_STEEP_UP refactor. The correct way to split up this is to create a HELIX_UP HELIX_DOWN which will be left for a future refactor
2022-04-11 19:25:55 +02:00
spacek531
5ecb7a6c6a Cleanup vehicle drawing code part 2 (#16960) (#16960)
* Rename assembly variable names

* Repurpose unused rct_ride_entry_vehicle field for NumRotationFrames
2022-04-10 21:26:00 +01:00
Michael Steenbeek
b35b1e2ec9 Grammar fix in STR_6488
[ci skip]
2022-04-10 00:49:40 +02:00
Michał Janiszewski
897a6c240c Add changelog entry for #16070 2022-04-09 23:56:38 +02:00
spacek531
e699e96f38 Cleanup vehicle drawing code part 1 (#16956)
* rename some constants based on pitch index

* rename functions based on pitch index
2022-04-09 21:40:54 +01:00
Hielke Morsink
72844708ce Merge pull request #16950 from Broxzier/bugfix/16829-scenery-window-crash
Fix #16050: Scenery window positioning
2022-04-09 18:36:16 +02:00
Ian-Polito
5f60dc4081 Take the nice additional changes from #16095 2022-04-09 17:50:17 +02:00
Hielke Morsink
c995abc25e Fix: Crash on opening scenery window after removing tabs
The crash occurred because gWindowSceneryTabSelections did not get cleared when the window is not open, yet this is a global variable that needs clearing. The function that handles this (WindowSceneryResetSelectedSceneryItems) gets called with the `INTENT_ACTION_REFRESH_SCENERY` intent.
2022-04-09 17:42:17 +02:00
Ted John
92fe3bf5e8 Fix drawing of scenario editor buttons 2022-04-09 12:36:47 +01:00
Ted John
11f4993c03 Remove no money scenerio flag 2022-04-09 12:36:31 +01:00
Ted John
d2528c63a1 Reset scenario when saving a scenario 2022-04-09 11:54:23 +01:00
Ted John
e1401acb47 Use start scenario logic when choosing new game 2022-04-09 11:40:25 +01:00
Michał Janiszewski
fd4e6bd031 Fix crash after alt-tab (#16070) 2022-04-09 11:12:34 +01:00
Michael Steenbeek
e9213e3ecf Fix switched order of imageids on looping coasters (#16951) 2022-04-09 00:34:55 -03:00
Duncan
9c9b554813 Fix #16890. Incorrect rotation for splash boats (#16949) 2022-04-09 00:32:17 -03:00
Hielke Morsink
90ab449f78 Fix #16050: Scenery window positioning
This supersedes #16095

The position and size arguments of WindowCreate are now optional - not a window doesn't have to know the size beforehand.
This removes the WF_NO_SCROLLING flag from the call to WindowCreate, but that seems to have no use for the scenery window anyway.

Co-authored-by: Ian-Polito <ipolito@mailfence.com>
2022-04-09 00:49:44 +02:00
Michael Steenbeek
5e82e9048b Add missing includes 2022-04-07 21:42:08 +02:00
Duncan
5760f11349 Simplify Track Cost calcs (#16940)
* Multiply out 5 in track cost calcs and use _GBP

* Fix typo on Hypercoaster conversion

* Use two decimals for literals converted by _GBP

Co-authored-by: Tulio Leao <tupaschoal@gmail.com>
2022-04-07 11:35:11 +01:00
spacek531
435c38b528 Fix vertical sprite count math 2022-04-06 15:36:39 +02: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
X123M3-256
605112297d Implement RIDE_ENTRY_FLAG_RIDER_CONTROLS_SPEED (#16837) 2022-04-06 08:38:24 -03:00
Rik Smeets
760c96224c Prevent slow motion jumps in Maze 2022-04-06 10:42:00 +02:00
Hielke Morsink
62abb1a5e0 Merge pull request #16924 2022-04-06 09:40:26 +02:00
X123M3-256
e4760c1486 Rewrite numbering of some track sprites (#16930) 2022-04-05 21:48:04 -03:00
Hielke Morsink
ddffa9e892 Merge pull request #16925 2022-04-05 21:54:18 +02:00
Hielke Morsink
791b3ad857 Add dummy cheat to avoid future issues 2022-04-05 19:55:49 +02:00
Hielke Morsink
4328a355c0 Apply coding style to surrounding variables 2022-04-05 19:55:49 +02:00
Hielke Morsink
fd09fc2ce8 Replace hardcoded thought indices with identifiers 2022-04-05 19:55:48 +02:00
Hielke Morsink
c429fc329a Add a new warning for queue length complaints 2022-04-05 19:55:48 +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
Ryan
42dc53cfd5 Remove unused call to Init 2022-04-04 12:53:50 -04:00
Ryan
a8eb6f21a2 Fix scenery window colors defaulting to black 2022-04-04 01:02:48 -04:00
Michael Steenbeek
fbf355c233 Move ZehMatt to former members
[ci skip]
2022-04-03 00:43:10 +02:00
Hielke Morsink
5c4675a150 Fix: call to std::set_difference with unordered lists 2022-04-02 23:03:07 +02:00
Ted John
e2170a995f Fix setPixelData for RAW image format (#16918) 2022-04-02 20:24:01 +02:00
Charles Machalow
0ece5d0f44 Add a new cheat to disable queue length limits 2022-04-02 20:07:06 +02:00
Tulio Leao
67c14ada3c Add int32_t overload for ToMoney32FromGBP 2022-04-01 07:32:03 -03:00
Michał Janiszewski
bb67588754 Add GitHub Actions problem matchers 2022-04-01 11:02:48 +02:00
Tulio Leao
e63432a416 Add ToGBP function to convert non literals to money32 2022-03-31 17:54:52 -03:00
OpenRCT2 git bot
01fa29bb6f Merge Localisation/master into OpenRCT2/develop 2022-03-30 04:09:57 +00:00
Tulio Leao
90dbe60a1f Fix Money values magnitude after _GBP change 2022-03-29 07:23:35 -03:00
Tulio Leao
4bb17e643b Make whole ShopItems array use _GBP 2022-03-29 07:23:35 -03:00
Geoff Banh
85baa6f7ca Fix #14093: Replace MONEY macro with user defined literal 2022-03-29 07:23:35 -03:00