Commit Graph
906 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 85cc79b31a Move kScrollingModeNone to ScrollingText.h (#25797) 2026-01-11 18:18:53 +00:00
mix 429299f672 Include string_view in ObjectManager.h (#25774) 2026-01-08 16:54:58 +01:00
Gymnasiast a13b1c4e11 Make PaletteIndex into a strong enum and move into namespace 2026-01-07 23:55:30 +01: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
Aaron van Geffen 6a6bd8e1aa Reduce dependencies for Ride.h (#25757) 2026-01-06 20:03:31 +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 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 16a0e7727e Rename RCTG1Header and its fields 2025-12-27 20:25:59 +01: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
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 0ec4e3353b Update members of FontStyle 2025-11-03 23:25:30 +01:00
Gymnasiast 124352c922 Update members of TextAlignment 2025-11-03 23:25:29 +01:00
Gymnasiast e90e6cb888 Add loadImages parameter to LoadTempObject() 2025-10-27 20:25:21 +01:00
Gymnasiast 56d26b677b Fix #25406: Crash while building track designs repository 2025-10-27 20:25:21 +01:00
Gymnasiast c8506ccd6f Add method to allow object loading by ObjectRepositoryItem 2025-10-25 13:43:36 +02:00
Michael Steenbeek 218318cf7f Rename constants and flags related to swing modes and rotation types (#25259)
* Rename rotation consts and flags

* Rename swing flags
2025-10-24 20:46:01 +02:00
matheusvb3 5ffd672a9e Rename swing flags 2025-10-15 22:22:04 -03:00
matheusvb3 1007c11771 Rename rotation consts and flags 2025-10-15 22:21:43 -03:00
Gymnasiast 0c5c21596d Rename members of ObjectStringID 2025-10-07 22:08:15 +02:00
Gymnasiast 5c3ccffb5c Rename members of SourceKind 2025-10-07 22:03:08 +02:00
Gymnasiast 76b939894c Rename members of PathAdditionDrawType 2025-10-07 22:02:21 +02:00
Gymnasiast 26b02d9126 Rename members of ObjectError 2025-10-07 22:01:22 +02:00
Gymnasiast e045126fe3 Rename members of ObjectSourceGame 2025-10-07 22:00:53 +02:00
Gymnasiast 57e65f5888 Rename members of RCT2LanguageId 2025-10-07 20:46:11 +02:00
Gymnasiast cce7975115 Rename members of RCT12PeepAnimationGroup 2025-10-07 20:00:21 +02:00
Gymnasiast 524646e32a Rename members of ShopItem 2025-10-05 15:06:24 +02:00
Gymnasiast d97512f498 Rename members of PeepAnimationGroup 2025-10-05 14:46:12 +02:00
Gymnasiast f1d74507a0 Rename members of PeepAnimationType 2025-10-05 14:46:12 +02:00
Gymnasiast aa84394e7b Rename fields of PeepAnimation 2025-10-05 01:27:23 +02:00
Gymnasiast be23fbc98c Rename fields of SpriteBounds 2025-10-05 01:20:49 +02:00
Gymnasiast ee67a827c0 Rename members of AnimationPeepType 2025-10-05 01:10:06 +02:00
Matt 457be528c7 Merge pull request #25280 from ZehMatt/string-optimizations
String optimizations
2025-10-02 00:00:31 +03:00
Gymnasiast 45912ec9a3 Rename members of SoundId 2025-10-01 20:35:34 +02:00
ζeh Matt 6457eca67c Use the parse functions, adjust code to account for the split change 2025-09-28 23:09:11 +03:00
ζeh Matt 9eeaf9a001 Rename parse to tryParse, add throwing version, return views for split 2025-09-28 23:07:29 +03:00
Michael Steenbeek af8e6bb234 Merge pull request #25239 from Gymnasiast/refactor/no-repository-in-loading-code
Remove ObjectRepository from object reading code
2025-09-24 12:19:57 +02:00
Gymnasiast 73f31b707b Pass car by reference 2025-09-23 18:33:42 +02:00
Spacek531 e656602f83 Convert legacy sprite groups to FlagHolder 2025-09-23 18:33:42 +02:00
Gymnasiast 04af97ec74 Remove repository from IReadObjectContext, ObjectFileIndex and helper functions 2025-09-23 14:10:07 +02:00
Gymnasiast f768d2873e Do not read from repository when loading objects 2025-09-23 14:09:09 +02:00
Michael Steenbeek 3e11a8efdf Fix #24998: Some custom small scenery objects do not load 2025-09-23 14:06:20 +02:00
Gymnasiast 73d3e4f0e3 Change "sprite exportalldat" into "sprite exportobject", take a filename instead of an already loaded DAT 2025-09-21 21:18:59 +02:00
Gymnasiast 161a8359fc Create function to create object from file 2025-09-21 21:18:22 +02:00
Gymnasiast d4a0bca091 Rename Window fields 2025-09-17 20:10:12 +02:00
spacek531 b65f633456 Fix checking incorrect flags field when determining number of sprites of legacy vehicles 2025-09-16 13:46:09 +02:00