Files
dusklight/src/SSystem/SComponent/c_bg_s_gnd_chk.cpp
T
TakaRikka dfa8efa97b project cleanup (#2895)
* some wii OS fixes

* remove old dol2asm comments

* remove dol2asm.h

* remove function address comments

* normalize ATTRIBUTE_ALIGN usage

* DECL_WEAK macro

* fix gcc attribute weak macro

* wrap more mwcc specific things in ifdefs

* fixes

* fix revo sdk version flags

* fixes
2025-11-30 15:23:42 -07:00

28 lines
453 B
C++

/**
* c_bg_s_gnd_chk.cpp
*
*/
#include "SSystem/SComponent/c_bg_s_gnd_chk.h"
#include "f_pc/f_pc_manager.h"
cBgS_GndChk::cBgS_GndChk() {
m_pos = cXyz::Zero;
SetActorPid(fpcM_ERROR_PROCESS_ID_e);
mFlags = 2;
}
cBgS_GndChk::~cBgS_GndChk() {}
void cBgS_GndChk::SetPos(Vec const* pos) {
m_pos = *pos;
}
void cBgS_GndChk::SetPos(cXyz const* pos) {
m_pos = *pos;
}
void cBgS_GndChk::PreCheck() {
mWallPrecheck = mFlags & 2;
}