mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 19:07:44 +00:00
New code style refactor
This commit is contained in:
@@ -2,21 +2,17 @@
|
||||
|
||||
#include "RetroTypes.hpp"
|
||||
|
||||
namespace urde
|
||||
{
|
||||
namespace urde {
|
||||
|
||||
class CVisorParameters
|
||||
{
|
||||
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; }
|
||||
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; }
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
} // namespace urde
|
||||
|
||||
Reference in New Issue
Block a user