mirror of
https://github.com/zeldaret/tww.git
synced 2026-05-23 06:54:16 -04:00
45 lines
1.4 KiB
C
45 lines
1.4 KiB
C
|
|
#ifndef F_PC_BASE_H_
|
|
#define F_PC_BASE_H_
|
|
|
|
#include "f_pc/f_pc_delete_tag.h"
|
|
#include "f_pc/f_pc_layer_tag.h"
|
|
#include "f_pc/f_pc_line_tag.h"
|
|
#include "f_pc/f_pc_priority.h"
|
|
#include "f_pc/f_pc_profile.h"
|
|
|
|
typedef unsigned int fpc_ProcID;
|
|
|
|
typedef struct base_process_class {
|
|
/* 0x00 */ int mBsType;
|
|
/* 0x04 */ fpc_ProcID mBsPcId;
|
|
/* 0x08 */ s16 mProcName;
|
|
/* 0x0A */ s8 mUnk0;
|
|
/* 0x0B */ u8 mPauseFlag;
|
|
/* 0x0C */ s8 mInitState;
|
|
/* 0x0D */ s8 mCreateResult;
|
|
/* 0x0E */ s16 mProfName;
|
|
/* 0x10 */ process_profile_definition* mpProf;
|
|
/* 0x14 */ struct create_request* mpCtRq;
|
|
/* 0x18 */ layer_management_tag_class mLyTg;
|
|
/* 0x34 */ line_tag mLnTg;
|
|
/* 0x4C */ delete_tag_class mDtTg;
|
|
/* 0x68 */ process_priority_class mPi;
|
|
/* 0xA8 */ process_method_class* mpPcMtd;
|
|
/* 0xAC */ void* mpUserData;
|
|
/* 0xB0 */ u32 mParameters;
|
|
/* 0xB4 */ int mSubType;
|
|
} base_process_class; // Size: 0xB8
|
|
|
|
BOOL fpcBs_Is_JustOfType(int pType1, int pType2);
|
|
int fpcBs_MakeOfType(int* pType);
|
|
fpc_ProcID fpcBs_MakeOfId(void);
|
|
BOOL fpcBs_Execute(base_process_class* pProc);
|
|
void fpcBs_DeleteAppend(base_process_class* pProc);
|
|
BOOL fpcBs_IsDelete(base_process_class* pProc);
|
|
BOOL fpcBs_Delete(base_process_class* pProc);
|
|
base_process_class* fpcBs_Create(s16 pProcTypeID, fpc_ProcID pProcID, void* pData);
|
|
cPhs_State fpcBs_SubCreate(base_process_class* pProc);
|
|
|
|
#endif
|