Files
tp/src/d/d_bg_s_roof_chk.cpp
T
LagoLunatic 9eea9289b1 Fix JUT_ASSERT and several other macros (#2711)
* Fix JUT_ASSERT to be a nested define

* Switch names that appear in asserts to be constants instead of defines

* Replace `0` in asserts with `NULL` or `FALSE`

* Fix fpclassify

* Fix ARRAY_SIZE

* Use G_CM3D_F_INF

* More fixes for fpclassify

* Remove FLOAT_LABEL

* Remove incorrect FLAG_ON macro

* Remove UNK_BSS macro

* Silence clangd unused header warning for PCH
2025-09-28 13:11:07 -07:00

29 lines
743 B
C++

/**
* d_bg_s_roof_chk.cpp
* BG Collision Roof Check
*/
#include "d/dolzel.h" // IWYU pragma: keep
#include "d/d_bg_s_roof_chk.h"
/* 80078FF4-80079090 073934 009C+00 0/0 10/10 1/1 .text __ct__12dBgS_RoofChkFv */
dBgS_RoofChk::dBgS_RoofChk() {
SetPolyPassChk(GetPolyPassChkInfo());
SetGrpPassChk(GetGrpPassChkInfo());
m_pos.x = 0.0f;
m_pos.y = 0.0f;
m_pos.z = 0.0f;
SetActorPid(0xFFFFFFFF);
field_0x48 = 0;
}
/* 80079090-80079124 0739D0 0094+00 4/3 11/11 1/1 .text __dt__12dBgS_RoofChkFv */
dBgS_RoofChk::~dBgS_RoofChk() {}
/* 80079124-8007914C 073A64 0028+00 0/0 1/1 0/0 .text Init__12dBgS_RoofChkFv */
void dBgS_RoofChk::Init() {
SetNowY(G_CM3D_F_INF);
ClearPi();
}