forked from doldecomp/melee
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into mpColl_80046904_inlines
- Loading branch information
Showing
10 changed files
with
1,947 additions
and
1,784 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,47 @@ | ||
#include "eflib.h" | ||
|
||
#include "types.h" | ||
|
||
#include <placeholder.h> | ||
#include <baselib/jobj.h> | ||
#include <baselib/particle.h> | ||
#include <baselib/psappsrt.h> | ||
|
||
void efLib_8005CC2C(int arg0, HSD_JObj* arg1) | ||
{ | ||
UnkGeneratorStruct* particle = hsd_8039EFAC(0, arg0 / 1000, arg0, arg1); | ||
if (particle != NULL) { | ||
particle->x16_flags &= ~PSAPPSRT_UNK_B10; | ||
} | ||
} | ||
|
||
ef_UnkStruct0* efLib_8005FCD8(int arg0, int arg2, ef_UnkStruct1* arg3) | ||
{ | ||
UnkGeneratorMember* var_r3; | ||
UnkGeneratorStruct* temp_r3_2; | ||
ef_UnkStruct0* temp_r3; | ||
|
||
temp_r3 = efLib_8005BE88(0); | ||
if (temp_r3 != NULL) { | ||
temp_r3->x8 = fn_8005FBE4; | ||
temp_r3->x4 = arg2; | ||
temp_r3->x10 = arg3->x0; | ||
temp_r3->x14 = arg3->x4; | ||
temp_r3->x18 = arg3->x8; | ||
temp_r3_2 = hsd_8039EFAC(0, arg0 / 1000, arg0, temp_r3->x0->x0); | ||
if (temp_r3_2 != NULL) { | ||
var_r3 = temp_r3_2->x54; | ||
if (var_r3 == NULL) { | ||
var_r3 = psAddGeneratorAppSRT_begin(temp_r3_2, 0); | ||
} | ||
if (var_r3 != NULL) { | ||
var_r3->x4 = temp_r3_2; | ||
temp_r3_2->x16_flags &= ~PSAPPSRT_UNK_B09; | ||
temp_r3_2->x16_flags |= PSAPPSRT_UNK_B11; | ||
} else { | ||
hsd_8039D4DC(temp_r3_2); | ||
} | ||
} | ||
} | ||
return temp_r3; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#ifndef MELEE_EF_FORWARD_H | ||
#define MELEE_EF_FORWARD_H | ||
|
||
typedef struct ef_UnkStruct0 ef_UnkStruct0; | ||
typedef struct ef_UnkStruct1 ef_UnkStruct1; | ||
typedef struct ef_UnkStruct2 ef_UnkStruct2; | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
#ifndef MELEE_EF_TYPES_H | ||
#define MELEE_EF_TYPES_H | ||
|
||
#include "ef/forward.h" // IWYU pragma: export | ||
#include <baselib/forward.h> | ||
|
||
#include <placeholder.h> | ||
|
||
struct ef_UnkStruct2 { | ||
/* +0 */ HSD_JObj* x0; | ||
}; | ||
|
||
struct ef_UnkStruct0 { | ||
/* +0 */ ef_UnkStruct2* x0; | ||
/* +4 */ int x4; | ||
/* +8 */ UNK_T x8; | ||
/* +C */ s16 xC; | ||
/* +E */ s16 xE; | ||
/* +10 */ int x10; | ||
/* +14 */ int x14; | ||
/* +18 */ int x18; | ||
}; | ||
|
||
struct ef_UnkStruct1 { | ||
/* +0 */ int x0; | ||
/* +4 */ int x4; | ||
/* +8 */ int x8; | ||
/* +C */ int xC; | ||
}; | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters