Commit Graph
442 Commits
Author SHA1 Message Date
Aaron van Geffen 26ceebe0b2 Prevent _preloaderScene nullptr deref (#25710) 2025-12-27 20:29:30 +01:00
Aaron van Geffen db619be0c3 Rename ViewportInitAll to ContextResetSubsystems (#25690) 2025-12-23 11:56:52 +01:00
Matt d8698726c9 Refactor the network code also change protocol (#25575)
* Change the network protocol and refactor the code, still supports the old format for now

* Bump up network version

* Update changelog.txt
2025-12-03 00:06:39 +02:00
Gymnasiast daa4fe8ac3 Rename field of all config categories 2025-10-07 20:21:32 +02:00
Gymnasiast 472e048f69 Make WindowView into strong enum 2025-09-17 23:49:17 +02:00
Gymnasiast ea5fc03dd0 Turn WindowDetail into strong enum 2025-09-17 23:35:10 +02:00
Gymnasiast a662c5ef8e Change WindowClass members to use lowerCamelCase 2025-09-17 23:18:52 +02:00
Aaron van Geffen 9b7ee06e0f Move Context fully into OpenRCT2 namespace; types into Input.h 2025-09-12 14:03:44 +02:00
Aaron van Geffen 5a4cc7d00d Remove Network function name prefixes given namespace qualifiers 2025-08-31 16:02:43 +02:00
Aaron van Geffen f11d1e33d0 Move Scenario::Objective into its own unit; enum class ObjectiveType 2025-08-22 17:40:47 +02:00
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