14 typedef struct __attribute__((packed))
33 #define JUMPSQUAT (1 << 0) 34 #define SH_LENGTH (1 << 1) 35 #define LEDGEDASH (1 << 2) 36 #define RESET_STICK_COUNTER (1 << 3) 41 #define RELEASE 0x0000 43 #define STICK_ANGLE(x) ((((u8) (((x) / 360.f) * 255.f)) << 8) & 0xFF00) 53 extern RawInput _raw_holdDirection[1];
79 #define SET_TECH_DIR(x) _raw_tech[0].controller = \ 80 L_BUTTON | FULL_STICK | STICK_ANGLE(x) 83 #define SET_HIT_DI_DIR(x) _raw_hitDI[0].controller = \ 84 FULL_STICK | STICK_ANGLE((x)) 87 #define SET_THROW_DI_DIR(x) _raw_holdDirection[0].controller = \ 88 FULL_STICK | STICK_ANGLE((x)) 91 #define SET_UP_B_DIR(x) _raw_upB[1].controller = \ 92 FULL_STICK | STICK_ANGLE((x)) 95 #define SET_SIDE_B_DIR(x) _raw_sideB[0].controller = \ 96 B_BUTTON | FULL_STICK | STICK_ANGLE((x)) 99 #define SET_DJ_DIR(x) _raw_doubleJump[0].controller = \ 100 X_BUTTON | FULL_STICK | STICK_ANGLE((x)) 103 #define SET_LEDGEDASH_ANGLE(x) _raw_ledgeDash[2].controller = \ 104 L_BUTTON | FULL_STICK | STICK_ANGLE((x)) 107 #define SET_HOLD_DIR(x) _raw_holdDirection[0].controller = \ 108 FULL_STICK | STICK_ANGLE((x)) 111 #define SET_WAVEDASH_DIR(x) _raw_wavedash[1].controller = \ 112 L_BUTTON | FULL_STICK | STICK_ANGLE(x) uint8_t u8
Definition: gctypes.h:14
u32 size
Definition: moves.h:26
Data types for the gamecube.
Move _mv_spotDodge
Definition: moves.c:32
Move _mv_jab
Definition: moves.c:40
Move _mv_shortHop
Definition: moves.c:17
Move _mv_doubleJump
Definition: moves.c:67
Move _mv_throwDI
Definition: moves.c:54
Move _mv_getUpAttack
Definition: moves.c:39
Move _mv_sideB
Definition: moves.c:82
Represents a single move (string of timed inputs)
Definition: moves.h:23
s8 frameOffset
Definition: moves.h:17
Move _mv_tech
Definition: moves.c:24
Move _mv_shNeutralB
Definition: moves.c:10
uint16_t u16
Definition: gctypes.h:15
Move _mv_wavedash
Definition: moves.c:97
Emulate a player's controller.
Move _mv_hitDI
Definition: moves.c:47
RawInput * inputs
Definition: moves.h:25
u8 flags
Definition: moves.h:18
u16 controller
Definition: moves.h:16
uint32_t u32
Definition: gctypes.h:16
Move _mv_upB
Definition: moves.c:61
int8_t s8
Definition: gctypes.h:18
Move _mv_downB
Definition: moves.c:89
Move _mv_ledgeDash
Definition: moves.c:76
Move _mv_holdDirection
Definition: moves.c:53