Commit Graph

19490 Commits

Author SHA1 Message Date
ζeh Matt f617507b8f
Bump up network version 2023-08-05 17:19:11 +03:00
ζeh Matt db33968ff6
Fix #20684: Footpath additions getting removed by ghost track elements 2023-08-05 17:19:11 +03:00
Matthias Moninger ae273ab106
Merge pull request #20670 from mrmbernardi/paused_construction
Fix #20659: Phantom rides when closing construction window while paused
2023-08-03 02:50:03 +03:00
Duncan 4349688de4
These function names have not reflected their use for a while (#20656) 2023-08-01 20:19:33 +01:00
Michael Bernardi 9b5eaabf97 Fix #20659: Phantom rides when closing construction window while paused 2023-08-01 20:01:39 +02:00
ζeh Matt cc89104de0
Remove some macros from common.h 2023-07-27 14:50:13 +03:00
mrmbernardi d2db5f0f16
No longer limit banner count in intent (#20650) 2023-07-25 06:22:21 +01:00
Hielke Morsink ccba517380
Reduce minor duplication (#20643) 2023-07-19 20:32:15 +01:00
ζeh Matt 3e3f8e7b15
Fix #20642: Track list is sometimes empty due to uninitialized filter 2023-07-19 17:22:33 +03:00
Matthias Moninger 1688415324
Fix another crash in track design manager when using a filter 2023-07-19 15:25:08 +02:00
Matthias Moninger dbca3c9d39
Merge pull request #20605 from triaxx/develop
Fix invalid OPENRCT2_BRANCH test
2023-07-19 16:19:10 +03:00
ζeh Matt 706961f7d5
Fix #20635: Crash when filtering track designs 2023-07-19 15:02:53 +03:00
Duncan 5adf8cd35c
Remove track_list member var from window base (#20626)
* Remove track_list member var from window base

* Address review comment and readd OnOpen
2023-07-19 08:02:31 +01:00
ζeh Matt 2d1c361cb0
Ignore dead windows to determine insertion position 2023-07-18 23:46:05 +03:00
mrmbernardi b5f7d4ee2c
Fix #20607: Unicode string not limited properly (#20623) 2023-07-18 21:10:35 +01:00
Matthias Moninger 5924185a6b
Fix tab index being overwritten for scripted windows (#20630) 2023-07-18 21:08:42 +01:00
Duncan ce86aa029f
Remove custom_info pointer (#20480)
* Remove custom_info pointer

* Formatting
2023-07-18 06:24:42 +01:00
Matthias Moninger 8c0a931403
Merge pull request #20570 from zzril/fix-20389-reversed-banking-on-diagonal-slopes
Fix #20389: Reversed vehicles incorrectly banked on diagonal slopes
2023-07-16 23:57:35 +03:00
Frédéric Fauberteau bd21ee0402 Fix invalid OPENRCT2_BRANCH test
The test 'if (${OPENRCT2_BRANCH} EQUAL master)' fails if
OPENRCT2_BRANCH is not defined.
2023-07-14 23:15:08 +02:00
Duncan ea3508b22c
Reduce accessing global widgets Part 2 (#20572)
* Further work to remove references to widget globals

* Clang format
2023-07-09 21:07:14 +01:00
Matthias Moninger 0a3573ec67
Merge pull request #20569 from ZehMatt/string-cleanup-2
String cleanup 2
2023-07-06 14:55:20 +03:00
ζeh Matt 687fbef025
Use u8string and u8string_view types 2023-07-06 01:25:27 +03:00
Severin Paul Höfer 9fc7596983 Wrap bank_rotation access in GetPaintBankRotation 2023-07-06 00:00:20 +02:00
ζeh Matt 38c57251b3
Fix code formatting 2023-07-06 00:58:22 +03:00
ζeh Matt b011b8085d
Move IEquals to String.cpp and cleanup the implementation 2023-07-06 00:41:59 +03:00
Duncan 70148c8341
Reduce accessing global widgets (#20553) 2023-07-05 21:49:09 +01:00
ζeh Matt b6ea3b1b47
Avoid constructing temporary string object 2023-07-05 23:14:05 +03:00
ζeh Matt 3d5e6ea932
Replace Equals with IEquals where appropriate 2023-07-05 23:14:05 +03:00
Matthias Moninger 279a056125
Fix #20543: Crash using show segments height from debug paint option. (#20561)
* Fix #20543: Crash using show segments height debug option

* Update changelog.txt
2023-07-05 08:05:53 +01:00
Matthias Moninger 7f76c05a64
Fix potential null dereferencing (#20558) 2023-07-05 08:01:34 +01:00
Matthias Moninger 14f007c049
Merge pull request #20489 from ZehMatt/code-overhaul
Remove TestPaint and remove benchmark code
2023-07-05 01:55:46 +03:00
ζeh Matt 8a11db0776
Have multi-threading enabled by default rather than disabled 2023-07-04 23:17:57 +03:00
Stephan Spengler 33f9e5c07e
Change SEK conversion rate from 1 GBP to 0.1 GBP (#20550) 2023-07-04 07:37:27 -03:00
duncanspumpkin 100793b5d6 Remove unused variables from opens 2023-07-03 08:18:35 +01:00
duncanspumpkin 5beadb4f17 Remove unused array 2023-07-03 08:14:03 +01:00
Matthias Moninger 329b4d42ab
Fix parameter validation for cheat action (#20512)
* Fix parameter validation for cheat action

* Bump up network version

* Add enumeration for Count

* Add missing enumeration to switch
2023-07-03 02:00:31 +03:00
Matthias Moninger d5319eeb89
Merge pull request #20313 from mrmbernardi/copy_banners
Fix #19822: Banners can now be copy-pasted from the tile inspector
2023-07-03 00:32:48 +03:00
mrmbernardi ad80943e59
Fix #20310: Create map animations in title (#20314) 2023-07-02 21:31:40 +01:00
Matthias Moninger 80cb6a257b
Merge pull request #20517 from mrmbernardi/console_caret
Fix #20484: Console caret synchronised when using history
2023-07-02 23:27:54 +03:00
Reagan de526fcc91
Remove explicit passing of -lstdc++fs (#20470) 2023-07-02 21:05:20 +01:00
Matthias Moninger 1914502b7e
Merge pull request #20526 from aramk-hub/update-editorobjectives
Part of #20506: Using vectors for EditorObjectiveOptions
2023-07-02 22:39:23 +03:00
Michael Bernardi 3351f2419e Fix #20484: Console caret synchronised when using history 2023-07-02 21:37:48 +02:00
Michael Bernardi 055a532571 Fix #19822: Banners can now be copy-pasted from the tile inspector 2023-07-02 21:35:09 +02:00
Matthias Moninger 0b9639eb25
Fix disabled widgets sharing the same space as active widgets (#20535)
* Fix disabled widgets sharing the same space as active widgets

* Add PR for reference in comment

Co-authored-by: Hielke Morsink <hielke.morsink@gmail.com>
2023-07-02 19:34:02 +00:00
Duncan 62914a39fb
Use a vector for guest ridden rides (#20506)
* Use a vector for guest ridden rides

* Add casts to reduce warnings

* Add mising clear
2023-07-02 20:26:37 +01:00
Aram Kazorian 93a81309aa Part of #20526: Modified variable names 2023-07-02 12:08:54 -07:00
Severin Paul Höfer 92764c2e32
Fix naming inconsistencies and minor bugs concerning half loop elements (#20408)
* Rename large half loops in TrackElemType namespace

* Fix large half loop positions in DropdownOrder

* Fix comments for medium loops

* Fix medium half loop order in gTrackCurveChain

Wrong piece was auto-suggested when building backwards.

* Swap names of painting functions

* Rename TrackElemType for Flying Coaster

* Swap names of Flying Coaster painting functions

* Swap Flying Coaster VehicleSubpositionData names

* Swap FlyingCoaster TrackBlock names

* Fix Flying Coaster track elem flags and comments

* Fix ZeroGRoll comments in TrackData.cpp

* Update changelog.txt

* Bump network version
2023-07-02 19:31:52 +03:00
Matthias Moninger 3ef6003671
Replace openrct2_assert with Guard::Assert, remove openrct2_assert 2023-07-02 16:42:46 +02:00
Matthias Moninger 379287ed0f
Remove legacy stuff in common.h (#20523)
* Remove old interop macro

* Remove legacy string macro things

* Unbreak the posix/linux/unix builds

* Add String::IEquals and use it for case insensitive compare

* Add missing include for posix

* Replace _strnicmp with String::StartsWith

* Add LoByte and HiByte into Util.h, swap macros

* Fix android build

* Hopefully last of the string things

* Replace STUB directly with the warning
2023-07-02 12:59:20 +03:00
Aram Kazorian 2bb24d5d1a Part of #20506: Using vectors for EditorObjectiveOptions 2023-06-30 13:40:09 -07:00