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_EASIEST , AC_DIFFICULTY_VERY_EASY , AC_DIFFICULTY_EASY , AC_DIFFICULTY_STANDARD , AC_DIFFICULTY_HARDER , AC_DIFFICULTY_HARD , AC_DIFFICULTY_VERY_HARD , AC_DIFFICULTY_HARDEST } |
| 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 | ||
|---|---|---|
| union ActionCommandStatus.__unnamed100__ | __unnamed__ | |
| union ActionCommandStatus.__unnamed102__ | __unnamed__ | |
| s16 | actionCommandID | |
| s8 | autoSucceed | |
| b16 | berserkerEnabled | |
| s16 | difficulty | |
| s16 | duration | |
| s16 | escapeChance | |
| s16 | escapeThreshold | |
| b8 | hammerMissedStart | |
| b16 | hitsTakenIsMax | |
| HudElemID | hudElemIDs[16] | |
| s16 | hudPosX | |
| s16 | hudPosY | |
| s16 | hudPrepareTime | |
| b16 | isMeterFilled | |
| s16 | lookBackCounter | |
| s16 | mashMeterCutoffs[6] | |
| s8 | mashMeterNumIntervals | |
| s16 | meterFillLevel | |
| s16 | meterFillWidth | |
| char | pad_63[1] | |
| b8 | playHammerSounds | |
| s16 | prepareTime | |
| b8 | showHud | |
| s16 | state | |
| s16 | stateTimer | |
| s16 | thresholdMoveDir | |
| s32 | workerID | |
| b8 | wrongButtonPressed | |
| s16 | wrongInputFrameCounter | |
| union ActionCommandStatus.__unnamed100__ |
| Data Fields | ||
|---|---|---|
| struct ActionCommandStatus.__unnamed100__.airRaid | airRaid | |
| struct ActionCommandStatus.__unnamed100__.any | any | |
| struct ActionCommandStatus.__unnamed100__.breakFree | breakFree | |
| struct ActionCommandStatus.__unnamed100__.fireShell | fireShell | |
| struct ActionCommandStatus.__unnamed100__.flee | flee | |
| struct ActionCommandStatus.__unnamed100__.smack | smack | |
| struct ActionCommandStatus.__unnamed100__.spinySurge | spinySurge | |
| struct ActionCommandStatus.__unnamed100__.spook | spook | |
| struct ActionCommandStatus.__unnamed100__.squirt | squirt | |
| struct ActionCommandStatus.__unnamed100__.threeChances | threeChances | |
| struct ActionCommandStatus.__unnamed100__.tidalWave | tidalWave | |
| struct ActionCommandStatus.__unnamed100__.airRaid |
| Data Fields | ||
|---|---|---|
| b8 | holdingLeft | |
| struct ActionCommandStatus.__unnamed100__.breakFree |
| Data Fields | ||
|---|---|---|
| s8 | dir | |
| struct ActionCommandStatus.__unnamed100__.fireShell |
| Data Fields | ||
|---|---|---|
| b8 | holdingLeft | |
| struct ActionCommandStatus.__unnamed100__.smack |
| Data Fields | ||
|---|---|---|
| b8 | holdingLeft | |
| struct ActionCommandStatus.__unnamed100__.spinySurge |
| Data Fields | ||
|---|---|---|
| s8 | tossState | |
| struct ActionCommandStatus.__unnamed100__.spook |
| Data Fields | ||
|---|---|---|
| b8 | holdingLeft | |
| struct ActionCommandStatus.__unnamed100__.squirt |
| Data Fields | ||
|---|---|---|
| b8 | draining | |
| #define MAX_MASH_PCT 100 |
| #define MAX_MASH_UNITS (MAX_MASH_PCT * ONE_PCT_MASH) |
Referenced by update().
| #define PCT_TO_TABLE_IDX | ( | table, | |
| pct ) ((pct) / (ONE_PCT_MASH / ARRAY_COUNT(table))) |
Referenced by action_command_update(), and update().
Referenced by calc_enemy_damage_target().
Referenced by initialize_battle().
Referenced by draw().
| void draw_mash_meter_mode_with_divisor | ( | s32 | posX, |
| s32 | posY, | ||
| s32 | fillValue, | ||
| s32 | divisor, | ||
| s32 | colorMode ) |
Referenced by draw().
Referenced by draw().
|
extern |
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 |
|
extern |
Referenced by btl_update_message_popup(), and update().
|
extern |
Referenced by btl_update_message_popup(), and update().
|
extern |
Referenced by btl_update_message_popup().
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
Referenced by btl_update_message_popup(), and update().
|
extern |
Referenced by btl_update_message_popup(), and update().
|
extern |
Referenced by btl_update_message_popup(), and update().
|
extern |
Referenced by btl_update_message_popup().
|
extern |
Referenced by btl_update_message_popup().
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
Referenced by btl_update_message_popup(), and update().
|
extern |
Referenced by btl_update_message_popup().
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
Referenced by btl_update_message_popup(), and update().
|
extern |