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

19455 Commits

Author SHA1 Message Date
ζ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
ζeh Matt
99aea9dba8 Remove dead code 2023-06-30 17:13:35 +03:00
ζeh Matt
69d5e0b280 Use u8string for TTF cache 2023-06-30 17:11:13 +03:00
Aram Kazorian
3f603542ec Refactoring by deleting dead WindowEventList struct (#20513) 2023-06-30 06:05:23 +01:00
mrmbernardi
68d4304bbc Fix #19878: Pre-built rides respect scenery research (#20472) 2023-06-29 21:50:06 +01:00
mrmbernardi
b02fad3404 Fix #20365: Money cheat supports negative value entry (#20478) 2023-06-29 21:47:51 +01:00
duncanspumpkin
a68865d016 Remove all references to title editor
The title editor is now a plugin and these codepaths could only be reached during bugs :)
2023-06-29 08:14:29 +01:00
duncanspumpkin
aa93b8d041 Fix crash when selection scenarios 2023-06-29 08:07:35 +01:00
ζeh Matt
88ec42e7ab Remove WindowUpdateAll from GameLoadInit 2023-06-28 23:53:09 +03:00
Matthias Moninger
a7bbe77148 Merge pull request #20502 from ZehMatt/platform-cleanup
Cleanup Platform code
2023-06-28 16:25:17 +03:00
Matthias Moninger
39771217c8 Merge pull request #20493 from ZehMatt/delayed-window-delete
Refactor window deletion to be delayed
2023-06-28 01:40:12 +03:00
Duncan
0747ad7497 Remove even more window uncommon vars (#20495)
* Break uncommon union

* Move uncommon highlightedScenario into derived

* Split off multi use variable

* Adjust name
2023-06-27 22:33:26 +01:00
ζeh Matt
ac583569da Remove Platform::CoreInit 2023-06-27 23:35:11 +03:00
ζeh Matt
484523f82f Use static initialization for Android class loader 2023-06-27 23:09:53 +03:00
Matthias Moninger
b347cbce03 Merge pull request #20473 from IntelOrca/fix-14853
Fix #14853: [Plug-in] Subscribing to a non-existing event crashes game
2023-06-27 23:07:24 +03:00
ζeh Matt
60a2d5c1f6 Use static initialization to get the correct masking function 2023-06-27 23:02:31 +03:00
ζeh Matt
873fff2513 Remove BitCountInit and handle that with static initialization 2023-06-27 22:45:19 +03:00
ζeh Matt
a83337b2da Use chrono for GetTicks and move into Platform.Common.cpp 2023-06-27 22:21:42 +03:00
ζeh Matt
e19738b5d3 Remove Sleep functions and use Common version 2023-06-27 22:11:52 +03:00
ζeh Matt
d8009291c4 Rename Shared.cpp to Platform.Common.cpp 2023-06-27 22:10:16 +03:00
ζeh Matt
905f1ea094 Shorten the lambda 2023-06-27 17:55:03 +03:00
ζeh Matt
6807d508d0 Ignore dead windows for auto positioning 2023-06-27 17:37:49 +03:00
mrmbernardi
cf7c486c5f Fix #20364: Adding too much money with cheats causes an overflow 2023-06-27 13:29:48 +00:00
ζeh Matt
5497601d42 Refactor window deletion to be delayed 2023-06-27 15:41:25 +03:00
Duncan
d40102aa9d Remove some uncommon variables and break unions (#20440) 2023-06-27 06:34:06 +01:00
Ted John
30664df8e9 Fix #14853: [Plug-in] Subscribing to a non-existing event crashes game 2023-06-27 00:08:05 +01:00
Matthias Moninger
3b7975f4a0 Remove redundant warning suppression code 2023-06-26 20:01:03 +02:00
Duncan
0c5a35993e Remove union from window internal (#20429)
* Remove campaign vars from union

* Remove error union

* Remove new_ride union

* Remove Unknown5

* Update changelog
2023-06-26 16:31:04 +01:00
Matthias Moninger
269370fdd2 Merge pull request #20454 from duncanspumpkin/rideRefactor
Apply coding style to ride window
2023-06-26 16:36:18 +03:00
Matthias Moninger
49c5ceda66 Merge pull request #20462 from ZehMatt/script-crash
Fix crashes when custom plugin actions fail due to immutable state
2023-06-26 16:12:41 +03:00
Matthias Moninger
b291c87d51 Merge pull request #20271 from duncanspumpkin/objDescriptor
Rework Object Identifier callers
2023-06-26 16:11:45 +03:00
ζeh Matt
cdb16bf8bb Fix crashes when custom plugin actions fail due to immutable state 2023-06-26 15:56:20 +03:00