mirror of
https://github.com/zeldaret/ss
synced 2026-06-23 08:59:51 -04:00
26af4db82d
* update from dtk-template and start work towards using clangd * include <a> -> "a" * Update build.yml * remove/add non-trivial class in union warning
39 lines
868 B
C++
39 lines
868 B
C++
#include "d/t/d_t_noeffect_area.h"
|
|
|
|
SPECIAL_ACTOR_PROFILE(TAG_NOEFFECT_AREA, dTgNoEffectArea_c, fProfile::TAG_NOEFFECT_AREA, 0x0158, 0, 0);
|
|
|
|
fLiMgBa_c dTgNoEffectArea_c::sList;
|
|
|
|
const f32 dTgNoEffectArea_c::sFloat1 = 100.0f;
|
|
const f32 dTgNoEffectArea_c::sFloat2 = 100.0f;
|
|
|
|
int dTgNoEffectArea_c::create() {
|
|
mScale *= 0.01f;
|
|
PSMTXTrans(mMtx, position.x, position.y, position.z);
|
|
mMtx.YrotM(rotation.y);
|
|
PSMTXInverse(mMtx, mMtx);
|
|
addToList(sList);
|
|
return SUCCEEDED;
|
|
}
|
|
|
|
int dTgNoEffectArea_c::doDelete() {
|
|
sList.remove(&this->mEntry);
|
|
return SUCCEEDED;
|
|
}
|
|
|
|
int dTgNoEffectArea_c::actorExecute() {
|
|
return SUCCEEDED;
|
|
}
|
|
|
|
int dTgNoEffectArea_c::draw() {
|
|
return SUCCEEDED;
|
|
}
|
|
|
|
void dTgNoEffectArea_c::addToList(fLiMgBa_c &list) {
|
|
list.append(&this->mEntry);
|
|
}
|
|
|
|
fLiNdBa_c *dTgNoEffectArea_c::getList() {
|
|
return sList.getFirst();
|
|
}
|