Factor out pinball.h to class structure
This commit is contained in:
1 parent
502debbe6c
commit
e1075d2bc5
78 files changed
+582
-1324
No files matched your search
@@ -14,7 +14,7 @@ v3 = this;
|
||||
TPinballComponent::TPinballComponent(this, a2, a3, 1);
|
||||
v4 = a3 == 0;
|
||||
v5 = a3 < 0;
|
||||
*(_DWORD *)v3 = &TTextBox::`vftable';
|
||||
*(_DWORD *)v3 = &TTextBox::`vftable`;
|
||||
*(_DWORD *)((char *)v3 + 42) = 0;
|
||||
*(_DWORD *)((char *)v3 + 46) = 0;
|
||||
*(_DWORD *)((char *)v3 + 50) = 0;
|
||||
@@ -38,7 +38,7 @@ v8 = *v6;
|
||||
}
|
||||
return v3;
|
||||
}
|
||||
// 10023B4: using guessed type void *TTextBox::`vftable';
|
||||
// 10023B4: using guessed type void *TTextBox::`vftable`;
|
||||
// 10253C4: using guessed type struct score_msg_font_type *score_msg_fontp;
|
||||
|
||||
//----- (01014143) --------------------------------------------------------
|
||||
@@ -124,7 +124,7 @@ int v4; // edi
|
||||
|
||||
v1 = this;
|
||||
v2 = *(_DWORD *)((char *)this + 58);
|
||||
*(_DWORD *)this = &TTextBox::`vftable';
|
||||
*(_DWORD *)this = &TTextBox::`vftable`;
|
||||
if ( v2 )
|
||||
{
|
||||
if ( v2 != -1 )
|
||||
@@ -145,7 +145,7 @@ while ( v4 );
|
||||
}
|
||||
return TPinballComponent::~TPinballComponent(v1);
|
||||
}
|
||||
// 10023B4: using guessed type void *TTextBox::`vftable';
|
||||
// 10023B4: using guessed type void *TTextBox::`vftable`;
|
||||
|
||||
//----- (01014269) --------------------------------------------------------
|
||||
void __usercall TTextBox::Draw(TTextBox *this@<ecx>, int a2@<ebx>)
|
||||
|
||||
@@ -7,4 +7,18 @@
|
||||
|
||||
#include "../../pinball.h"
|
||||
|
||||
/* 119 */
|
||||
struct TTextBox;
|
||||
|
||||
TTextBox* __thiscall TTextBox::TTextBox(TTextBox* this, struct TPinballTable* a2, int a3);
|
||||
// void __usercall TTextBox::Clear(TTextBox *this@<ecx>, int a2@<ebx>);
|
||||
// void __userpurge TTextBox::TimerExpired(int a1@<ebx>, int a2, TTextBox *a3);
|
||||
TZmapList* __thiscall TTextBox::~TTextBox(TTextBox* this);
|
||||
// void __usercall TTextBox::Draw(TTextBox *this@<ecx>, int a2@<ebx>);
|
||||
// void __userpurge TTextBox::Display(TTextBox *this@<ecx>, int a2@<ebx>, char *a3, float a4);
|
||||
TTextBox* __thiscall TTextBox::`scalar deleting destructor`(TTextBox *this, char a2);
|
||||
int __stdcall TTextBox::Message(int a2, float a3);
|
||||
|
||||
void* TTextBox::`vftable` = &TTextBox::Message; // weak
|
||||
|
||||
#endif //PINBALL_TTEXTBOX_H
|
||||
Reference in new issue
Block a user