Commit Graph
400 Commits
Author SHA1 Message Date
Harry Hopkinson fdd84f2612 Refactor ViewportInteractionItems into FlagHolder (#27111) 2026-09-12 18:00:52 +02:00
Harry Hopkinson b1175458bf Refactor CoordsRange.hpp/ScreenCoords.hpp members to camelCase (#27112) 2026-09-12 17:58:50 +02:00
Harry Hopkinson 092783cc11 Rename Location.hpp members to camelCase (#27085) 2026-09-07 22:58:24 +02:00
Gymnasiast 83cbac90ec Move stuff that affects the whole screen/viewport out of Drawing.{cpp,h} 2026-09-06 19:40:56 +02:00
Harry Hopkinson 0fb70602d3 Convert contents of EntityRegistry.h to camelCase (#27019) 2026-08-29 22:24:54 +00:00
Michael Steenbeek a74f7437b9 Rename symbols of Peep (#26949) 2026-08-17 23:42:30 +02:00
Gymnasiast 631804fd13 Make WallElement members adhere to code style 2026-08-12 15:17:55 +02:00
Gymnasiast d3c54532ca Make SmallSceneryElement members adhere to code style 2026-08-12 15:17:39 +02:00
Gymnasiast 95025ba916 Make LargeSceneryElement members adhere to code style 2026-08-12 15:17:29 +02:00
Gymnasiast 45007c1865 Rename members of CursorID 2026-08-07 06:57:34 +02:00
Harry Hopkinson 69872010ae Reorder/remove more includes (#26847)
* Remove unneeded includes from src/openrct2/interface

* Remove unneeded includes from src/openrct2/entity

* Remove unneeded includes from src/openrct2/localisation

* Remove unneeded includes from src/openrct2/management

* Remove unneeded includes from src/openrct2/network
2026-07-31 21:33:22 +02:00
Harry Hopkinson df2a210fd8 Rework openrct2/drawing includes (#26815) 2026-07-21 17:00:55 +02:00
Michael Steenbeek 1be4d6d94b Update TileElementType to use new codestyle (#26766) 2026-07-09 17:50:25 +00:00
Harry Hopkinson 8ce9661dc9 Rename more enum members to lowerCamelCase (#26608)
* Rename enums in Cheats.h

* Rename enums in Diagnostic.h

* Rename enums in Editor.h

* Rename enums in Input.h

* Rename enums in OpenRCT2.h

* Rename enums in ConfigTypes.h

* Rename enums in Identifier.hpp
2026-05-28 10:54:24 +00:00
Marino Rottier 6c6acd527b Rename TileElementBase members (#26522)
* Rename TileElementBase members to camelCase

* Rename RCT12TileElementBase and RCT12TileElement members to camelCase
2026-05-17 13:21:16 +00:00
Marino Rottier 66e1411d84 Rename EntityBase and EntitySpriteData members (#26520)
* Rename EntitySpriteData members to camelCase

* Rename EntityBase members to camelCase
2026-05-17 11:21:59 +00:00
matheusvb3 c6f505e718 Convert small scenery entry flags into a FlagHolder (#26181)
Update Staff.cpp
2026-03-12 21:40:08 +00:00
Aaron van Geffen be84cdb1bb Rename Climate to Weather where appropriate (#26163)
* Introduce OpenRCT2::Weather namespace

* Rename Climate.h/cpp to Weather.h/cpp

* Rename ScClimate.hpp to ScWeather.hpp

* Rename drawing/Weather.h to drawing/WeatherDrawer.h
2026-03-08 11:00:07 +01:00
Gymnasiast 6440b5d6f3 Rename ‘lifecycleFlags’ to ‘flags’ 2026-02-24 23:31:07 +01:00
Gymnasiast 7d4acdc2c3 Refactor lifecycleFlags to FlagHolder 2026-02-24 23:30:19 +01:00
Gymnasiast b2fcecb79e Refactor RtdFlags into FlagHolder 2026-01-31 14:00:52 +01:00
Michael Steenbeek 343c7a70d7 Change colour to a strong enum (#25873) 2026-01-28 10:06:45 +01:00
Michael Steenbeek 3e4261323a Rename some palette indices (#25843) 2026-01-18 21:24:45 +00:00
matheusvb3 bba937a03d Remove more redundant namespace qualifiers (#25828) 2026-01-16 08:38:20 +01:00
matheusvb3 9166f3e83d Remove redundant static_casts in miscellaneous files (#25772) 2026-01-08 13:34:44 +01:00
Gymnasiast a13b1c4e11 Make PaletteIndex into a strong enum and move into namespace 2026-01-07 23:55:30 +01:00
Michael Steenbeek 78a654fcbd Rename missed occurrences of DrawPixelInfo/DPI to RenderTarget/RT (#25768) 2026-01-07 19:58:49 +00: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
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
Aaron van Geffen 40aaf97c07 Update copyright years to 2026 (#25741) 2026-01-05 13:42:59 +00:00
Gymnasiast 7236631db5 Create strong enum+Flagholder for G1 flags 2025-12-27 20:25:59 +01:00
Gymnasiast e6fa262b9e Rename G1Element members, add unions for palette entries 2025-12-27 16:56:54 +01:00
matheusvb3 490bf3ec30 Remove redundant parentheses around FlagHolder method invocations (#25695) 2025-12-23 18:16:44 +01:00
matheusvb3 39729f23e9 Remove redundant parenthesis around negated .has FlagHolder checks 2025-12-23 14:19:37 +01:00
Aaron van Geffen 7f5806aa31 Move ZoomLevel::min implementation to ZoomLevel.cpp (#25689) 2025-12-23 11:57:44 +01:00
Aaron van Geffen db619be0c3 Rename ViewportInitAll to ContextResetSubsystems (#25690) 2025-12-23 11:56:52 +01:00
Gymnasiast 7c51ccde1e Rename Rect namespace to Rectangle 2025-10-23 18:44:45 +02:00
Gymnasiast 93c3d99546 Move rectangle drawing into its own namespace 2025-10-23 18:41:08 +02:00
Gymnasiast 9e9b774266 Move rectangle drawing to Rect.{cpp,h} 2025-10-23 18:40:04 +02:00
Gymnasiast daa4fe8ac3 Rename field of all config categories 2025-10-07 20:21:32 +02:00
Gymnasiast 8f399dfbdd Rename members of EntityType 2025-10-05 14:58:57 +02:00
Gymnasiast 159dc7aab0 Rename members of PeepState 2025-10-05 14:46:12 +02:00
Gymnasiast a03613df35 Change FilterPaletteID to lowerCamelCase 2025-09-23 21:09:54 +02:00
Michael Steenbeek eb38b7227f Change WindowFlag to strong enum 2025-09-20 21:46:42 +02:00
Gymnasiast a662c5ef8e Change WindowClass members to use lowerCamelCase 2025-09-17 23:18:52 +02:00
Gymnasiast c94babb06e Rename g_window_list to gWindowList 2025-09-17 23:16:17 +02:00
Gymnasiast 3a803e13e2 Change window functions to use lowerCamelCase 2025-09-17 20:10:12 +02:00
Gymnasiast d4a0bca091 Rename Window fields 2025-09-17 20:10:12 +02:00
Gymnasiast 8a7a265639 Rename member of WidgetIdentifier and WidgetRef 2025-09-17 20:10:12 +02:00