core2/code_B9090.c done
This commit is contained in:
@@ -50,6 +50,8 @@ typedef void (* GenMethod_5)(s32, s32, s32, s32, s32);
|
||||
out##_z = a##_z op b##_z;\
|
||||
}
|
||||
|
||||
#define LENGTH_SQ_VEC3F(v) (v[0]*v[0] + v[1]*v[1] + v[2]*v[2])
|
||||
|
||||
//known it uses "+" instead of "|" for fight/code_9D40.c, func_8039049C, case 6
|
||||
#define FUNC_8030E624(sfx_e, vol, sample_rate) func_8030E624(\
|
||||
_SHIFTL((vol*1023), 21, 11) + _SHIFTL(sample_rate >> 5, 11, 10) + _SHIFTL(sfx_e, 0, 11)\
|
||||
|
@@ -877,4 +877,21 @@ typedef struct {
|
||||
struct actor_marker_s *unk18;
|
||||
}Struct81s;
|
||||
|
||||
typedef struct {
|
||||
enum actor_e actor_id;
|
||||
struct actor_marker_s *marker;
|
||||
f32 position[3];
|
||||
void (*unk14)(struct actor_s *, struct actor_marker_s *);
|
||||
struct actor_marker_s *unk18;
|
||||
}Struct82s;
|
||||
|
||||
typedef struct {
|
||||
f32 unk0;
|
||||
f32 unk4;
|
||||
f32 unk8[3];
|
||||
s16 unk14[3];
|
||||
u8 unk1A;
|
||||
u8 pad1B[1];
|
||||
}Struct83s;
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user