diff options
| author | CovenEsme <84377742+CovenEsme@users.noreply.github.com> | 2024-10-16 22:04:00 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-10-16 18:04:00 -0400 |
| commit | 1eaa124714e6328dc7e96841e2888e2b28093586 (patch) | |
| tree | 2cad86e4a6ffb4d4c8cb4b360216ba59e6bef009 /src | |
| parent | b8a31a642a82ee6e4e4d10812caabf3aa5d289ec (diff) | |
d_t_tdb OK (#67)
Diffstat (limited to 'src')
| -rw-r--r-- | src/REL/d/t/d_t_time_door_beam.cpp | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/src/REL/d/t/d_t_time_door_beam.cpp b/src/REL/d/t/d_t_time_door_beam.cpp index fa249fc8..be66b90c 100644 --- a/src/REL/d/t/d_t_time_door_beam.cpp +++ b/src/REL/d/t/d_t_time_door_beam.cpp @@ -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); +} |
