render v2, ready

This commit is contained in:
oz committed 2020-11-15 17:39:00 +03:00
1 parent 79bb0adab8
commit a4c64cc4c8
14 files changed
+630 -117

No files matched your search

+1 -1
View File
@@ -47,7 +47,7 @@ TPinballComponent::TPinballComponent(TPinballTable* table, int groupIndex, bool
zMap = static_cast<zmap_header_type*>(ListZMap->Get(0));
if (ListBitmap)
{
visual_rect bmp1Rect{}, tmpRect{};
rectangle_type bmp1Rect{}, tmpRect{};
auto rootBmp = static_cast<gdrv_bitmap8*>(ListBitmap->Get(0));
bmp1Rect.XPosition = rootBmp->XPosition - table->XOffset;
bmp1Rect.YPosition = rootBmp->YPosition - table->YOffset;