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:
parent
99fba56a34
commit
a143b820af
30 changed files with 494 additions and 328 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue