29775 Commits
Author SHA1 Message Date
matheusvb3 6c28f56285 Remove redundant namespace qualifiers from Vehicle.cpp (#25801) 2026-01-12 09:37:40 +01:00
mix 3dd71e2040 Fix news window option tab not invalidating (#25799) 2026-01-12 08:17:26 +01:00
Michael Steenbeek 4e502fde42 Refactor FootpathPaintInfo, create Paint.Path.h (#25796) 2026-01-11 20:15:27 +00:00
Michael Steenbeek 50c77a074c Refactor reading BGR values from g1 palette entries (#25778) 2026-01-11 20:01:05 +01:00
Michael Steenbeek ba3fc759fb Merge pull request #25798 from Gymnasiast/refactor/footpath-related-names-b
Rename footpath related struct members
2026-01-11 19:51:43 +01:00
Gymnasiast 63354de46b Rename members of FootpathSelection 2026-01-11 19:25:52 +01:00
Gymnasiast 09999837d1 Rename members of PathRailingsDescriptor 2026-01-11 19:25:52 +01:00
Gymnasiast fdab1ceacd Rename members of PathSurfaceDescriptor 2026-01-11 19:25:52 +01:00
Gymnasiast 41eb24dbd7 Rename members of RailingEntrySupportType 2026-01-11 19:25:52 +01:00
Michael Steenbeek 85cc79b31a Move kScrollingModeNone to ScrollingText.h (#25797) 2026-01-11 18:18:53 +00:00
Michael Steenbeek e4d122d7be Merge pull request #25776 from Gymnasiast/refactor/stuff
Name more Sub[0-9A-F]{6} functions
2026-01-09 22:34:04 +01:00
mrmbernardi 85117e9319 Fix PaletteIndex asserts (#25783) 2026-01-09 14:53:44 +00:00
matheusvb3 507f1dedce Convert ride measurement flags into a FlagHolder (#25782) 2026-01-09 14:20:53 +01:00
matheusvb3 e77f495c65 Remove redundant namespace qualifiers from /paint directory (#25780) 2026-01-09 11:58:41 +00:00
Aaron van Geffen ed1e2a84b4 Remove Drawing.h include from a few more places (#25779) 2026-01-09 12:54:44 +01:00
matheusvb3 fa46857d47 Remove redundant namespace qualifiers from /actions folder (#25773) 2026-01-09 12:51:31 +01:00
73andmatheusvb3 5ed53d3610 Rename Vehicle.VirginaReel.cpp to Vehicle.VirginiaReel.cpp (#25781)
Co-authored-by: matheusvb3 <matheusvb3@users.noreply.github.com>
2026-01-09 09:42:56 +01:00
Michael Steenbeek 72c21efc69 Pass GameState ref down to subfunctions in game actions (#25777) 2026-01-08 22:04:07 +01:00
matheusvb3 45873f70e8 Create RideInvalidateFlag FlagHolder (#25722) 2026-01-08 21:21:41 +01:00
mix 429299f672 Include string_view in ObjectManager.h (#25774) 2026-01-08 16:54:58 +01:00
matheusvb3 9166f3e83d Remove redundant static_casts in miscellaneous files (#25772) 2026-01-08 13:34:44 +01:00
Michael Steenbeek b8a5c97b81 Remove redundant namespace qualifiers from "tests" project (#25771)
* Remove redundant namespace qualifiers from tests project

* Make namespace qualifier explicit
2026-01-08 10:14:04 +01:00
matheusvb3 83d7a3ce9b Make namespace qualifier explicit 2026-01-07 21:04:16 -03:00
matheusvb3 6ce7379d9b Remove redundant namespace qualifiers from tests project 2026-01-07 21:04:15 -03:00
Michael Steenbeek 089566dd79 Merge pull request #25767 from Gymnasiast/refactor/map-shit
Refactor PaletteIndex
2026-01-08 00:23:30 +01:00
Gymnasiast 7294661d13 Rename Sub6A3F61PathAddition() to paintPathAddition() 2026-01-08 00:17:33 +01:00
Gymnasiast a4a04993f5 Name Sub6E1F34*, remove redundant window checks 2026-01-08 00:16:48 +01:00
Gymnasiast a13b1c4e11 Make PaletteIndex into a strong enum and move into namespace 2026-01-07 23:55:30 +01:00
Gymnasiast 96a0c1f48e Refactor Map window palette index handling 2026-01-07 23:54:16 +01:00
Michael Steenbeek 78a654fcbd Rename missed occurrences of DrawPixelInfo/DPI to RenderTarget/RT (#25768) 2026-01-07 19:58:49 +00:00
matheusvb3 9c5e670358 Remove redundant qualifiers from paint code (#25769) 2026-01-07 19:02:00 +01:00
Michael Steenbeek 29ebe61e60 Add "StayOpen" flag to special track parts dropdown (#25765) 2026-01-07 15:49:00 +01:00
Michael Steenbeek fb7f110f77 Merge pull request #25743 from matheusvb3/strong-enums
A few strong enum conversions
2026-01-07 14:52:43 +01:00
matheusvb3 e209a3d733 Remove superfluous includes from /test/tests folder (#25766) 2026-01-07 14:47:52 +01:00
Michael Steenbeek 09dc9e9b43 Merge pull request #25759 from Gymnasiast/refactor/some-palette-stuff
Refactor some palette stuff
2026-01-07 14:37:20 +01:00
Gymnasiast 8861833292 Pass PaletteIndex to Rectangle::fill() and IDrawingContext::FillRect() 2026-01-07 12:48:01 +01:00
Gymnasiast 659b3abc72 Pass FilterPaletteID to GetPaletteG1Index() and GetPaletteMapForColour() 2026-01-07 12:48:01 +01:00
Michael Steenbeek f5f6721cfc Merge pull request #25760 from matheusvb3/remove-includes-win-cli
Remove unused includes from openrct2-cli and openrct2-win projects
2026-01-07 09:17:53 +01:00
matheusvb3 92df47423b Make InputFlag a strong enum 2026-01-06 23:22:25 -03:00
matheusvb3 214b5f7203 Make CarSpriteFlag a strong enum 2026-01-06 23:22:24 -03:00
matheusvb3andMichael Steenbeek c668066fab Convert TerrainSurfaceFlags into a FlagHolder
Co-Authored-By: Michael Steenbeek <1478678+Gymnasiast@users.noreply.github.com>
2026-01-06 23:22:22 -03:00
matheusvb3 046107db93 Remove unused includes from /openrct2-win folder 2026-01-06 20:06:41 -03:00
Aaron van Geffen 6a6bd8e1aa Reduce dependencies for Ride.h (#25757) 2026-01-06 20:03:31 +00:00
matheusvb3 c9821b1202 Remove unused includes in miscellaneous files (#25707)
Cherry-picked from "make MechanicStatus a strong enum" branch
2026-01-06 20:24:34 +01:00
matheusvb3 7b2be3c9f9 Remove unused include from /openrct2-cli folder 2026-01-05 19:00:34 -03:00
Aaron van Geffen b5cd780b3e Rework drawing header includes (#25744)
* Move Csg unit into OpenRCT2 namespace

* Move G1Element into its own header file

* Clean up SpriteCommands.h

* Add trailing namespace comment to Csg.cpp

* Remove Drawing.h dependency from Graph.h

* Add <memory> include to G1Element.h

* Remove Drawing.h include from ImageTable.h (used by all objects!)

* Drop Drawing.h dependency from OpenGLFramebuffer.h

* Drop Drawing.h dependency from TextureCache.h

* Drop Drawing.h include from TitleScene.h

* Drop Drawing.h dependency from Widget.h

* Add <optional> include to SpriteFile.h

* Add Drawing.h to PlayTests, S6ImportExportTests

* Include <cstdint> in TitleScene.h for SIZE_MAX
2026-01-05 19:09:34 +00:00
Aaron van Geffen 1b844d9e52 Rework object header includes (#25742)
* Remove EntityList.h includes in a few places

* Remove Object.h dependency from Footpath.h

* Remove Object.h dependency from Editor headers

* Remove Object.h dependency from NetworkBase.h

* Move RideFilters struct to RideTypes.h

* Move ObjectSourceGame enum to its own header

* Remove Object.h dependency from ObjectManager.h

* Remove Object.h dependency from ObjectRepository.h

* Remove Object.h dependency from ObjectTypes.h

* Add missing copyright header to ObjectEntryManager.cpp

* Add missing copyright header to SurfaceData.h
2026-01-05 19:31:34 +01:00
Peppersawce 8e2b3de749 Preliminary Haiku OS support (#25659) 2026-01-05 14:03:44 +00:00
Aaron van Geffen 40aaf97c07 Update copyright years to 2026 (#25741) 2026-01-05 13:42:59 +00:00
Michael Steenbeek 0319dc2fff Fix #25739: Freezes when exceeding 384 items per tab in New Ride (#25740) 2026-01-05 14:08:33 +01:00