mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-07-04 19:25:43 -04:00
d_a_dmidna OK / f_op + misc cleanup (#276)
* some f_op / d_insect cleanup * rename some vars according to tww * d_a_dmidna OK * remove asm
This commit is contained in:
+33
-37
@@ -1,38 +1,36 @@
|
||||
//
|
||||
// Generated By: dol2asm
|
||||
// Translation Unit: d/d_kyeff2
|
||||
//
|
||||
/**
|
||||
* d_kyeff2.cpp
|
||||
*
|
||||
*/
|
||||
|
||||
#include "d/d_kyeff2.h"
|
||||
#include "f_op/f_op_kankyo.h"
|
||||
#include "d/d_procname.h"
|
||||
#include "d/kankyo/d_kankyo_wether.h"
|
||||
#include "dol2asm.h"
|
||||
#include "dolphin/types.h"
|
||||
|
||||
static bool dKyeff2_Draw(dKyeff2_c* ptr) {
|
||||
static int dKyeff2_Draw(dKyeff2_c* i_this) {
|
||||
dKyw_wether_draw2();
|
||||
return true;
|
||||
return 1;
|
||||
}
|
||||
|
||||
bool dKyeff2_c::execute() {
|
||||
int dKyeff2_c::execute() {
|
||||
dKyw_wether_move_draw2();
|
||||
return true;
|
||||
return 1;
|
||||
}
|
||||
|
||||
static bool dKyeff2_Execute(dKyeff2_c* ptr) {
|
||||
return ptr->execute();
|
||||
static int dKyeff2_Execute(dKyeff2_c* i_this) {
|
||||
return i_this->execute();
|
||||
}
|
||||
|
||||
static bool dKyeff2_IsDelete(dKyeff2_c* ptr) {
|
||||
return true;
|
||||
static int dKyeff2_IsDelete(dKyeff2_c* i_this) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
static bool dKyeff2_Delete(dKyeff2_c* ptr) {
|
||||
static int dKyeff2_Delete(dKyeff2_c* i_this) {
|
||||
dKyw_wether_delete2();
|
||||
return true;
|
||||
return 1;
|
||||
}
|
||||
|
||||
static int dKyeff2_Create(kankyo_class* ptr) {
|
||||
static int dKyeff2_Create(kankyo_class* i_this) {
|
||||
dKyw_wether_init2();
|
||||
return cPhs_COMPLEATE_e;
|
||||
}
|
||||
@@ -40,27 +38,25 @@ static int dKyeff2_Create(kankyo_class* ptr) {
|
||||
/* ############################################################################################## */
|
||||
/* 803BC198-803BC1AC -00001 0014+00 1/0 0/0 0/0 .data l_dKyeff2_Method */
|
||||
static leafdraw_method_class l_dKyeff2_Method = {
|
||||
(process_method_func)dKyeff2_Create,
|
||||
(process_method_func)dKyeff2_Delete,
|
||||
(process_method_func)dKyeff2_Execute,
|
||||
(process_method_func)dKyeff2_IsDelete,
|
||||
(process_method_func)dKyeff2_Create, (process_method_func)dKyeff2_Delete,
|
||||
(process_method_func)dKyeff2_Execute, (process_method_func)dKyeff2_IsDelete,
|
||||
(process_method_func)dKyeff2_Draw,
|
||||
};
|
||||
|
||||
extern "C" extern void* g_fopKy_Method[5 + 1 /* padding */];
|
||||
|
||||
/* 803BC1AC-803BC1D8 -00001 0028+04 0/0 0/0 1/0 .data g_profile_KYEFF2 */
|
||||
SECTION_DATA extern void* g_profile_KYEFF2[10 + 1 /* padding */] = {
|
||||
(void*)0xFFFFFFFD,
|
||||
(void*)0x000CFFFD,
|
||||
(void*)0x03120000,
|
||||
(void*)&g_fpcLf_Method,
|
||||
(void*)0x000000F8,
|
||||
(void*)NULL,
|
||||
(void*)NULL,
|
||||
(void*)&g_fopKy_Method,
|
||||
(void*)0x00030000,
|
||||
(void*)&l_dKyeff2_Method,
|
||||
/* padding */
|
||||
NULL,
|
||||
extern kankyo_process_profile_definition g_profile_KYEFF2 = {
|
||||
-3,
|
||||
12,
|
||||
0xFFFD,
|
||||
PROC_KYEFF2,
|
||||
0,
|
||||
&g_fpcLf_Method.mBase,
|
||||
sizeof(dKyeff2_c),
|
||||
0,
|
||||
0,
|
||||
&g_fopKy_Method,
|
||||
0x0003,
|
||||
0,
|
||||
0,
|
||||
&l_dKyeff2_Method,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user