forked from rosebudai/OpenRCT2-Web
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:
1 parent
344dd7aac9
commit
8a0a655025
183 files changed
+790
-648
No files matched your search
@@ -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 });
|
||||
|
||||
Reference in new issue
Block a user