mirror of
https://github.com/krystalgamer/spidey-decomp.git
synced 2024-11-23 13:29:48 +00:00
42 lines
743 B
C++
42 lines
743 B
C++
#include "bullet.h"
|
|
#include "validate.h"
|
|
|
|
|
|
static int * const dword_56EFE8 = (int*)0x56EFE8;
|
|
|
|
// @NotOk
|
|
// Global
|
|
CBullet::CBullet(void)
|
|
{
|
|
this->field_114 = 0;
|
|
this->field_118 = 0;
|
|
this->field_11C = 0;
|
|
|
|
this->field_130 = 0;
|
|
this->field_134 = 0;
|
|
this->field_138 = 0;
|
|
|
|
this->InitItem("items");
|
|
++*dword_56EFE8;
|
|
|
|
this->field_28 = 2048;
|
|
this->field_2A = 2048;
|
|
this->field_2C = 2048;
|
|
|
|
this->mFlags |= 0x200;
|
|
this->mCBodyFlags &= 0xFFFD;
|
|
}
|
|
|
|
void validate_CBullet(void)
|
|
{
|
|
VALIDATE_SIZE(CBullet, 0x13C);
|
|
|
|
VALIDATE(CBullet, field_114, 0x114);
|
|
VALIDATE(CBullet, field_118, 0x118);
|
|
VALIDATE(CBullet, field_11C, 0x11C);
|
|
|
|
VALIDATE(CBullet, field_130, 0x130);
|
|
VALIDATE(CBullet, field_134, 0x134);
|
|
VALIDATE(CBullet, field_138, 0x138);
|
|
}
|