Go to the source code of this file.
Macros | |
#define | AC_QUALITY_FAILED -1 |
#define | ONE_PCT_MASH 100 |
#define | MAX_MASH_PCT 100 |
#define | MAX_MASH_UNITS (MAX_MASH_PCT * ONE_PCT_MASH) |
#define | SCALE_BY_PCT(x, pct) ((x) * (pct) / 100) |
#define | PCT_TO_TABLE_IDX(table, pct) ((pct) / (ONE_PCT_MASH / ARRAY_COUNT(table))) |
#define | PCT_TO_TABLE_RATE(table, pct) (table[PCT_TO_TABLE_IDX(table, pct)]) |
Enumerations | |
enum | { AC_STATE_INIT = 0 , AC_STATE_APPEAR = 1 , AC_STATE_START = 10 , AC_STATE_ACTIVE = 11 , AC_STATE_DISPOSE = 12 } |
enum | ActionCommandDifficulty { AC_DIFFICULTY_0 = 0 , AC_DIFFICULTY_1 = 1 , AC_DIFFICULTY_2 = 2 , AC_DIFFICULTY_3 = 3 , AC_DIFFICULTY_4 = 4 , AC_DIFFICULTY_5 = 5 , AC_DIFFICULTY_6 = 6 , AC_DIFFICULTY_7 = 7 } |
enum | MashMeterColorModes { MASH_METER_MODE_BLINK = -1 , MASH_METER_MODE_MULTI_COLOR = 0 , MASH_METER_MODE_ONE_COLOR = 1 } |
enum | ActionCommandModes { AC_MODE_TUTORIAL_BLOCK = -1 , AC_MODE_NOT_LEARNED = 0 , AC_MODE_LEARNED = 1 , AC_MODE_TUTORIAL = 2 , AC_MODE_TUTORIAL_WAIT_INPUT = 3 } |
Functions | |
void | action_command_init_status (void) |
void | action_command_free (void) |
void | create_action_command_ui_worker (void) |
void | increment_action_command_attempt_count (void) |
void | increment_action_command_success_count (void) |
void | draw_mash_meter_multicolor_with_divisor (s32 posX, s32 posY, s32 fillValue, s32 divisor) |
void | draw_mash_meter_blink (s32 posX, s32 posY, s32 fillValue) |
void | draw_mash_meter_multicolor (s32 posX, s32 posY, s32 fillValue) |
void | draw_mash_meter_mode_with_divisor (s32 posX, s32 posY, s32 fillValue, s32 divisor, s32 colorMode) |
void | draw_mash_meter_blink_with_divisor (s32 posX, s32 posY, s32 fillValue, s32 divisor) |
s32 | adjust_action_command_difficulty (s32 arg0) |
s32 | check_block_input (s32 buttonMask) |
struct ActionCommandStatus |
Data Fields | ||
---|---|---|
s32 | workerID | |
HudElemID | hudElemIDs[16] | |
s16 | meterFillLevel | |
s16 | escapeThreshold | |
s16 | meterFillWidth | |
s16 | actionCommandID | |
s16 | state | |
s16 | prepareTime | |
s16 | difficulty | |
s16 | duration | |
s16 | stateTimer | |
s16 | hudPosX | |
s16 | hudPosY | |
s16 | escapeChance | |
union ActionCommandStatus.__unnamed103__ | __unnamed__ | |
s8 | autoSucceed | |
b8 | hammerMissedStart | |
b8 | wrongButtonPressed | |
b8 | showHud | |
b8 | playHammerSounds | |
char | pad_63[1] | |
union ActionCommandStatus.__unnamed105__ | __unnamed__ | |
s16 | thresholdMoveDir | |
b16 | isMeterFilled | |
b16 | berserkerEnabled | |
s16 | hudPrepareTime | |
b16 | hitsTakenIsMax | |
s16 | lookBackCounter | |
s16 | wrongInputFrameCounter | |
s16 | mashMeterCutoffs[6] | |
s8 | mashMeterNumIntervals |
union ActionCommandStatus.__unnamed103__ |
Data Fields | ||
---|---|---|
struct ActionCommandStatus.__unnamed103__.any | any | |
struct ActionCommandStatus.__unnamed103__.airRaid | airRaid | |
struct ActionCommandStatus.__unnamed103__.breakFree | breakFree | |
struct ActionCommandStatus.__unnamed103__.fireShell | fireShell | |
struct ActionCommandStatus.__unnamed103__.flee | flee | |
struct ActionCommandStatus.__unnamed103__.smack | smack | |
struct ActionCommandStatus.__unnamed103__.spinySurge | spinySurge | |
struct ActionCommandStatus.__unnamed103__.spook | spook | |
struct ActionCommandStatus.__unnamed103__.squirt | squirt | |
struct ActionCommandStatus.__unnamed103__.threeChances | threeChances | |
struct ActionCommandStatus.__unnamed103__.tidalWave | tidalWave |
struct ActionCommandStatus.__unnamed103__.airRaid |
Data Fields | ||
---|---|---|
b8 | holdingLeft |
struct ActionCommandStatus.__unnamed103__.fireShell |
Data Fields | ||
---|---|---|
b8 | holdingLeft |
struct ActionCommandStatus.__unnamed103__.smack |
Data Fields | ||
---|---|---|
b8 | holdingLeft |
struct ActionCommandStatus.__unnamed103__.spook |
Data Fields | ||
---|---|---|
b8 | holdingLeft |
struct ActionCommandStatus.__unnamed103__.squirt |
Data Fields | ||
---|---|---|
b8 | draining |
struct ActionCommandStatus.__unnamed103__.threeChances |
Data Fields | ||
---|---|---|
b8 | hadCorrectTiming | |
s8 | time |
union ActionCommandStatus.__unnamed105__ |
Data Fields | ||
---|---|---|
s16 | variation | |
s16 | statusChance |
#define AC_QUALITY_FAILED -1 |
Definition at line 66 of file action_cmd.h.
Referenced by update().
#define ONE_PCT_MASH 100 |
Definition at line 69 of file action_cmd.h.
#define MAX_MASH_PCT 100 |
Definition at line 72 of file action_cmd.h.
#define MAX_MASH_UNITS (MAX_MASH_PCT * ONE_PCT_MASH) |
Definition at line 75 of file action_cmd.h.
Referenced by update().
#define SCALE_BY_PCT | ( | x, | |
pct ) ((x) * (pct) / 100) |
Definition at line 77 of file action_cmd.h.
Referenced by update().
#define PCT_TO_TABLE_IDX | ( | table, | |
pct ) ((pct) / (ONE_PCT_MASH / ARRAY_COUNT(table))) |
Definition at line 78 of file action_cmd.h.
#define PCT_TO_TABLE_RATE | ( | table, | |
pct ) (table[PCT_TO_TABLE_IDX(table, pct)]) |
Definition at line 79 of file action_cmd.h.
anonymous enum |
Enumerator | |
---|---|
AC_STATE_INIT | |
AC_STATE_APPEAR | |
AC_STATE_START | |
AC_STATE_ACTIVE | |
AC_STATE_DISPOSE |
Definition at line 33 of file action_cmd.h.
Enumerator | |
---|---|
AC_DIFFICULTY_0 | |
AC_DIFFICULTY_1 | |
AC_DIFFICULTY_2 | |
AC_DIFFICULTY_3 | |
AC_DIFFICULTY_4 | |
AC_DIFFICULTY_5 | |
AC_DIFFICULTY_6 | |
AC_DIFFICULTY_7 |
Definition at line 41 of file action_cmd.h.
enum MashMeterColorModes |
Enumerator | |
---|---|
MASH_METER_MODE_BLINK | |
MASH_METER_MODE_MULTI_COLOR | |
MASH_METER_MODE_ONE_COLOR |
Definition at line 52 of file action_cmd.h.
enum ActionCommandModes |
Enumerator | |
---|---|
AC_MODE_TUTORIAL_BLOCK | |
AC_MODE_NOT_LEARNED | |
AC_MODE_LEARNED | |
AC_MODE_TUTORIAL | |
AC_MODE_TUTORIAL_WAIT_INPUT |
Definition at line 58 of file action_cmd.h.
void action_command_init_status | ( | void | ) |
Definition at line 256 of file action_cmd.c.
void action_command_free | ( | void | ) |
Definition at line 446 of file action_cmd.c.
Referenced by action_command_update(), and update().
void create_action_command_ui_worker | ( | void | ) |
Definition at line 531 of file action_cmd.c.
Referenced by initialize_battle().
void increment_action_command_attempt_count | ( | void | ) |
Definition at line 641 of file action_cmd.c.
void increment_action_command_success_count | ( | void | ) |
Definition at line 655 of file action_cmd.c.
Referenced by update().
void draw_mash_meter_multicolor_with_divisor | ( | s32 | posX, |
s32 | posY, | ||
s32 | fillValue, | ||
s32 | divisor ) |
Definition at line 231 of file action_cmd.c.
Referenced by draw().
void draw_mash_meter_blink | ( | s32 | posX, |
s32 | posY, | ||
s32 | fillValue ) |
Definition at line 246 of file action_cmd.c.
Referenced by draw().
void draw_mash_meter_multicolor | ( | s32 | posX, |
s32 | posY, | ||
s32 | fillValue ) |
Definition at line 226 of file action_cmd.c.
Referenced by draw().
void draw_mash_meter_mode_with_divisor | ( | s32 | posX, |
s32 | posY, | ||
s32 | fillValue, | ||
s32 | divisor, | ||
s32 | colorMode ) |
Definition at line 241 of file action_cmd.c.
Referenced by draw().
void draw_mash_meter_blink_with_divisor | ( | s32 | posX, |
s32 | posY, | ||
s32 | fillValue, | ||
s32 | divisor ) |
Definition at line 251 of file action_cmd.c.
Referenced by draw().
s32 adjust_action_command_difficulty | ( | s32 | arg0 | ) |
Definition at line 101 of file action_cmd.c.
s32 check_block_input | ( | s32 | buttonMask | ) |
Definition at line 537 of file action_cmd.c.
Referenced by calc_enemy_damage_target().
|
extern |
Definition at line 91 of file action_cmd.c.
Referenced by action_command_draw(), action_command_free(), action_command_init_status(), action_command_update(), check_block_input(), create_action_command_ui_worker(), draw(), draw_mash_meter(), free(), increment_action_command_attempt_count(), increment_action_command_success_count(), and update().
|
extern |
Definition at line 460 of file battle_ui_gfx.c.
|
extern |
Definition at line 2347 of file global_hud_scripts.c.
Referenced by btl_update_message_popup(), and update().
|
extern |
Definition at line 2349 of file global_hud_scripts.c.
Referenced by btl_update_message_popup(), and update().
|
extern |
Definition at line 297 of file battle_ui_gfx.c.
Referenced by btl_update_message_popup().
|
extern |
Definition at line 299 of file battle_ui_gfx.c.
|
extern |
Definition at line 2345 of file global_hud_scripts.c.
|
extern |
Definition at line 386 of file battle_ui_gfx.c.
|
extern |
Definition at line 512 of file battle_ui_gfx.c.
|
extern |
Definition at line 2351 of file global_hud_scripts.c.
Referenced by btl_update_message_popup(), and update().
|
extern |
Definition at line 301 of file battle_ui_gfx.c.
Referenced by btl_update_message_popup(), and update().
|
extern |
Definition at line 2361 of file global_hud_scripts.c.
Referenced by btl_update_message_popup(), and update().
|
extern |
Definition at line 311 of file battle_ui_gfx.c.
Referenced by btl_update_message_popup().
|
extern |
Definition at line 398 of file battle_ui_gfx.c.
Referenced by btl_update_message_popup().
|
extern |
Definition at line 481 of file battle_ui_gfx.c.
|
extern |
Definition at line 446 of file battle_ui_gfx.c.
|
extern |
Definition at line 2572 of file global_hud_scripts.c.
|
extern |
Definition at line 2438 of file global_hud_scripts.c.
|
extern |
Definition at line 2467 of file global_hud_scripts.c.
Referenced by btl_update_message_popup(), and update().
|
extern |
Definition at line 2436 of file global_hud_scripts.c.
Referenced by btl_update_message_popup().
|
extern |
Definition at line 2493 of file global_hud_scripts.c.
Referenced by update().
|
extern |
Definition at line 295 of file battle_ui_gfx.c.
|
extern |
Definition at line 504 of file battle_ui_gfx.c.
|
extern |
Definition at line 436 of file battle_ui_gfx.c.
Referenced by update().
|
extern |
Definition at line 440 of file battle_ui_gfx.c.
Referenced by update().
|
extern |
Definition at line 444 of file battle_ui_gfx.c.
Referenced by update().
|
extern |
Definition at line 434 of file battle_ui_gfx.c.
|
extern |
Definition at line 438 of file battle_ui_gfx.c.
|
extern |
Definition at line 442 of file battle_ui_gfx.c.
|
extern |
Definition at line 508 of file battle_ui_gfx.c.
Referenced by update().
|
extern |
Definition at line 510 of file battle_ui_gfx.c.
Referenced by update().
|
extern |
Definition at line 422 of file battle_ui_gfx.c.
Referenced by btl_update_message_popup(), and update().
|
extern |
Definition at line 420 of file battle_ui_gfx.c.