mirror of
https://github.com/zeldaret/ss
synced 2026-07-30 16:03:22 -04:00
d_t_tdb OK (#67)
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user