d_t_tdb OK (#67)

This commit is contained in:
CovenEsme
2024-10-16 22:04:00 +00:00
committed by GitHub
parent b8a31a642a
commit 1eaa124714
5 changed files with 48 additions and 12 deletions
+27
View File
@@ -1,3 +1,30 @@
#include "d/t/d_t_time_door_beam.h"
#include "d/a/d_a_player.h"
#include "toBeSorted/area_math.h"
SPECIAL_ACTOR_PROFILE(TAG_TIME_DOOR_BEAM, dTgTimeDoorBeam_c, fProfile::TAG_TIME_DOOR_BEAM, 0x252, 0, 0);
int dTgTimeDoorBeam_c::create() {
matrixCreateFromPosRotYScale(matrix, position, rotation.y, mScale, nullptr, 0.0f);
return SUCCEEDED;
}
int dTgTimeDoorBeam_c::doDelete() {
return SUCCEEDED;
}
int dTgTimeDoorBeam_c::actorExecute() {
return SUCCEEDED;
}
int dTgTimeDoorBeam_c::draw() {
return SUCCEEDED;
}
bool dTgTimeDoorBeam_c::checkPlayerPosInMtx() {
if (dAcPy_c::LINK == nullptr) {
return false;
}
return checkIfVec3fInMatrix(matrix, dAcPy_c::LINK->position);
}