summaryrefslogtreecommitdiff
path: root/src/REL/d/t/d_t_shutter_fence_forbiddance.cpp
blob: 82f5c3953f7d0e548c0f9ba91680cf731701157a (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
32
33
#include "d/t/d_t_shutter_fence_forbiddance.h"

#include "common.h"
#include "f/f_base.h"

SPECIAL_ACTOR_PROFILE(
    TAG_SHUTTER_FENCE_FORBIDDANCE, dTgShutterFenceForbiddance_c, fProfile::TAG_SHUTTER_FENCE_FORBIDDANCE, 0x2A4, 0, 4
);

static dTgShutterFenceForbiddance_c *FIRST_PTR;

dTgShutterFenceForbiddance_c::dTgShutterFenceForbiddance_c() {
    if (!FIRST_PTR) {
        FIRST_PTR = this;
    }
}
dTgShutterFenceForbiddance_c::~dTgShutterFenceForbiddance_c() {
    if (this == FIRST_PTR) {
        FIRST_PTR = nullptr;
    }
}

int dTgShutterFenceForbiddance_c::create() {
    if (this != FIRST_PTR) {
        return FAILED;
    }
    return SUCCEEDED;
}

// TODO after finding out more about d_a_obj_door_base
int dTgShutterFenceForbiddance_c::actorExecute() {
    return SUCCEEDED;
}