blob: bc9b2aa6b56534d4e98279a51084d5934907bb2b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
#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, mPosition, mRotation.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 checkAreaBox(matrix, dAcPy_c::LINK->mPosition);
}
|