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
This commit is contained in:
Aaron van Geffen authored and GitHub committed 2025-12-26 12:58:33 +01:00
1 parent 344dd7aac9
commit 8a0a655025
183 files changed
+790 -648

No files matched your search

+1 -1
View File
@@ -70,7 +70,7 @@ namespace OpenRCT2
_legacyType.image = 0;
}
void FootpathObject::DrawPreview(RenderTarget& rt, int32_t width, int32_t height) const
void FootpathObject::DrawPreview(Drawing::RenderTarget& rt, int32_t width, int32_t height) const
{
auto screenCoords = ScreenCoordsXY{ width / 2, height / 2 };
GfxDrawSprite(rt, ImageId(_pathSurfaceDescriptor.PreviewImage), screenCoords - ScreenCoordsXY{ 49, 17 });