metaforce/Runtime/World/CVisorParameters.hpp

19 lines
430 B
C++
Raw Permalink Normal View History

2018-10-06 20:42:33 -07:00
#pragma once
2016-04-17 18:58:13 -07:00
#include "Runtime/GCNTypes.hpp"
2016-04-17 18:58:13 -07:00
2021-04-10 01:42:06 -07:00
namespace metaforce {
2016-04-17 18:58:13 -07:00
2018-12-07 21:30:43 -08:00
class CVisorParameters {
2016-04-22 13:22:45 -07:00
public:
u8 x0_mask : 4 = 0xf;
bool x0_4_b1 : 1 = false;
bool x0_5_scanPassthrough : 1 = false;
CVisorParameters() = default;
2018-12-07 21:30:43 -08:00
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-17 18:58:13 -07:00
};
2021-04-10 01:42:06 -07:00
} // namespace metaforce