mirror of
https://github.com/krystalgamer/spidey-decomp.git
synced 2025-02-26 07:45:37 +00:00
Shouldnt_DoPhysics_Be_Virtual for blackcat, carnage, platform, spclone, torch and venom
This commit is contained in:
parent
6c2c2116fe
commit
d928c40dd7
11
blackcat.cpp
11
blackcat.cpp
@ -43,6 +43,17 @@ void BlackCat_CreateBlackCat(const unsigned int *stack, unsigned int *result)
|
||||
*result = reinterpret_cast<unsigned int>(new CBlackCat(v2, v3));
|
||||
}
|
||||
|
||||
|
||||
// @Ok
|
||||
void CBlackCat::Shouldnt_DoPhysics_Be_Virtual(void)
|
||||
{
|
||||
this->DoPhysics();
|
||||
}
|
||||
|
||||
// @TODO
|
||||
void CBlackCat::DoPhysics(void)
|
||||
{}
|
||||
|
||||
void validate_CBlackCat(void){
|
||||
VALIDATE_SIZE(CBlackCat, 0x354);
|
||||
|
||||
|
@ -7,6 +7,9 @@ class CBlackCat : public CBaddy {
|
||||
public:
|
||||
|
||||
EXPORT CBlackCat(int*, int);
|
||||
EXPORT void Shouldnt_DoPhysics_Be_Virtual(void);
|
||||
EXPORT void DoPhysics(void);
|
||||
|
||||
int field_324;
|
||||
int field_328;
|
||||
int field_32C;
|
||||
|
10
carnage.cpp
10
carnage.cpp
@ -76,6 +76,16 @@ void CSonicBubble::SetScale(int scale)
|
||||
this->mFlags |= 0x200;
|
||||
}
|
||||
|
||||
// @Ok
|
||||
void CCarnage::Shouldnt_DoPhysics_Be_Virtual(void)
|
||||
{
|
||||
this->DoPhysics();
|
||||
}
|
||||
|
||||
// @TODO
|
||||
void CCarnage::DoPhysics(void)
|
||||
{}
|
||||
|
||||
void validate_CCarnage(void){
|
||||
VALIDATE_SIZE(CCarnage, 0x37C);
|
||||
|
||||
|
@ -9,6 +9,8 @@
|
||||
class CCarnage : public CBaddy {
|
||||
public:
|
||||
EXPORT CCarnage(int*, int);
|
||||
EXPORT void Shouldnt_DoPhysics_Be_Virtual(void);
|
||||
EXPORT void DoPhysics(void);
|
||||
|
||||
unsigned char carnageStartPad[0x10];
|
||||
|
||||
|
10
platform.cpp
10
platform.cpp
@ -1,6 +1,16 @@
|
||||
#include "platform.h"
|
||||
#include "validate.h"
|
||||
|
||||
// @Ok
|
||||
void CPlatform::Shouldnt_DoPhysics_Be_Virtual(void)
|
||||
{
|
||||
this->DoPhysics();
|
||||
}
|
||||
|
||||
// @TODO
|
||||
void CPlatform::DoPhysics(void)
|
||||
{}
|
||||
|
||||
void validate_CPlatform(void){
|
||||
VALIDATE_SIZE(CPlatform, 0x35C);
|
||||
}
|
||||
|
@ -5,7 +5,10 @@
|
||||
|
||||
class CPlatform : public CBaddy {
|
||||
public:
|
||||
EXPORT void Shouldnt_DoPhysics_Be_Virtual(void);
|
||||
EXPORT void DoPhysics(void);
|
||||
|
||||
unsigned char platPat[0x38];
|
||||
};
|
||||
|
||||
void validate_CPlatform(void);
|
||||
void validate_CPlatform(void);
|
||||
|
10
spclone.cpp
10
spclone.cpp
@ -2,6 +2,16 @@
|
||||
#include "validate.h"
|
||||
|
||||
|
||||
// @Ok
|
||||
void CSpClone::Shouldnt_DoPhysics_Be_Virtual(void)
|
||||
{
|
||||
this->DoPhysics();
|
||||
}
|
||||
|
||||
// @TODO
|
||||
void CSpClone::DoPhysics(void)
|
||||
{}
|
||||
|
||||
void validate_CSpClone(void){
|
||||
VALIDATE_SIZE(CSpClone, 0x350);
|
||||
|
||||
|
@ -6,6 +6,8 @@
|
||||
|
||||
class CSpClone : public CBaddy {
|
||||
public:
|
||||
EXPORT void Shouldnt_DoPhysics_Be_Virtual(void);
|
||||
EXPORT void DoPhysics(void);
|
||||
|
||||
int padTop;
|
||||
|
||||
|
@ -50,6 +50,15 @@ void SuperDocOck_CreateSuperDocOck(const unsigned int *stack, unsigned int *resu
|
||||
*result = reinterpret_cast<unsigned int>(new CSuperDocOck(v2, v3));
|
||||
}
|
||||
|
||||
// @Ok
|
||||
void CSuperDocOck::Shouldnt_DoPhysics_Be_Virtual(void)
|
||||
{
|
||||
this->DoPhysics();
|
||||
}
|
||||
|
||||
// @TODO
|
||||
void CSuperDocOck::DoPhysics(void)
|
||||
{}
|
||||
|
||||
void validate_CSuperDocOck(void){
|
||||
VALIDATE_SIZE(CSuperDocOck, 0x414);
|
||||
|
@ -11,6 +11,8 @@ class CSuperDocOck : public CBaddy {
|
||||
|
||||
public:
|
||||
EXPORT CSuperDocOck(int*, int);
|
||||
EXPORT void Shouldnt_DoPhysics_Be_Virtual(void);
|
||||
EXPORT void DoPhysics(void);
|
||||
unsigned char padTop[0x32C-0x324];
|
||||
|
||||
int field_32C;
|
||||
|
10
torch.cpp
10
torch.cpp
@ -40,6 +40,16 @@ void Torch_CreateTorch(const unsigned int *stack, unsigned int *result)
|
||||
*result = reinterpret_cast<unsigned int>(new CTorch(v2, v3));
|
||||
}
|
||||
|
||||
// @Ok
|
||||
void CTorch::Shouldnt_DoPhysics_Be_Virtual(void)
|
||||
{
|
||||
this->DoPhysics();
|
||||
}
|
||||
|
||||
// @TODO
|
||||
void CTorch::DoPhysics(void)
|
||||
{}
|
||||
|
||||
void validate_CTorch(void){
|
||||
VALIDATE_SIZE(CTorch, 0x354);
|
||||
|
||||
|
2
torch.h
2
torch.h
@ -11,6 +11,8 @@ class CTorch : public CBaddy {
|
||||
public:
|
||||
|
||||
EXPORT CTorch(int* a2, int a3);
|
||||
EXPORT void Shouldnt_DoPhysics_Be_Virtual(void);
|
||||
EXPORT void DoPhysics(void);
|
||||
|
||||
int field_324;
|
||||
int field_328;
|
||||
|
10
venom.cpp
10
venom.cpp
@ -45,6 +45,16 @@ void Venom_CreateVenom(const unsigned int *stack, unsigned int *result)
|
||||
*result = reinterpret_cast<unsigned int>(new CVenom(v2, v3));
|
||||
}
|
||||
|
||||
// @Ok
|
||||
void CVenom::Shouldnt_DoPhysics_Be_Virtual(void)
|
||||
{
|
||||
this->DoPhysics();
|
||||
}
|
||||
|
||||
// @TODO
|
||||
void CVenom::DoPhysics(void)
|
||||
{}
|
||||
|
||||
void validate_CVenom(void){
|
||||
VALIDATE_SIZE(CVenom, 0x468);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user