2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-05-14 04:31:22 +00:00
metaforce/Runtime/World/CVisorParameters.hpp
2018-06-15 10:37:00 -10:00

25 lines
548 B
C++

#ifndef __URDE_CVISORPARAMETERS_HPP__
#define __URDE_CVISORPARAMETERS_HPP__
#include "RetroTypes.hpp"
namespace urde
{
class CVisorParameters
{
public:
u8 x0_mask : 4;
bool x0_4_b1 : 1;
bool x0_5_scanPassthrough : 1;
CVisorParameters()
: x0_mask(0xf), x0_4_b1(false), x0_5_scanPassthrough(false) {}
CVisorParameters(u8 mask, bool b1, bool scanPassthrough)
: x0_mask(mask), x0_4_b1(b1), x0_5_scanPassthrough(scanPassthrough) {}
u8 GetMask() const { return x0_mask; }
};
}
#endif // __URDE_CVISORPARAMETERS_HPP__