mirror of
https://github.com/HarbourMasters/SpaghettiKart
synced 2026-07-07 14:13:58 -04:00
Document player alpha (#396)
* Document player alpha * Fix typo * Document further alpha things * Document movement * Fix indentation
This commit is contained in:
@@ -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;
|
||||
|
||||
+20
-3
@@ -379,6 +379,23 @@ enum PLACE { FIRST_PLACE, SECOND_PLACE, THIRD_PLACE, FOURTH_PLACE };
|
||||
#define ALPHA_MIN 0x0
|
||||
#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
|
||||
#define MAX_LAPS 3
|
||||
|
||||
Reference in New Issue
Block a user