summaryrefslogtreecommitdiff
path: root/src/SSystem/SComponent/c_bg_s_lin_chk.cpp
blob: d9095e0bc3952ee2e9d5d94e44b5485e25a262c9 (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
//
// Generated by dtk
// Translation Unit: c_bg_s_lin_chk.cpp
//

#include "SSystem/SComponent/c_bg_s_lin_chk.h"
#include "f_pc/f_pc_manager.h"

/* 80247418-80247480       .text ct__11cBgS_LinChkFv */
void cBgS_LinChk::ct() {
    cXyz zero = cXyz::Zero;
    mLin.SetStartEnd(zero, zero);
    field_0x40 = zero;
    SetActorPid(fpcM_ERROR_PROCESS_ID_e);
    mFlag = 0;
    mFrontFlag = 1;
    mBackFlag = 0;
}

/* 80247480-80247500       .text Set2__11cBgS_LinChkFP4cXyzP4cXyzUi */
void cBgS_LinChk::Set2(cXyz* pi_start, cXyz* pi_end, fpc_ProcID pi_actor) {
    mLin.SetStartEnd(*pi_start, *pi_end);
    field_0x40 = *pi_end;
    SetActorPid(pi_actor);
    ClrHit();
    ClearPi();
}