mirror of
https://github.com/k4zmu2a/SpaceCadetPinball.git
synced 2025-12-07 04:51:00 +01:00
Table, Component v2. Strings RC.
This commit is contained in:
parent
5e94b5b513
commit
4157e79c83
9 changed files with 567 additions and 19 deletions
|
|
@ -9,8 +9,8 @@ TPinballComponent::TPinballComponent(TPinballTable* table, int groupIndex, bool
|
|||
{
|
||||
visualStruct visual{}; // [esp+Ch] [ebp-6Ch]
|
||||
|
||||
// this->VfTable = (int)&TPinballComponent::`vftable';
|
||||
this->Unknown2 = 0;
|
||||
//this->VfTable = (int)&TPinballComponent::`vftable';
|
||||
this->MessageField = 0;
|
||||
this->UnknownBaseFlag1 = 0;
|
||||
this->UnknownBaseFlag2 = 0;
|
||||
this->PinballTable = table;
|
||||
|
|
@ -79,3 +79,33 @@ TPinballComponent::TPinballComponent(TPinballTable* table, int groupIndex, bool
|
|||
}
|
||||
this->GroupIndex = groupIndex;
|
||||
}
|
||||
|
||||
|
||||
TPinballComponent::~TPinballComponent()
|
||||
{
|
||||
TPinballTable* table = PinballTable;
|
||||
if (table)
|
||||
table->ListP1->Delete(this);
|
||||
|
||||
delete List1Bitmap8;
|
||||
delete List2Bitmap16;
|
||||
}
|
||||
|
||||
|
||||
int TPinballComponent::Message(int message1, float message2)
|
||||
{
|
||||
this->MessageField = message1;
|
||||
if (message1 == 1024)
|
||||
this->MessageField = 0;
|
||||
return 0;
|
||||
}
|
||||
|
||||
void TPinballComponent::put_scoring( int score1, int score2)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
int TPinballComponent::get_scoring(int score1)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue