Commit Graph

24100 Commits

Author SHA1 Message Date
Rik Smeets 0ea5f343af
Fix #18469: Land rights window issues (#18662)
Global variables regarding land ownership weren't initialized upon loading a .park file. This would lead to different bugs when using the 'Land rights' window, like markers remaining visible indefinitely and not being able to select the type of land rights to buy.
2022-11-23 20:02:34 +01:00
Michael Steenbeek 9855ff5cac
Fix spelling of *_COLOR_* constants 2022-11-23 18:42:14 +00:00
Michael Steenbeek 06b9dacfaf
Revert "Fix #11679: Facilities clipping issues" (#18660)
This reverts commit c9b6292b88.

Unfortunately #11679 had side effects more serious than the problem it set out to solve. So unfortunately we’ll have to revert it, unless @rik-smeets has another solution.

See here: https://github.com/OpenRCT2/OpenRCT2/pull/18358#issuecomment-1304615840
2022-11-23 18:31:37 +00:00
Michael Steenbeek 68931c75bb
Add data/assetpack to .gitignore 2022-11-23 19:21:28 +01:00
Gymnasiast 8e85c2f344
Small en-GB fixes 2022-11-23 19:04:17 +01:00
Ryan f1c3ee33ff
Fix Dragon Islands not appearing in UCES tab 2022-11-23 18:26:59 +01:00
AuraSpecs 0a7a50e2c5
Add tab for UCES scenarios
The order of the scenarios is listed in the same order listed on the UCES website. This also allows for translating the scenarios to other languages!

Co-authored-by: Gymnasiast <m.o.steenbeek@gmail.com>
2022-11-22 15:18:55 +01:00
Simon J f4e0480cba
Fix #10932: Extensive warnings in console when placing an entrance or exit (#13114)
Co-authored-by: Simon Jarrett <mwnciau@users.noreply.github.com>
2022-11-20 09:03:08 -03:00
Basssiiie 5396368274
[Plugin] Fix crash when reading widget property on window that has both static and tab content (#18620) 2022-11-19 08:29:01 -03:00
OpenRCT2 git bot c7da78a302 Merge Localisation/master into OpenRCT2/develop 2022-11-19 04:02:03 +00:00
Rik Smeets 9688d93e46
Open campaign tab from finished campaign news
When a marketing campaign is finished, it is likely the player wants to renew it.
This change allows the ‘Campaigns’ tab in the 'Finances' window to be opened from the news item of the finished campaign.
2022-11-18 13:26:52 +01:00
OpenRCT2 git bot a8499f5010 Merge Localisation/master into OpenRCT2/develop 2022-11-18 04:03:36 +00:00
Michael Steenbeek e13a2d70b3
Fix #18606: JSON objects do not take priority over DATs they supersede 2022-11-17 18:50:20 +01:00
Michael Steenbeek b2ffcf3b8a
Changelog: fix wording 2022-11-17 17:11:09 +01:00
Haven Kim 7df08a304d
Fix #18244: Invention DragWindow's starting position is inconsistent (#18303) 2022-11-17 07:44:43 -03:00
OpenRCT2 git bot 7268633d81 Merge Localisation/master into OpenRCT2/develop 2022-11-17 04:02:39 +00:00
Duncan 75f3e82661
Provide more warnings for RideSetColourSchemeAction (#18590)
Co-authored-by: Tulio Leao <tupaschoal@gmail.com>
2022-11-16 23:45:53 -03:00
73 0d16c63f1e
Add changelog entry for colour presets as discussed in #18514 (#18524) 2022-11-16 11:19:48 +01:00
73 48ba81371f
Fix #18600: Some copyright years are not updated
this will address issue report #18600
2022-11-16 11:13:32 +01:00
OpenRCT2 git bot 51762a8bed Merge Localisation/master into OpenRCT2/develop 2022-11-16 04:05:35 +00:00
Haven Kim 69e5439484
Fix #17067: Random Staff Patrol Area clicks (#18329)
Co-authored-by: Tulio Leao <tupaschoal@gmail.com>
2022-11-16 00:13:24 +00:00
Michael Steenbeek bde4e2400f
Fix asset pack priority tooltips 2022-11-15 12:13:31 +01:00
Michael Steenbeek 96284123e7
Reduce usage of gCommonStringFormatBuffer 2022-11-14 23:48:34 +00:00
Michał Janiszewski 8439499004
Merge pull request #18555 from janisozaur/imageid-byval
Pass ImageId by value instead by const-ref
2022-11-13 22:15:40 +01:00
Michael Steenbeek 21e88a8a33
Remove code duplication in character bitmap init 2022-11-13 15:04:49 +01:00
OpenRCT2 git bot 4d88cf1aee Merge Localisation/master into OpenRCT2/develop 2022-11-13 04:10:55 +00:00
Michał Janiszewski 237bba9e6f
Provide additional info for ImageId struct size requirements 2022-11-12 23:36:47 +01:00
Michael Steenbeek ae9bf66719
Merge pull request #18312 from IntelOrca/opensounds
Add RMC sounds, audio objects and asset packs
2022-11-12 14:02:08 +01:00
Gymnasiast e3a3c4aea9
Amend changelog 2022-11-12 13:32:04 +01:00
Ted John cd8f25f600
Add missing OpenSFX and OpenMSX cmake downloads 2022-11-12 12:04:11 +01:00
Ted John df0cc4224d
Update objects to v1.3.6 2022-11-12 12:04:11 +01:00
Ted John a136cf79ca
Add RMC friction as special friction sound 2022-11-12 12:04:11 +01:00
Ted John 4328860273
Add OpenSFX and OpenMSX downloads 2022-11-12 12:04:10 +01:00
Ted John 7dc0c1dddc
Add new audio object for RMC sounds 2022-11-12 12:04:10 +01:00
Karst 319276dc0e
Add RMC track sounds 2022-11-12 12:04:10 +01:00
Michał Janiszewski e0bff8ef82
Update plugin API version for duktape version change (#18556)
Duktape got upgraded 2.6.0 -> 2.7.0 in #18485
2022-11-12 07:10:35 +01:00
OpenRCT2 git bot 3b813a50e3 Merge Localisation/master into OpenRCT2/develop 2022-11-12 04:09:01 +00:00
Michał Janiszewski 3e4e8bccc5 Pass ImageId by value instead by const-ref
ImageId struct is 8-bytes large and can fit in CPU register. Passing it
by value lets compiler pass it in register instead of forcing to
reference it from memory.

In my tests this brings
[dome park](https://github.com/OpenRCT2/OpenRCT2/files/6134362/dome-export.zip)
benchgfx results from 42.16s down to 41.08s, or by 2.5%.
2022-11-12 00:06:05 +01:00
Michael Steenbeek f0d0042dc4
Add X7 and karst to long-time contributors 2022-11-11 16:00:15 +01:00
Michał Janiszewski 8bd9d9c551
Update duktape to v2.7.0 (#18485)
A somewhat bloated change due to duktape changing code style
2022-11-11 09:06:05 +01:00
Michael Steenbeek 24cc4d8feb
Merge pull request #18487 from 733737/mini-helis-horror-mansion-tunnel
allow mini helicopters to draw spinning tunnel
2022-11-10 22:16:59 +01:00
Gymnasiast 489300b02f
Remove now-obsolete object translations 2022-11-10 21:50:42 +01:00
OpenRCT2 git bot 3f61c7b501 Merge Localisation/master into OpenRCT2/develop 2022-11-10 04:13:25 +00:00
OpenRCT2 git bot a0096127eb Merge Localisation/master into OpenRCT2/develop 2022-11-09 04:17:42 +00:00
spacek531 9aa67e77ba
Refactor VehiclePitchCorkscrew to template 2022-11-08 21:38:16 +01:00
Gymnasiast bfe7168b56
Close #18536: Guest window still refers to “sprite ID” 2022-11-08 18:26:50 +01:00
Gymnasiast ebb264b702
Add spinning tunnel drawing code to Mini Helicopters 2022-11-08 18:09:29 +01:00
Duncan 482971710d
Apply code style to context functions 2022-11-06 21:49:07 +01:00
Michael Steenbeek 27f3a3a796
Create function to resize window frame 2022-11-06 10:29:40 +01:00
spacek531 22a2d11cfc
name more vehicle paint functions (#18520)
* rename un-renamed vehicle paint functions

* fix unfixed names
2022-11-06 07:44:59 +00:00