Gymnasiast
2398d91fb2
Rename DrawTextBasic() to DrawText()
2026-03-25 23:15:49 +01:00
Michael Steenbeek
343c7a70d7
Change colour to a strong enum ( #25873 )
2026-01-28 10:06:45 +01:00
matheusvb3
bba937a03d
Remove more redundant namespace qualifiers ( #25828 )
2026-01-16 08:38:20 +01: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
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
124352c922
Update members of TextAlignment
2025-11-03 23:25:29 +01:00
Gymnasiast
7c51ccde1e
Rename Rect namespace to Rectangle
2025-10-23 18:44:45 +02:00
Gymnasiast
298f3fdeb1
Replace remaining rectangle flags with Rect::FillMode enum
2025-10-23 18:42:50 +02:00
Gymnasiast
679064da77
Replace INSET_RECT_FLAG_FILL_MID_LIGHT with Rect::FillBrightness enum
2025-10-23 18:42:07 +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
a5d173efda
Create border style enum for GfxFillRectInset
2025-10-23 18:40:03 +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
3a803e13e2
Change window functions to use lowerCamelCase
2025-09-17 20:10:12 +02:00
Gymnasiast
8a7a265639
Rename member of WidgetIdentifier and WidgetRef
2025-09-17 20:10:12 +02:00
Aaron van Geffen
12ab9195b6
Rework EntityRegistry into class
2025-08-31 14:29:36 +02:00
Aaron van Geffen
f11d1e33d0
Move Scenario::Objective into its own unit; enum class ObjectiveType
2025-08-22 17:40:47 +02:00
Aaron van Geffen
f5f3199dfe
Move scenario objective/category/name/details into Scenario::Options
2025-08-22 16:05:38 +02:00
Gymnasiast
9c810d9e32
Update ParkData fields to new code style
2025-08-21 22:12:41 +02:00
Michael Steenbeek
7b322d825a
Refactor constants in window .cpp files
2025-06-16 23:10:47 +02:00
Gymnasiast
bdba89f428
Pass ScreenSize to window creation functions
2025-06-10 23:20:28 +02:00
Gymnasiast
650fa3ae2e
Rename WindowWidgetType to WidgetType and change for new code style
2025-06-10 19:55:12 +02:00
Gymnasiast
149468406b
Update WindowColour enum for new code style
2025-06-10 19:53:12 +02:00
Gymnasiast
86e265f093
Make widget creation functions lowerCamelCase
2025-06-10 19:51:21 +02:00
ζeh Matt
c383a7778c
Avoid some more unintentional copies
2025-05-23 18:33:44 +03: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
Aaron van Geffen
653826ba99
Clear plugin storage when converting save game for scenario ( #24069 )
2025-05-01 23:25:15 +02:00
Aaron van Geffen
1691cb187e
Advance editor step when saving (and go back if user cancels)
2025-04-09 18:37:32 +02:00
Aaron van Geffen
b0b050d42f
Add extra editor step for entering scenario details
2025-03-20 16:37:47 +01:00
Aaron van Geffen
50f58d4c4f
Change: allow going back in editor when converting a save
2025-03-20 16:34:09 +01:00
Aaron van Geffen
807a2fa7c9
Merge objective options into scenario options
2025-03-13 13:57:03 +01:00
Aaron van Geffen
3404405f7e
Load scripts in the scenario editor and track designer ( #24090 )
...
* Load scripts in the scenario editor and track designer
* Explicitly unload plugins upon saving scenario
2025-04-13 13:41:22 +02:00
Gymnasiast
4badffcdb6
Change GameState_t members to lowerCamelCase
2025-03-20 23:05:57 +01:00
Aaron van Geffen
7411b718bc
Prevent closing object selection window when selection is invalid ( #23968 )
...
* EditorObjectSelectionWindowCheck: move window close out to caller side
* WindowManager: apply CanClose check again
* Amend changelog
2025-03-11 21:14:04 +01:00
Michael Steenbeek
8266447904
Split LOADSAVETYPE_* into LoadSaveAction and LoadSaveType
2025-03-06 21:06:39 +00:00
Michael Steenbeek
06c1fed4f7
Refactor gScreenFlags to LegacyScene enum
2025-03-05 20:45:04 +00: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
Michael Steenbeek
078ba79cb8
Introduce WF_NO_TITLE_BAR and apply to windows
2025-02-26 21:09:54 +01:00
73
c7c703515e
Rename audio.h to Audio.h ( #23842 )
2025-02-17 13:24:03 +01:00
73
b9b2c96c97
Rename sprites.h to SpriteIds.h ( #23804 )
2025-02-13 15:51:46 +00:00
Michael Steenbeek
b0c99fcb6c
Refactor more constants to kConstant notation
2025-01-22 16:16:55 +00: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
5fbe8d0ae1
Centralise external window signatures in Windows.h ( #23653 )
2025-01-19 15:50:54 +01: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