spidey-decomp/bullet.cpp
2024-05-21 20:43:12 +02:00

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);
}