mirror of https://github.com/pmret/papermario.git
fixing format
This commit is contained in:
parent
5a013f5579
commit
8490965da5
|
|
@ -9,7 +9,6 @@ struct ScriptInstance;
|
||||||
|
|
||||||
typedef ApiStatus(*ApiFunc)(struct ScriptInstance*, s32);
|
typedef ApiStatus(*ApiFunc)(struct ScriptInstance*, s32);
|
||||||
|
|
||||||
|
|
||||||
typedef struct Vec3f {
|
typedef struct Vec3f {
|
||||||
/* 0x00 */ f32 x;
|
/* 0x00 */ f32 x;
|
||||||
/* 0x04 */ f32 y;
|
/* 0x04 */ f32 y;
|
||||||
|
|
|
||||||
|
|
@ -2,9 +2,6 @@
|
||||||
#define _SI_H_
|
#define _SI_H_
|
||||||
|
|
||||||
#include "ultra64.h"
|
#include "ultra64.h"
|
||||||
#include "types.h"
|
|
||||||
#include "macros.h"
|
|
||||||
#include "common_structs.h"
|
|
||||||
|
|
||||||
#define SI_VAR_0 0xFE363C80
|
#define SI_VAR_0 0xFE363C80
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -51,9 +51,9 @@ s32 func_80145CE8(s32 arg0) {
|
||||||
for (i = 0; i < ARRAY_COUNT(gCurrentTriggerListPtr); i++) {
|
for (i = 0; i < ARRAY_COUNT(gCurrentTriggerListPtr); i++) {
|
||||||
Trigger* trigger = (*gCurrentTriggerListPtr)[i];
|
Trigger* trigger = (*gCurrentTriggerListPtr)[i];
|
||||||
|
|
||||||
if ((trigger != NULL) &&
|
if ((trigger != NULL) &&
|
||||||
(trigger->unk_30 != 0) &&
|
(trigger->unk_30 != 0) &&
|
||||||
(trigger->params2 == arg0) &&
|
(trigger->params2 == arg0) &&
|
||||||
(trigger->flags.flags & 0x100)) {
|
(trigger->flags.flags & 0x100)) {
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue