summaryrefslogtreecommitdiff
path: root/include/d/col/c/c_bg_s_gnd_chk.h
blob: ff09c9f6fe088d46bd6ac8d5ff09f7cc8fdcc6df (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
34
35
36
37
38
39
40
41
#ifndef C_BG_S_GND_CHK_H
#define C_BG_S_GND_CHK_H

#include "d/col/c/c_bg_s_chk.h"
#include "d/col/c/c_bg_s_poly_info.h"
#include "m/m_vec.h"

class cBgS_GndChk : public cBgS_Chk, public cBgS_PolyInfo {
public:
    /* 0x54 */ mVec3_c mPos;
    /* 0x60 */ f32 mNowY;
    /* 0x64 */ u8 unk0x64[0x68 - 0x64];
    /* 0x68 */ mVec3_c field_0x68;
    /* 0x74 */ u8 field_0x74;

    cBgS_GndChk();
    virtual ~cBgS_GndChk();
    void SetPos(mVec3_c const &);
    void SetPos(mVec3_c const *);

    f32 GetNowY() const {
        return mNowY;
    }
    void SetNowY(f32 y) {
        mNowY = y;
    }
    const mVec3_c &GetPointP() {
        return mPos;
    }
    void SetField_0x68(const mVec3_c &other) {
        field_0x68 = other;
    }
    // u32 GetWallPrecheck() const {
    //     return mWallPrecheck;
    // }
    // void OffWall() {
    //     mFlags &= ~2;
    // }
};

#endif