mirror of
https://github.com/zeldaret/tp
synced 2026-05-31 09:22:07 -04:00
52 lines
1.8 KiB
C++
52 lines
1.8 KiB
C++
//
|
|
// Generated By: dol2asm
|
|
// Translation Unit: f_op/f_op_view
|
|
//
|
|
|
|
#include "f_op/f_op_view.h"
|
|
#include "f_pc/f_pc_manager.h"
|
|
#include "dol2asm.h"
|
|
#include "dolphin/types.h"
|
|
|
|
/* 8001F1A8-8001F1D0 019AE8 0028+00 1/0 0/0 0/0 .text fopVw_Draw__FP10view_class */
|
|
void fopVw_Draw(view_class* pView) {
|
|
fpcLf_DrawMethod(pView->mSubMtd, pView);
|
|
}
|
|
|
|
/* 8001F1D0-8001F1F8 019B10 0028+00 1/0 0/0 0/0 .text fopVw_Execute__FP10view_class */
|
|
void fopVw_Execute(view_class* pView) {
|
|
fpcMtd_Execute(&pView->mSubMtd->mBase, pView);
|
|
}
|
|
|
|
/* 8001F1F8-8001F220 019B38 0028+00 1/0 0/0 0/0 .text fopVw_IsDelete__FPv */
|
|
s32 fopVw_IsDelete(void* data) {
|
|
view_class* pView = (view_class*)data;
|
|
return fpcMtd_IsDelete(&pView->mSubMtd->mBase, pView);
|
|
}
|
|
|
|
/* 8001F220-8001F248 019B60 0028+00 1/0 0/0 0/0 .text fopVw_Delete__FP10view_class */
|
|
s32 fopVw_Delete(view_class* pView) {
|
|
return fpcMtd_Delete(&pView->mSubMtd->mBase, pView);
|
|
}
|
|
|
|
/* 8001F248-8001F284 019B88 003C+00 1/0 0/0 0/0 .text fopVw_Create__FPv */
|
|
s32 fopVw_Create(void* data) {
|
|
view_class* pView = (view_class*)data;
|
|
|
|
view_process_profile_definition* pProf = (view_process_profile_definition*)fpcM_GetProfile(pView);
|
|
pView->mSubMtd = pProf->mSubMtd;
|
|
pView->field_0xc4 = pProf->unk28;
|
|
|
|
return fpcMtd_Create(&pView->mSubMtd->mBase, pView);
|
|
}
|
|
|
|
/* ############################################################################################## */
|
|
/* 803A3928-803A3940 -00001 0014+04 0/0 2/0 0/0 .data g_fopVw_Method */
|
|
leafdraw_method_class g_fopVw_Method = {
|
|
(process_method_func)fopVw_Create,
|
|
(process_method_func)fopVw_Delete,
|
|
(process_method_func)fopVw_Execute,
|
|
(process_method_func)fopVw_IsDelete,
|
|
(process_method_func)fopVw_Draw,
|
|
};
|