mirror of
https://github.com/zeldaret/tww.git
synced 2026-08-22 06:20:02 -04:00
More Matches
- Match a few more functions - Offset comments
This commit is contained in:
@@ -18,7 +18,8 @@ public:
|
||||
|
||||
f32 GetNowY() const { return mNowY; }
|
||||
void SetNowY(f32 y) { mNowY = y; }
|
||||
cXyz& GetPointP() { return m_pos; }
|
||||
cXyz* GetPointP() { return &m_pos; }
|
||||
void SetPos(cXyz* pos) { m_pos.set(*pos); }
|
||||
u32 GetWallPrecheck() const { return mWallPrecheck; }
|
||||
void OffWall() { mFlags &= ~2; }
|
||||
|
||||
|
||||
@@ -37,12 +37,12 @@ void cLib_offsetPos(cXyz* pDest, cXyz* pSrc, s16 angle, cXyz* vec);
|
||||
s32 cLib_distanceAngleS(s16 x, s16 y);
|
||||
|
||||
template <typename T>
|
||||
inline void cLib_offBit(T& value, u8 bit) {
|
||||
inline void cLib_offBit(T& value, T bit) {
|
||||
value &= ~bit;
|
||||
}
|
||||
|
||||
template <typename T>
|
||||
inline void cLib_onBit(T& value, u8 bit) {
|
||||
inline void cLib_onBit(T& value, T bit) {
|
||||
value |= bit;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user