Commit Graph
228 Commits
Author SHA1 Message Date
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 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
matheusvb3 e77f495c65 Remove redundant namespace qualifiers from /paint directory (#25780) 2026-01-09 11:58:41 +00:00
Gymnasiast 7294661d13 Rename Sub6A3F61PathAddition() to paintPathAddition() 2026-01-08 00:17:33 +01:00
Michael Steenbeek 78a654fcbd Rename missed occurrences of DrawPixelInfo/DPI to RenderTarget/RT (#25768) 2026-01-07 19:58:49 +00: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 40aaf97c07 Update copyright years to 2026 (#25741) 2026-01-05 13:42:59 +00:00
Aaron van Geffen 8a0a655025 Unwrangle Drawing.h and Paint.h (#25706)
* Drop Drawing.h include from Paint.h

* Split off RenderTarget to its own header/unit

* Move FilterPaletteID to its own header
2025-12-26 12:58:33 +01:00
Gymnasiast 7f8eeb09c1 Rename members of TrackElemType 2025-12-23 19:15:44 +01:00
Gymnasiast 95c22476c9 Moving scrolling text handling into its own namespace, fix usage of colour_t 2025-12-20 11:43:36 +01:00
Gymnasiast 0ec4e3353b Update members of FontStyle 2025-11-03 23:25:30 +01:00
Gymnasiast c2c834df15 Create struct for footpath slope 2025-10-12 22:46:59 +02:00
Gymnasiast daa4fe8ac3 Rename field of all config categories 2025-10-07 20:21:32 +02:00
Gymnasiast a03613df35 Change FilterPaletteID to lowerCamelCase 2025-09-23 21:09:54 +02:00
Gymnasiast b6e09bbc7e Change code style of enums in Viewport.h 2025-09-17 20:10:11 +02:00
mix 8d76071f22 Change PathPaintGetBaseImage rotatedEdgesAndCorners arg to uint8_t 2025-08-13 14:59:40 +01:00
mix 4a5f802021 Rename Sub6A3F61 to PathPaintFencesAdditionsTunnels 2025-08-13 14:59:39 +01:00
mix fab6c70b2c Rename stru_98D804 to kPathBoundingBoxes in path paint 2025-08-13 14:59:39 +01:00
mix 6e5532ebeb Rename Byte98D6E0 to kPathEdgesAndCornersToSurfaceImageIndexOffset 2025-08-13 14:59:39 +01:00
mix 7d88571402 Ignore corner connections when painting queues 2025-08-13 14:59:39 +01:00
Gymnasiast f267d6025b Rename enum members of WoodenSupportSubType to lowerCamelCase 2025-06-21 14:37:55 +02:00
Gymnasiast 16ce220210 Rename enum members of MetalSupportPlace to lowerCamelCase 2025-06-21 14:12:49 +02:00
Matt 94be70f8a8 Merge pull request #24034 from Gymnasiast/refactor/gamestate-t-lower-camel-case
Change GameState_t members to lowerCamelCase
2025-03-21 23:32:02 +02:00
mix 7a9041c7f3 Shorten PaintSegment enum variant names 2025-03-21 09:17:15 +01:00
Gymnasiast 4badffcdb6 Change GameState_t members to lowerCamelCase 2025-03-20 23:05:57 +01:00
mix 1c2e22e859 Fix lamps and queue line tvs drawing incorrectly on paths with fences 2025-03-14 21:16:37 +01:00
mix 91afda265e Fix corner path fences drawing over adjacent sloped land 2025-03-12 22:40:55 +00:00
Michael Steenbeek 05b64985f4 Update Ride struct to new codestyle 2025-03-09 00:26:25 +01:00
Gymnasiast e35c7fdb5c Update RideStatus to current code style 2025-03-06 23:01:46 +01:00
Michael Steenbeek b0c99fcb6c Refactor more constants to kConstant notation 2025-01-22 16:16:55 +00:00
Aaron van Geffen fa06a49302 Update copyright year to 2025 (#23514) 2024-12-31 20:30:04 +01:00
Michael Steenbeek a2ed026264 Split up remaining tile elements 2024-10-15 22:02:31 +02:00
Michael Steenbeek 71ce725a2a Split off BannerElement and TrackElement (#22955) 2024-10-14 14:26:10 +02:00
mrmbernardi 9ed5c63857 Rename Location.hpp constants (#22385) 2024-07-26 10:23:25 +02:00
Aaron van Geffen 896eb4f488 Consolidate FormatStringIDLegacy, FormatStringToUpper into Formatting 2024-07-13 14:09:58 +02:00
Aaron van Geffen c08541efc7 Remove gCommonStringFormatBuffer, CommonTextBufferSize 2024-07-13 13:25:55 +02:00
Gymnasiast 8c1a841a7f Refactor tunnels 2024-06-03 22:42:20 +02:00
Aaron van Geffen 2f68c7e823 Move STR_NONE, STR_EMPTY to StringIdType.h (#22019) 2024-05-15 20:29:11 +02:00
Aaron van Geffen a63d86c488 Introduce Config namespace and struct 2024-05-10 12:10:21 +02:00
Gymnasiast 4cdaaa9810 Refactor slope flags 2024-05-10 20:16:07 +02:00
Gymnasiast 09dc7077c1 Drop 3rd parameter to PaintUtilSetGeneralSupportHeight()
It’s always 0x20
2024-05-10 20:15:51 +02:00
Gymnasiast 369996809c Add PaintSegment header, add constant for straight flat track 2024-05-02 18:12:51 +02:00
Gymnasiast 7ae98f7421 Use EnumsToFlags() and create a proper enum 2024-03-11 01:12:35 +01:00
Gymnasiast 632f29e6a9 Name segment constants 2024-03-11 00:22:35 +01:00
Michael Steenbeek 045d610391 Merge pull request #21433 from Gymnasiast/refactor/split-supports.cpp
Split Supports.{cpp,h} into two and refactor the wooden supports
2024-02-20 23:42:37 +01:00
Harry Hopkinson d8864e567c Close #21379: Move map base z to constant 2024-02-20 11:49:02 +01:00
Gymnasiast 849af8c2d8 Split Supports.{cpp,h} into two 2024-02-19 21:59:59 +01:00
Harry Hopkinson a55da09e1c Move gMapBaseZ to GameState_t (#21370)
* Move gMapBaseZ to GameState_t

* Fix fomatting
2024-02-11 21:40:32 +00:00
Gymnasiast 0196606851 Apply review requests 2024-01-30 22:00:53 +01:00