SSBM Decomp
Loading...
Searching...
No Matches
types.h
Go to the documentation of this file.
1#ifndef MELEE_FT_CHARA_FTCAPTAIN_TYPES_H
2#define MELEE_FT_CHARA_FTCAPTAIN_TYPES_H
3
4#include <platform.h>
5
6#include "ft/forward.h"
7#include "ftCaptain/forward.h" // IWYU pragma: export
8
9#include <dolphin/mtx/types.h>
10
16
20 /* +8 */ float specialn_angle_diff;
21 /* +C */ float specialn_vel_x;
22 /* +10 */ float specialn_vel_mul;
23 /* +14 */ float specials_gr_vel_x;
24 /* +18 */ float specials_grav;
25 /* +1C */ float specials_terminal_vel;
26 /* +20 */ float specials_unk0;
27 /* +24 */ float specials_unk1;
28 /* +28 */ float specials_unk2;
29 /* +2C */ float specials_unk3;
30 /* +30 */ float specials_unk4;
31 /* +34 */ float specials_unk5;
33 /* +3C */ float specials_hit_landing_lag;
35 /* +44 */ float specialhi_horz_vel;
37 /* +4C */ float specialhi_landing_lag;
38 /* +50 */ float specialhi_unk0;
39 /* +54 */ float specialhi_unk1;
40 /* +58 */ float specialhi_input_var;
41 /* +5C */ float specialhi_unk2;
42 /* +60 */ float specialhi_catch_grav;
44 /* +68 */ float x68;
49 /* +7C */ float speciallw_ground_lag_mul;
53};
54
57 /* fp+2340 */ float grav;
60 /* fp+2340 */ u16 x0;
61 /* fp+2342:0 */ u8 x2_b0 : 1;
62 /* fp+2342:1 */ u8 x2_b1 : 1;
63 /* fp+2342:2 */ u8 x2_b2 : 1;
64 /* fp+2342:3 */ u8 x2_b3 : 1;
65 /* fp+2342:4 */ u8 x2_b4 : 1;
66 /* fp+2342:5 */ u8 x2_b5 : 1;
67 /* fp+2342:6 */ u8 x2_b6 : 1;
68 /* fp+2342:7 */ u8 x2_b7 : 1;
69 /* fp+2343 */ u8 x3;
70 /* fp+2344 */ Vec2 vel;
73 /* fp+2340 */ u16 x0;
74 /* fp+2342 */ u16 x2;
75 /* fp+2344 */ float friction;
77};
78
79#endif
#define FIGHTERVARS_SIZE
Definition forward.h:10
unsigned long u32
An unsigned 32-bit integer.
Definition platform.h:26
unsigned short u16
An unsigned 16-bit integer.
Definition platform.h:23
signed long s32
A signed 32-bit integer.
Definition platform.h:14
unsigned char u8
An unsigned 8-bit integer.
Definition platform.h:20
Definition types.h:9
Definition types.h:17
float specialhi_freefall_air_spd_mul
Definition types.h:36
float specials_unk5
Definition types.h:31
u32 speciallw_unk1
Definition types.h:45
float specialhi_input_var
Definition types.h:40
float specialn_vel_mul
Additional momentum from angled Falcon/Warlock Punch.
Definition types.h:22
float specialhi_horz_vel
Definition types.h:35
float specials_unk4
Definition types.h:30
float speciallw_ground_traction
Definition types.h:51
float specials_unk1
Definition types.h:27
float speciallw_landing_lag_mul
Definition types.h:50
float specials_terminal_vel
Definition types.h:25
float specials_unk0
Definition types.h:26
s32 specialhi_air_var
Definition types.h:43
float specialn_vel_x
Momentum gained from aerial Falcon/Warlock Punch.
Definition types.h:21
float specialhi_unk2
Definition types.h:41
float x68
Completely unknown.
Definition types.h:44
float specialhi_air_friction_mul
Definition types.h:34
float specials_unk3
Definition types.h:29
float specialn_stick_range_y_pos
Minimum control stick range required for upward angle (Positive Y).
Definition types.h:19
float speciallw_air_landing_traction
Definition types.h:52
s32 speciallw_unk2
Definition types.h:48
float specials_unk2
Definition types.h:28
float specialn_stick_range_y_neg
Minimum control stick range required for downward angle (Negative Y).
Definition types.h:18
float speciallw_flame_particle_angle
Definition types.h:46
float specialhi_landing_lag
Definition types.h:37
float specialn_angle_diff
Maximum angle change from control stick input.
Definition types.h:20
float specialhi_unk1
Definition types.h:39
float specialhi_unk0
Definition types.h:38
float speciallw_ground_lag_mul
Definition types.h:49
float specials_gr_vel_x
Definition types.h:23
float specialhi_catch_grav
Definition types.h:42
float specials_miss_landing_lag
Definition types.h:32
float speciallw_on_hit_spd_modifier
Definition types.h:47
float specials_hit_landing_lag
Definition types.h:33
float specials_grav
Definition types.h:24
Definition types.h:11
u8 _[FIGHTERVARS_SIZE - 8]
Definition types.h:14
u32 during_specials_start
true during the Raptor Boost startup state.
Definition types.h:12
u32 during_specials
true during the Raptor Boost lunge state.
Definition types.h:13
Definition types.h:55
struct ftCaptain_MotionVars::ftCaptainSpecialSVars specials
struct ftCaptain_MotionVars::ftCaptainSpecialHiVars specialhi
struct ftCaptain_MotionVars::ftCaptainSpecialLwVars speciallw