mirror of
https://github.com/krystalgamer/spidey-decomp.git
synced 2024-11-23 05:19:43 +00:00
CBlackCat::KillAllCommandBlocks
This commit is contained in:
parent
152938f7d2
commit
edeb93e68e
11
blackcat.cpp
11
blackcat.cpp
@ -54,6 +54,17 @@ void CBlackCat::Shouldnt_DoPhysics_Be_Virtual(void)
|
||||
void CBlackCat::DoPhysics(void)
|
||||
{}
|
||||
|
||||
// @TODO
|
||||
int* CBlackCat::KillCommandBlock(int*)
|
||||
{
|
||||
return (int*)0x01062024;
|
||||
}
|
||||
|
||||
void CBlackCat::KillAllCommandBlocks(void)
|
||||
{
|
||||
for (int* cur = reinterpret_cast<int*>(this->field_350); cur; cur = this->KillCommandBlock(cur));
|
||||
}
|
||||
|
||||
void validate_CBlackCat(void){
|
||||
VALIDATE_SIZE(CBlackCat, 0x354);
|
||||
|
||||
|
@ -9,6 +9,8 @@ public:
|
||||
EXPORT CBlackCat(int*, int);
|
||||
EXPORT void Shouldnt_DoPhysics_Be_Virtual(void);
|
||||
EXPORT void DoPhysics(void);
|
||||
EXPORT void KillAllCommandBlocks(void);
|
||||
EXPORT int* KillCommandBlock(int*);
|
||||
|
||||
int field_324;
|
||||
int field_328;
|
||||
|
Loading…
Reference in New Issue
Block a user