render v2, ready

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

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;