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

22791 Commits

Author SHA1 Message Date
Aaron van Geffen
5219172a07 Introduce functions to get a (random) peep anim object by type 2024-12-05 15:02:23 +01:00
Michał Janiszewski
e73aa548eb Update backtrace.io token in Crash.cpp for upcoming release 2024-12-05 12:18:04 +01:00
Aaron van Geffen
b3aa852a8d Consolidate util/Math.hpp into core/Numerics.hpp (#23319)
* Consolidate util/Math.hpp into core/Numerics.hpp

* Remove branching; replace isPowerOf2 with std::has_single_bit

* Add templated types to floor2 and ceil2
2024-12-04 21:00:26 +00:00
Matt
fd79af7db8 Merge pull request #23321 from ZehMatt/window-alloc
Eliminate copying the window list each update
2024-12-04 21:40:33 +02:00
ζeh Matt
ba30f781f4 Remove WindowFlushDead, shouldn't be used directly 2024-12-04 21:18:25 +02:00
ζeh Matt
2c6c1161ed Remove copying the list of windows, no longer required 2024-12-04 21:16:59 +02:00
Aaron van Geffen
0cb81e4dcb Rename util/Prefetch.h to platform/Memory.h (#23320) 2024-12-04 19:16:56 +00:00
Matt
a18268be93 Merge pull request #23318 from ZehMatt/refactor-intent
Refactor Intent
2024-12-04 21:10:40 +02:00
ζeh Matt
9dfd4f3b19 Rename the callback types 2024-12-04 20:43:55 +02:00
ζeh Matt
53d1c27771 Fix a few more missing callback misuses 2024-12-04 18:46:56 +02:00
Aaron van Geffen
f65ef67260 Rename PeepAnimationType::None to PeepAnimationType::Walking (#23317) 2024-12-04 16:09:17 +00:00
ζeh Matt
0ff522de31 Remove the assertion, code currently expects this behavior 2024-12-04 17:26:29 +02:00
ζeh Matt
dd78366a4c Deduplicate the code, add more safety checks 2024-12-04 17:14:02 +02:00
ζeh Matt
116cb2d712 Use static storage for Intent data, no more allocations 2024-12-04 16:58:56 +02:00
ζeh Matt
e86618e835 Make sure the callback is not converted to void* 2024-12-04 16:46:35 +02:00
ζeh Matt
d4352bd65a Use std::variant for Intent data 2024-12-04 16:45:20 +02:00
Aaron van Geffen
a55a690db3 Introduce const ObjectList::FindLegacy (#23315) 2024-12-04 09:50:48 +01:00
Aaron van Geffen
2f450212a5 ImageTable: make parsing ranges more robust (#23316) 2024-12-04 07:38:30 +01:00
Aaron van Geffen
f9fdac2769 Infer peep animation sprite bounds at runtime (#23235) 2024-12-03 23:00:54 +00:00
Aaron van Geffen
e885b3616b Drop old PeepAnimationData unit 2024-12-03 21:14:26 +01:00
Tulio Leao
47c8970d71 Part of #20070: Allow fixing paths with queues
Fixes Mines of Africa
2024-12-03 07:05:43 -03:00
Brendan Heinonen
7d958e63df Part of #20070: missing sloped footpath in scenarios
Scenarios amended:
- Alton Towers
- Rollercoaster Heaven
2024-12-03 07:05:43 -03:00
Brendan Heinonen
5da7d0e4db Fix #22972: Missing flat footpath in scenarios
Scenarios touched:
- Alton Towers
- Build your own Six Flags Magic Mountain
- Mirage Madness
- Six Flags Magic Mountain
2024-12-03 07:05:42 -03:00
Aaron van Geffen
b0da41fef5 WIP: start reworking PeepAnimationGroup 2024-12-02 19:58:00 +01:00
Aaron van Geffen
7127e4555e S6Importer: minor refactor of ImportEntityCommonProperties 2024-12-02 18:09:24 +01:00
Aaron van Geffen
a786c89603 Start working on peep entity animation object conversion 2024-12-02 17:15:51 +01:00
ζeh Matt
61b2bae7b7 Use sfl::small_vector for litter removal, avoid 99% of heap allocations 2024-12-02 02:47:01 +02:00
ζeh Matt
b0fc76fdd0 Replace custom FixedVector with sfl::static_vector 2024-12-02 02:21:52 +02:00
ζeh Matt
e8c7a8909a Eliminate allocations when guests choose their train, add sfl library 2024-12-02 02:16:59 +02:00
mix
a87341888a Stand-Up Roller Coaster fixes
* Fix misaligned Stand-Up Roller Coaster banked turns
* Fix Stand Up RC using Corkscrew diag right bank to 25 deg down piece
* Fix Stand Up RC steep track clipping
* Fix Stand-Up RC steep supports
* Fix Stand Up RC orthogonal unbanked to banked supports
* Fix Stand Up RC diagonal brake supports
* Fix Stand Up RC diagonal slope supports
* Fix Stand Up RC diagonal banked supports
* Fix Stand Up RC small gentle turn supports
* Fix Stand Up RC corkscrew supports
* Fix Stand Up RC large banked turn supports
* Fix Stand Up RC medium banked turn supports
* Fix Stand Up RC small turn supports
* Fix Stand Up RC small banked turn supports
* Fix Stand Up RC small half loop clipping and supports
* Fix Stand Up RC vertical loops clipping and supports
* Fix Stand Up RC small helix supports
* Fix Stand Up RC large helix supports
* Change alignment of Stand-Up RC flat to right bank sprite 25285
* Change alignment of Stand-Up RC diagonal bank track sprites
2024-12-01 21:26:37 +01:00
RedMarcher
c24e47dea1 Rename cheat variables to match new code style 2024-12-01 18:15:37 +01:00
RedMarcher
7d554b5790 Change int for cheats to int32_t 2024-12-01 18:14:27 +01:00
Aaron van Geffen
c465f5d9b1 Implement loading animation sequences from peep anim object 2024-11-29 22:10:18 +01:00
Aaron van Geffen
3685d1a24b clang-format: change IndentPPDirectives to BeforeHash (#23287) 2024-11-29 12:04:56 +09:00
Michael Steenbeek
c8388002d9 Merge pull request #23245 from Gymnasiast/refactor/ride-type-checks
Replace some direct ride type checks
2024-11-28 19:55:36 +01:00
Michał Janiszewski
f788b60331 Merge pull request #23236 from OpenRCT2/signpath
Sign Windows binaries with SignPath certificate
2024-11-26 23:32:43 +01:00
Aaron van Geffen
f90954b1a4 Reduce dependencies for Research.h (#23268) 2024-11-25 14:32:16 +00:00
Aaron van Geffen
fb9a5239b2 Introduce peep animation objects to object selection window 2024-11-25 17:57:15 +09:00
Aaron van Geffen
48be2e911c Set consumption time when giving items to guests (#23581) 2025-01-09 20:01:53 +01:00
Aaron van Geffen
a55e70bc0b Remove InteractiveConsole.h includes where not required (#23578) 2025-01-09 15:40:47 +01:00
Silent
e1dbaf856e Tighten the use of locks in JobPool (#23533)
Should result in less lock contention, and therefore marginally faster loading times.
2025-01-09 14:34:05 +01:00
Severin Paul Höfer
6b892174f9 Fix #21794: Lay-down coaster cars reverse on first frames of downwards corkscrew 2025-01-09 12:16:45 +01:00
Aaron van Geffen
8d0bb76cab Add kMebiByte, kKibiByte constants 2025-01-08 21:37:28 +01:00
Aaron van Geffen
c3a0f3a733 Fix file browser resize widget dimensions 2025-01-05 23:32:41 +01:00
Aaron van Geffen
0e95d034eb Allow file browser to optionally display file sizes 2025-01-04 18:17:38 +01:00
Aaron van Geffen
92f57a277e Rewrite OverwritePromptWindow to use MakeWidget 2025-01-04 17:11:41 +01:00
Aaron van Geffen
ee561adc4c Rename Config::Sort to Config::FileBrowserSort 2025-01-04 16:24:00 +01:00
Aaron van Geffen
aede038ba3 Remember preferred file browser dimensions 2025-01-04 16:18:27 +01:00
Aaron van Geffen
aa45247f21 Move WindowFind functions into WindowManager (#23517)
* Move WindowFind* functions into WindowManager

* Update parameter documentation where applicable
2025-01-08 21:12:11 +01:00
Michał Janiszewski
8c19879e6f Release v0.4.18
- Improved: [#23200] Add banked sloped turns and many other pieces to the Stand-Up and Classic Stand-Up Roller Coaster.
- Improved: [#23260] Add diagonal (block) brakes to LSM Launched Roller Coaster.
- Improved: [#23350] Increased the maximum width of the ride graph window.
- Improved: [#23404] Folders are now paired with an icon in the load/save window.
- Improved: [#23405] Filenames can now be input directly into the file browser (load/save) window.
- Improved: [#23431] Opaque water and Corkscrew Roller Coaster boosters now show up if RCT1 isn’t linked.
- Improved: [objects#369] Updated Russian translation.
- Change: [#23413] The max number of park entrance objects has been raised to 255.
- Fix: [#1122] Trains spawned on a cable lift hill will fall down and crash (original bug).
- Fix: [#19780] Guest screams loop on long drops.
- Fix: [#22742, #22793] In game console does not handle format tokens properly.
- Fix: [#23135] Map generator tree placement has noticable patterns.
- Fix: [#23286] Currency formatted incorrectly in the in game console.
- Fix: [#23348] Console set commands don't print output properly.
- Fix: [#23376] Peeps with balloons, hats and umbrellas may leave artifacts on screen.
- Fix: [#23486] Object selection minimum requirements can be bypassed with close window hotkey.
- Fix: [#23496] Newly spawned vehicles are invisible when spawned while the game is paused.
- Fix: [#23509] Map generator window reverts to flatland after selecting a heightmap image.
- Fix: [objects#359] Fix water colours in Hover Cars preview image.
- Fix: [objects#361] Fix water colours in River Styx boats preview image.
- Fix: [objects#362] Fix water colours in Neptune Ride preview image.
- Fix: [objects#363] Fix water colours in Harpies Trains preview image.
2025-01-08 20:37:35 +01:00