metaforce/Runtime/World/CVisorParameters.hpp

19 lines
450 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 "Runtime/GCNTypes.hpp"
2016-04-18 01:58:13 +00:00
2018-12-08 05:30:43 +00:00
namespace urde {
2016-04-18 01:58:13 +00:00
2018-12-08 05:30:43 +00:00
class CVisorParameters {
2016-04-22 20:22:45 +00:00
public:
2018-12-08 05:30:43 +00:00
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; }
2016-04-18 01:58:13 +00:00
};
2018-12-08 05:30:43 +00:00
} // namespace urde