diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/common_structs.h | 2 | ||||
| -rw-r--r-- | include/defines.h | 23 |
2 files changed, 21 insertions, 4 deletions
diff --git a/include/common_structs.h b/include/common_structs.h index 4450d0e6c..058bb3770 100644 --- a/include/common_structs.h +++ b/include/common_structs.h @@ -314,7 +314,7 @@ typedef struct { /* 0x00C0 */ s16 unk_0C0; /* 0x00C2 */ s16 unk_0C2; /* 0x00C4 */ s16 slopeAccel; - /* 0x00C6 */ s16 unk_0C6; + /* 0x00C6 */ s16 alpha; /* 0x00C8 */ s16 unk_0C8; /* 0x00CA */ s16 unk_0CA; /* 0x00CC */ Vec4s unk_0CC; diff --git a/include/defines.h b/include/defines.h index 1c176c9bf..5895dc96c 100644 --- a/include/defines.h +++ b/include/defines.h @@ -380,6 +380,23 @@ enum PLACE { FIRST_PLACE, SECOND_PLACE, THIRD_PLACE, FOURTH_PLACE }; #define ALPHA_BOO_EFFECT 0x60 /** + * @brief durations of effects + */ + #define STAR_EFFECT_DURATION 0xA + #define BOO_EFFECT_DURATION 0x7 + + /** + * @brief alpha related values + */ + #define ALPHA_MAX 0xFF + #define ALPHA_MIN 0x0 + #define ALPHA_BOO_EFFECT 0x60 + +#define ALPHA_CHANGE_LARGE 8 +#define ALPHA_CHANGE_MEDIUM 4 +#define ALPHA_CHANGE_SMALL 2 + +/** * @brief shell state * */ @@ -407,9 +424,9 @@ enum PLACE { FIRST_PLACE, SECOND_PLACE, THIRD_PLACE, FOURTH_PLACE }; #endif // DEFINES_H /** - * + * * Laps - * + * */ #define MIN_LAPS 0 -#define MAX_LAPS 3
\ No newline at end of file +#define MAX_LAPS 3 |
