mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-16 00:57:02 +00:00
CDrone: Make use of in-class initializers for bitfields
Eliminates some code.
This commit is contained in:
@@ -80,19 +80,19 @@ class CDrone : public CPatterned {
|
||||
rstl::reserved_vector<float, 2> x818_ = {{0.f, 0.f}};
|
||||
rstl::reserved_vector<bool, 2> x824_ = {{false, false}};
|
||||
std::unique_ptr<CModelData> x82c_shieldModel;
|
||||
u8 x832_a : 3;
|
||||
u8 x832_b : 3;
|
||||
bool x834_24_ : 1;
|
||||
bool x834_25_ : 1;
|
||||
bool x834_26_ : 1;
|
||||
bool x834_27_ : 1;
|
||||
bool x834_28_ : 1;
|
||||
bool x834_29_codeTrigger : 1;
|
||||
bool x834_30_visible : 1;
|
||||
bool x834_31_ : 1;
|
||||
bool x835_24_ : 1;
|
||||
u8 x832_a : 3 = 0;
|
||||
u8 x832_b : 3 = 0;
|
||||
bool x834_24_ : 1 = false;
|
||||
bool x834_25_ : 1 = false;
|
||||
bool x834_26_ : 1 = false;
|
||||
bool x834_27_ : 1 = false;
|
||||
bool x834_28_ : 1 = false;
|
||||
bool x834_29_codeTrigger : 1 = false;
|
||||
bool x834_30_visible : 1 = false;
|
||||
bool x834_31_ : 1 = false;
|
||||
bool x835_24_ : 1 = false;
|
||||
bool x835_25_ : 1;
|
||||
bool x835_26_ : 1;
|
||||
bool x835_26_ : 1 = false;
|
||||
|
||||
void UpdateTouchBounds(float radius);
|
||||
bool HitShield(const zeus::CVector3f& dir) const;
|
||||
|
||||
Reference in New Issue
Block a user