2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 09:07:43 +00:00

Lots of CParasite implementations

This commit is contained in:
Jack Andersen
2018-11-11 18:21:36 -10:00
parent 94333e4726
commit bf3636a16e
24 changed files with 1093 additions and 144 deletions

View File

@@ -51,14 +51,14 @@ class CAiState
{
friend class CStateMachineState;
CAiStateFunc x0_func;
char xc_name[32];
char xc_name[32] = {};
u32 x2c_numTriggers;
CAiTrigger* x30_firstTrigger;
public:
CAiState(CAiStateFunc func, const char* name)
{
x0_func = func;
strncpy(xc_name, name, 32);
strncpy(xc_name, name, 31);
}
s32 GetNumTriggers() const { return x2c_numTriggers; }
@@ -97,7 +97,7 @@ class CStateMachineState
{
struct
{
bool x18_24_ : 1;
bool x18_24_codeTrigger : 1;
};
u32 dummy = 0;
};