metaforce/Runtime/World/CVisorParameters.hpp

23 lines
445 B
C++
Raw Normal View History

2018-10-07 03:42:33 +00:00
#pragma once
2016-04-18 01:58:13 +00:00
#include "RetroTypes.hpp"
namespace urde
{
class CVisorParameters
{
2016-04-22 20:22:45 +00:00
public:
2017-11-24 08:23:28 +00:00
u8 x0_mask : 4;
2016-04-18 05:33:23 +00:00
bool x0_4_b1 : 1;
bool x0_5_scanPassthrough : 1;
2016-04-18 01:58:13 +00:00
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) {}
2017-11-24 08:23:28 +00:00
u8 GetMask() const { return x0_mask; }
2016-04-18 01:58:13 +00:00
};
}