summaryrefslogtreecommitdiff
path: root/include/SSystem/SComponent/c_bg_s_gnd_chk.h
blob: 11028c500dab4d56efe0e357375e1b1683eb17d7 (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
#ifndef C_BG_S_GND_CHK_H
#define C_BG_S_GND_CHK_H

#include "SSystem/SComponent/c_bg_s_chk.h"
#include "SSystem/SComponent/c_bg_s_poly_info.h"
#include "SSystem/SComponent/c_xyz.h"

class cBgS_GndChk : public cBgS_Chk, public cBgS_PolyInfo {
public:
    cBgS_GndChk();
    void SetPos(cXyz const*);
    void SetPos(Vec const*);
    void PreCheck();

    virtual ~cBgS_GndChk();

    f32 GetNowY() const { return mNowY; }
    void SetNowY(f32 y) { mNowY = y; }
    const cXyz& GetPointP() const { return m_pos; }
    u32 GetWallPrecheck() const { return mWallPrecheck; }
    void OffWall() { mFlags &= ~2; }

    /* 0x24 */ cXyz m_pos;
    /* 0x30 */ u32 mFlags;
    /* 0x34 */ f32 mNowY;
    /* 0x38 */ u32 mWallPrecheck;
}; // size 0x3C

#endif /* C_BG_S_GND_CHK_H */