Commit Graph

25294 Commits

Author SHA1 Message Date
ζ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 faded9936b
Update changelog.txt 2023-06-26 15:56:24 +03:00
ζeh Matt cdb16bf8bb
Fix crashes when custom plugin actions fail due to immutable state 2023-06-26 15:56:20 +03:00
Matthias Moninger 9e57fcc6d4
Merge pull request #20474 from ZehMatt/fix-cheatsetaction-query
Actually return the game action result in CheatSetAction::Query
2023-06-26 15:47:52 +03:00
duncanspumpkin 697712c352 Apply formating 2023-06-26 08:26:25 +01:00
duncanspumpkin ed5abfc7de Apply coding style to ride window 2023-06-26 08:26:25 +01:00
Matthias Moninger fb1b531d59
Fix build error due to stale base branch for #20100 (#20476) 2023-06-26 08:10:01 +01:00
Matthias Moninger 3edb044685
Merge pull request #20100 from IntelOrca/plugin/object-manager
Add plugin APIs for the object manager
2023-06-26 02:26:13 +03:00
ζeh Matt 93536c802e
Actually return the game action result in CheatSetAction::Query 2023-06-26 02:09:12 +03:00
Matthias Moninger caa21b740c
Merge pull request #20458 from AaronVanGeffen/refactor/constexpr
Remove const qualifier from constexpr statements
2023-06-25 19:21:23 +03:00
Aaron van Geffen 627fcec7e9 Revert change in BitSet 2023-06-24 13:25:33 +02:00
Aaron van Geffen 2697ed1920 Formatting 2023-06-24 11:48:14 +02:00
Aaron van Geffen d425e0a8bb Remove const qualifier from constexpr statements 2023-06-24 11:45:26 +02:00
Aaron van Geffen f9d8c5923d
Replace surface corner hex values with named constants 2023-06-24 01:48:25 +02:00
Duncan 4a3a1e4e7f
Remove event handlers (#20439) 2023-06-23 08:31:31 +01:00
Duncan 622c8cdb7e
Fix #20433. Dropdown default selections not working (#20437)
This fixes it for rides but it is also an issue effecting a few different dropdowns
2023-06-23 06:20:02 +01:00
Duncan a6d3dbc6d9
Remove player specific window vars from common 2023-06-23 00:44:17 +02:00
Matthias Moninger 42ff471617
Fix periodic window update function being called every frame 2023-06-22 15:52:14 +02:00
Duncan 95463c015c
Actually refactor last window (#20436)
This one was hiding
2023-06-21 21:15:13 +01:00
Tiago A. Reul 97427743a4
Clean up SpritBoundBox2 2023-06-21 01:24:04 +02:00
Matthias Moninger ce1695fab8
Merge pull request #20404 from duncanspumpkin/rideWindow
Ride Window refactor
2023-06-21 01:34:40 +03:00
Matthias Moninger a507390b96
Merge pull request #19797 from zzril/fix-9534-no-screams-on-diagonal-drops
Fix #9534: Screams cut off on steep diagonal drops
2023-06-21 01:09:39 +03:00
Severin Paul Höfer 7b3eb44a4d Update changelog.txt 2023-06-20 23:41:22 +02:00
Severin Paul Höfer 4b39298803 Bump network version 2023-06-20 23:17:56 +02:00
zzril d6ffdb0aa1 Add Pitch values for steep diagonal drops to checks in UpdateScreamSound
The checks in UpdateScreamSound (rct2: 0x006D796B) forgot about (steep)
diagonal drops. This resulted in riders' screams getting cut-off on
(long) steep diagonal drops once the last car reached the maximum drop
angle, and the screams re-starting as soon as the first car reached the
valley.
2023-06-20 23:17:56 +02:00
duncanspumpkin f0658202ef Fix mistake 2023-06-20 08:52:00 +01:00
duncanspumpkin 9b8b672507 Finish linking up parts 2023-06-20 08:42:25 +01:00
Matthias Moninger 1d74d44824
Merge pull request #20418 from Gymnasiast/fix/20417
Fix #20417: Plugin windows missing the left title bar border
2023-06-19 22:41:35 +03:00
Michael Steenbeek 20fe5a29d3
Add missing Ukrainian letters (Єє and Ґґ) 2023-06-18 23:44:44 +02:00
Gymnasiast 11de002a55
Fix #20417: Plugin windows missing the left title bar border 2023-06-18 22:45:35 +02:00
Matthias Moninger e67fce7e4a
Merge pull request #20415 from ZehMatt/fix-20413
Fix #20413: Crash attempting to navigate an empty console history
2023-06-18 17:14:46 +03:00
ζeh Matt edfbf79720
Update changelog.txt 2023-06-18 16:22:32 +03:00
ζeh Matt 4bffa72c45
Fix #20413: Crash attempting to navigate an empty console history 2023-06-18 15:39:26 +03:00
Matthias Moninger dad2d806e6
Merge pull request #20406 from ZehMatt/fix-scenery-misc
Exclude the 'All' tab when searching for scenery group
2023-06-18 03:32:59 +03:00
ζeh Matt ffa65cea0e
Exclude the 'All' tab when searching for scenery group 2023-06-17 16:40:57 +03:00