1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-23 14:54:30 +01:00
Commit Graph

432 Commits

Author SHA1 Message Date
Gymnasiast
96e5d124b9 Refactor MEMORY_ACCESS into a FlagHolder 2025-07-04 19:08:24 +02:00
Michael Bernardi
1bc0eca74c Remove unused includes 2025-06-17 22:42:13 +10:00
mix
78c2b85b1d Rename MapAnimation namespace to MapAnimations 2025-06-13 21:13:33 +01:00
mix
7df1a8602c Rename MapAnimation::CreateAll to MarkAllTiles 2025-06-13 21:13:32 +01:00
mix
57148e137a Load temporary map animations from S4 files 2025-06-13 21:13:32 +01:00
ζeh Matt
769a85afb7 Refactor how map animations are created and stored 2025-06-13 21:13:32 +01:00
Gymnasiast
c2b4158573 Split tracks.dat from g2.dat 2025-05-29 21:25:33 +02:00
Matt
42df41efdb Remove the use of shared_ptr for the Context (#24404)
* Replace shared_ptr with unique_ptr for Context systems, return refs

* Fix all the users

* clang-format fix

* Fix linux builds
2025-05-15 22:46:06 +03:00
Michael Steenbeek
7ddb806063 Close #24324: Split font.dat from g2.dat 2025-05-09 14:01:28 +02:00
Matt
6335c31336 Rename DrawPixelInfo to RenderTarget (#24339)
* Begin backend separation, rename type DrawingPixelInfo to RenderTarget

* Rename dpi variables to rt
2025-05-04 22:06:46 +00:00
ζeh Matt
367fe23fcd Fix some bad logic 2025-05-02 01:11:24 +03:00
ζeh Matt
78491aec26 Apply review comments 2025-05-01 15:10:39 +03:00
ζeh Matt
730ceb5c33 Adjust code, deprecate and fallback to HW if software was selected 2025-04-30 18:10:12 +03:00
Michael Steenbeek
188245ad69 Fix #22634: Asset packs with sound effect overrides are not loaded correctly at startup 2025-04-18 00:05:35 +02:00
Matt
3983e42115 Load the save previews in the background 2025-04-05 16:36:25 +02:00
Gymnasiast
80dc039b26 Rename FULLSCREEN_MODE and its members 2025-03-26 12:19:45 +01:00
Gymnasiast
14b881e22b Rename DIRID and its members 2025-03-25 23:39:27 +01:00
Gymnasiast
622a8dc525 Rename DIRBASE and its members 2025-03-25 22:47:09 +01:00
Gymnasiast
c5fff2bb77 Create enum class for FileMode 2025-03-25 22:47:08 +01:00
Gymnasiast
0dfc94799a Rename FILE_TYPE and its members 2025-03-25 22:47:08 +01:00
Gymnasiast
4badffcdb6 Change GameState_t members to lowerCamelCase 2025-03-20 23:05:57 +01:00
Gymnasiast
a45625fc3e Change PromptMode members to new codestyle 2025-03-01 20:12:11 +01:00
Aaron van Geffen
a380413c56 Remove Scenario.h include from many units (#23901)
* Reduce includes/dependencies for Scenario.h

* Remove Scenario.h include from many units
2025-03-01 17:32:32 +01:00
73
a976a43708 Rename network.h to Network.h (#23882) 2025-02-24 10:43:06 +01:00
Michael Steenbeek
c7c13ec8d9 Fix #23814: Scenarios not indexed on first start 2025-02-20 17:30:23 +01:00
73
c7c703515e Rename audio.h to Audio.h (#23842) 2025-02-17 13:24:03 +01:00
Michael Steenbeek
3c03fa308d Improve warning if language files cannot be loaded on Android 2025-01-31 23:24:50 +01:00
Aaron van Geffen
cf448753c1 Move WindowInvalidate and WidgetInvalidate families into WindowManager (#23692)
* Move WindowInvalidate and WidgetInvalidate families into WindowManager

* Use InvalidateWidget shorthand in more places

* Cut back on UiContext includes

* Cut back on Window.h includes

* Remove outdated parameter comments
2025-01-25 13:46:08 +01:00
Ethan O'Brien
0310084c04 Merge branch 'develop' into develop 2025-01-20 08:28:57 -06:00
Aaron van Geffen
a8773dd805 Move WindowClose family into WindowManager (#23646)
* Replace WindowClose() calls with Close method calls where possible

* Move WindowClose family into WindowManager

* Remove UpdateSceneryGroupIndexes hack
2025-01-19 18:49:18 +01:00
Michael Steenbeek
be9f27e4f9 Mass rename constants (#23656) 2025-01-19 15:59:45 +00:00
Aaron van Geffen
bed4d5bdca Move WindowCreate and WindowFocusOrCreate into WindowManager (#23643)
* Move WindowBringToFront into WindowManager

* Move WindowCreate and WindowFocusOrCreate into WindowManager

* Cut back on Context/UiContext includes
2025-01-19 06:58:28 -03:00
Ethan O'Brien
8dfe1f91a9 Resolve merge conflicts 2025-01-10 12:16:03 -06:00
Ethan O'Brien
63b0106de8 Fix emscripten support 2024-12-31 09:31:33 -06:00
Aaron van Geffen
23d4032eed Move LightFX into its own namespace (#23506) 2024-12-30 11:04:39 +00:00
Aaron van Geffen
35e117aca2 Rename String methods to use lowerCamelCase 2024-12-11 22:49:37 +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
Aaron van Geffen
3685d1a24b clang-format: change IndentPPDirectives to BeforeHash (#23287) 2024-11-29 12:04:56 +09:00
Aaron van Geffen
a55e70bc0b Remove InteractiveConsole.h includes where not required (#23578) 2025-01-09 15:40:47 +01:00
Aaron van Geffen
fa06a49302 Update copyright year to 2025 (#23514) 2024-12-31 20:30:04 +01:00
Gymnasiast
95178be1b9 Remove C strings in ContextOpenCommonFileDialog() 2024-10-30 12:47:38 +01:00
Gymnasiast
e46f23702d Remove OpenRCT2WriteFullVersionInfo() 2024-10-30 12:17:27 +01:00
Aaron van Geffen
d2e01dde4e Remove a bunch of Util.h includes 2024-10-29 13:12:52 +01:00
Aaron van Geffen
e70ca5c889 Allow staff to use ‘real’ names as well (#22732) 2024-09-15 20:18:00 +00:00
Michael Steenbeek
6f6cdc0cc6 Revert "Cleanup MemoryStream code (#22593)" (#22666)
This reverts commit 590ab65b2a.
2024-09-01 00:14:12 +02:00
Matt
590ab65b2a Cleanup MemoryStream code (#22593)
* Deduplicate code, use std::bit_ceil to compute new capacity

* Remove unused constructor overload

* Remove more unused functions

* Fix memory leak using assignment operator with move

* Make access explicit via constness, do not allow arbitrary access

* Move the template specialized Write/Read to private section

* Simplify a lot of code by using the right types

* Fix copy constructor

* Directly copy the member in copy constructor

* Fix little mistake

* Pluck a memory leak on Android, fix the build

* Update changelog.txt
2024-08-22 19:24:00 +02:00
Aaron van Geffen
2a99b2f1f9 Rework modifier key state into strong enum class (#22558)
* Rework modifier key state into strong enum class

* Move modifier key state into InputManager
2024-08-14 16:36:05 +02:00
ζeh Matt
fed107b008 Make forceRedraw implicit when we are on the main thread 2024-08-01 23:48:54 +03:00
Aaron van Geffen
e645fc7ac4 Widen progress range for object loading proces 2024-07-16 19:30:48 +02:00