1
0
Fork 0
mirror of https://github.com/k4zmu2a/SpaceCadetPinball.git synced 2025-12-07 04:51:00 +01:00

TBall, nudge v1, ready.

render occlude list.
This commit is contained in:
oz 2020-12-27 18:19:36 +03:00
parent 99fba56a34
commit a143b820af
30 changed files with 494 additions and 328 deletions

View file

@ -8,7 +8,7 @@
TPinballComponent::TPinballComponent(TPinballTable* table, int groupIndex, bool loadVisuals)
{
visualStruct visual{}; // [esp+Ch] [ebp-6Ch]
visualStruct visual{};
MessageField = 0;
UnknownBaseFlag1 = 0;
@ -18,7 +18,7 @@ TPinballComponent::TPinballComponent(TPinballTable* table, int groupIndex, bool
ListBitmap = nullptr;
ListZMap = nullptr;
if (table)
table->ListP1->Add(this);
table->ComponentList->Add(this);
if (groupIndex >= 0)
GroupName = loader::query_name(groupIndex);
if (loadVisuals && groupIndex >= 0)
@ -80,7 +80,7 @@ TPinballComponent::~TPinballComponent()
{
TPinballTable* table = PinballTable;
if (table)
table->ListP1->Delete(this);
table->ComponentList->Delete(this);
delete ListBitmap;
delete ListZMap;