clean up extra decorators
This commit is contained in:
1 parent
531e638179
commit
3183e73860
95 files changed
+4629
-4631
No files matched your search
+18
-18
@@ -1,11 +1,11 @@
|
||||
#include "TWall.h"
|
||||
|
||||
//----- (01015ACE) --------------------------------------------------------
|
||||
void __stdcall TWall::TimerExpired(int a1, void *a2)
|
||||
void TWall::TimerExpired(int a1, void *a2)
|
||||
{
|
||||
render_sprite_set_bitmap(*(_DWORD **)((char *)a2 + 26), 0);
|
||||
*(_DWORD *)((char *)a2 + 78) = 0;
|
||||
*(_DWORD *)((char *)a2 + 6) = 0;
|
||||
render_sprite_set_bitmap(*(DWORD **)((char *)a2 + 26), 0);
|
||||
*(DWORD *)((char *)a2 + 78) = 0;
|
||||
*(DWORD *)((char *)a2 + 6) = 0;
|
||||
}
|
||||
|
||||
//----- (01015AF3) --------------------------------------------------------
|
||||
@@ -14,10 +14,10 @@ int __thiscall TWall::Message(TWall *this, int a2, float a3)
|
||||
TWall *v3; // esi
|
||||
|
||||
v3 = this;
|
||||
if ( a2 == 1024 && *(_DWORD *)((char *)this + 78) )
|
||||
if ( a2 == 1024 && *(DWORD *)((char *)this + 78) )
|
||||
{
|
||||
timer_kill(*(_DWORD *)((char *)this + 78));
|
||||
TWall::TimerExpired(*(_DWORD *)((char *)v3 + 78), (void *)v3);
|
||||
timer_kill(*(DWORD *)((char *)this + 78));
|
||||
TWall::TimerExpired(*(DWORD *)((char *)v3 + 78), (void *)v3);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
@@ -30,7 +30,7 @@ int result; // eax
|
||||
if ( a2 >= 1 )
|
||||
result = 0;
|
||||
else
|
||||
result = *(_DWORD *)((char *)this + 4 * a2 + 86);
|
||||
result = *(DWORD *)((char *)this + 4 * a2 + 86);
|
||||
return result;
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@ return result;
|
||||
void __thiscall TWall::put_scoring(TWall *this, int a2, int a3)
|
||||
{
|
||||
if ( a2 < 1 )
|
||||
*(_DWORD *)((char *)this + 4 * a2 + 86) = a3;
|
||||
*(DWORD *)((char *)this + 4 * a2 + 86) = a3;
|
||||
}
|
||||
|
||||
//----- (01017FDE) --------------------------------------------------------
|
||||
@@ -49,10 +49,10 @@ TWall *v6; // esi
|
||||
v6 = this;
|
||||
if ( TCollisionComponent::DefaultCollision(this, a2, a3, a4) )
|
||||
{
|
||||
if ( *(_DWORD *)((char *)v6 + 82) )
|
||||
if ( *(DWORD *)((char *)v6 + 82) )
|
||||
{
|
||||
render_sprite_set_bitmap(*(_DWORD **)((char *)v6 + 26), *(_DWORD *)((char *)v6 + 82));
|
||||
*(_DWORD *)((char *)v6 + 78) = timer_set(0.1, (int)v6, (int)TWall::TimerExpired);
|
||||
render_sprite_set_bitmap(*(DWORD **)((char *)v6 + 26), *(DWORD *)((char *)v6 + 82));
|
||||
*(DWORD *)((char *)v6 + 78) = timer_set(0.1, (int)v6, (int)TWall::TimerExpired);
|
||||
}
|
||||
control_handler(63, v6);
|
||||
}
|
||||
@@ -62,19 +62,19 @@ control_handler(63, v6);
|
||||
TWall *__thiscall TWall::TWall(TWall *this, struct TPinballTable *a2, int a3)
|
||||
{
|
||||
TWall *v3; // esi
|
||||
_DWORD *v4; // eax
|
||||
DWORD *v4; // eax
|
||||
int v5; // eax
|
||||
|
||||
v3 = this;
|
||||
TCollisionComponent::TCollisionComponent(this, a2, a3, 1);
|
||||
v4 = *(_DWORD **)((char *)v3 + 26);
|
||||
*(_DWORD *)v3 = &TWall::vftable;
|
||||
v4 = *(DWORD **)((char *)v3 + 26);
|
||||
*(DWORD *)v3 = &TWall::vftable;
|
||||
if ( v4 )
|
||||
render_sprite_set_bitmap(v4, 0);
|
||||
v5 = *(_DWORD *)((char *)v3 + 34);
|
||||
v5 = *(DWORD *)((char *)v3 + 34);
|
||||
if ( v5 )
|
||||
*(_DWORD *)((char *)v3 + 82) = *(_DWORD *)(*(_DWORD *)(v5 + 4) + 8);
|
||||
*(_DWORD *)((char *)v3 + 78) = 0;
|
||||
*(DWORD *)((char *)v3 + 82) = *(DWORD *)(*(DWORD *)(v5 + 4) + 8);
|
||||
*(DWORD *)((char *)v3 + 78) = 0;
|
||||
return v3;
|
||||
}
|
||||
// 1002508: using guessed type void *TWall::vftable;
|
||||
|
||||
Reference in new issue
Block a user