DCDecomp
A decompilation of Dark Cloud for the PlayStation 2
Loading...
Searching...
No Matches
BT_ACT_STATUS Struct Reference

#include <btactstatus.hpp>

Public Attributes

s32 player_visible
 
s32 main_motion
 
s32 hand_motion
 
s32 motion_no
 
s32 action_on
 
s32 action_no
 
s32 action_step
 
float charge_time
 
s32 recoil_frames
 
s32 invincible_frames
 
s32 unk_028
 
s32 unk_02C
 
float jump_velocity_x
 
float jump_velocity_y
 
float jump_velocity_z
 
float unk_03C
 
s32 jumping
 
float ground_height
 
float action_gauge
 
s32 gauge_flash
 
s32 unk_050
 
s32 shadow_visible
 
s32 weapon_visible
 
s32 charge_level
 
s32 guard_mode
 
s16 can_act
 
s16 unk_066
 
s32 slow_walking
 
s32 camera_hold
 
s32 action_busy
 
u8 unk_074 [0xC]
 
sceVu0FVECTOR target_position
 
s16 foot_sound
 
s16 ground_kind
 
s16 in_water
 
s16 unk_096
 
s32 movement_locked
 
s32 in_presentation
 
s32 gun_type
 
s32 gauge_exhausted
 
s32 monstor_target
 
u8 unk_0AC [8]
 
float move_x
 
float move_z
 
float stick_strength
 
sceVu0FVECTOR input_direction
 
sceVu0FVECTOR script_move_vector
 
s32 frames_since_attack
 
s32 swapped_on_death
 
s32 combo_window
 
s32 unk_0EC
 
s32 combo_queued
 
float swing_heading
 
s32 refill_frames
 
s32 unk_0FC
 
sceVu0FVECTOR move_vector
 
float move_power
 
float move_power_decay
 
float camera_shake
 
float camera_shake_decay
 
float camera_shake_offset
 
s32 camera_shake_frames
 
s32 fast_camera_frames
 
u8 unk_12C [0x18]
 
s16 hud_shake_frames
 
s16 hud_shake_y
 
s16 event_block_frames
 
s16 swinging
 
s16 special_cooldown
 
s16 unk_14E
 

Detailed Description

Defines what the player is doing in the dungeon this frame.

Definition at line 10 of file btactstatus.hpp.

Member Data Documentation

◆ player_visible

s32 BT_ACT_STATUS::player_visible

1 while the player character is drawn and animated; 0 in the first-person view.

Definition at line 11 of file btactstatus.hpp.

◆ main_motion

s32 BT_ACT_STATUS::main_motion

Motion last handed to the player character, or -1 to hand it over again.

Definition at line 12 of file btactstatus.hpp.

◆ hand_motion

s32 BT_ACT_STATUS::hand_motion

Motion last handed to the first-person hand model, or -1 to hand it over again.

Definition at line 13 of file btactstatus.hpp.

◆ motion_no

s32 BT_ACT_STATUS::motion_no

Motion the player character plays this frame.

Definition at line 14 of file btactstatus.hpp.

◆ action_on

s32 BT_ACT_STATUS::action_on

Whether an action is running.

Definition at line 15 of file btactstatus.hpp.

◆ action_no

s32 BT_ACT_STATUS::action_no

Which action is running.

Definition at line 16 of file btactstatus.hpp.

◆ action_step

s32 BT_ACT_STATUS::action_step

How far through the action the player is.

Definition at line 17 of file btactstatus.hpp.

◆ charge_time

float BT_ACT_STATUS::charge_time

How long the running action has been charged.

Definition at line 18 of file btactstatus.hpp.

◆ recoil_frames

s32 BT_ACT_STATUS::recoil_frames

Frames left of the player's recoil from a hit, during which no further hit lands.

Definition at line 19 of file btactstatus.hpp.

◆ invincible_frames

s32 BT_ACT_STATUS::invincible_frames

Frames left in which no hit lands on the player.

Definition at line 20 of file btactstatus.hpp.

◆ unk_028

s32 BT_ACT_STATUS::unk_028

Definition at line 21 of file btactstatus.hpp.

◆ unk_02C

s32 BT_ACT_STATUS::unk_02C

Definition at line 22 of file btactstatus.hpp.

◆ jump_velocity_x

float BT_ACT_STATUS::jump_velocity_x

X component of the velocity a jumping action carries the player along.

Definition at line 23 of file btactstatus.hpp.

◆ jump_velocity_y

float BT_ACT_STATUS::jump_velocity_y

Y component of the jump velocity, pulled down by gravity each frame.

Definition at line 24 of file btactstatus.hpp.

◆ jump_velocity_z

float BT_ACT_STATUS::jump_velocity_z

Z component of the jump velocity.

Definition at line 25 of file btactstatus.hpp.

◆ unk_03C

float BT_ACT_STATUS::unk_03C

Definition at line 26 of file btactstatus.hpp.

◆ jumping

s32 BT_ACT_STATUS::jumping

1 while the jump velocity carries the player.

Definition at line 27 of file btactstatus.hpp.

◆ ground_height

float BT_ACT_STATUS::ground_height

Height of the player above the ground beneath them.

Definition at line 28 of file btactstatus.hpp.

◆ action_gauge

float BT_ACT_STATUS::action_gauge

Weapon action gauge, from 0 to 100, that special actions spend.

Definition at line 29 of file btactstatus.hpp.

◆ gauge_flash

s32 BT_ACT_STATUS::gauge_flash

Frames left of the flash the action gauge shows on filling.

Definition at line 30 of file btactstatus.hpp.

◆ unk_050

s32 BT_ACT_STATUS::unk_050

Definition at line 31 of file btactstatus.hpp.

◆ shadow_visible

s32 BT_ACT_STATUS::shadow_visible

1 while the player character's shadow is drawn and animated.

Definition at line 32 of file btactstatus.hpp.

◆ weapon_visible

s32 BT_ACT_STATUS::weapon_visible

1 while the player's weapon is drawn.

Definition at line 33 of file btactstatus.hpp.

◆ charge_level

s32 BT_ACT_STATUS::charge_level

Charge stages the running action has reached; each flashes the character.

Definition at line 34 of file btactstatus.hpp.

◆ guard_mode

s32 BT_ACT_STATUS::guard_mode

5 while the player holds a guard and may walk slowly; 0 otherwise.

Definition at line 35 of file btactstatus.hpp.

◆ can_act

s16 BT_ACT_STATUS::can_act

1 while the player may use an item, start an event or begin an action.

Definition at line 36 of file btactstatus.hpp.

◆ unk_066

s16 BT_ACT_STATUS::unk_066

Definition at line 37 of file btactstatus.hpp.

◆ slow_walking

s32 BT_ACT_STATUS::slow_walking

1 while the player walks slowly through a charge or guard, which stops the camera turning.

Definition at line 38 of file btactstatus.hpp.

◆ camera_hold

s32 BT_ACT_STATUS::camera_hold

1 while the fallen player's message holds the camera still.

Definition at line 39 of file btactstatus.hpp.

◆ action_busy

s32 BT_ACT_STATUS::action_busy

1 while an item or special action holds the player, blocking the first-person view.

Definition at line 40 of file btactstatus.hpp.

◆ unk_074

u8 BT_ACT_STATUS::unk_074[0xC]

Definition at line 41 of file btactstatus.hpp.

◆ target_position

sceVu0FVECTOR BT_ACT_STATUS::target_position

World position of the monster the player is locked on to.

Definition at line 42 of file btactstatus.hpp.

◆ foot_sound

s16 BT_ACT_STATUS::foot_sound

Foot sound set of the ground the player stands on.

Definition at line 43 of file btactstatus.hpp.

◆ ground_kind

s16 BT_ACT_STATUS::ground_kind

Kind of ground the player stands on.

Definition at line 44 of file btactstatus.hpp.

◆ in_water

s16 BT_ACT_STATUS::in_water

1 while the player stands in water deep enough to stop actions.

Definition at line 45 of file btactstatus.hpp.

◆ unk_096

s16 BT_ACT_STATUS::unk_096

Definition at line 46 of file btactstatus.hpp.

◆ movement_locked

s32 BT_ACT_STATUS::movement_locked

1 while a status ailment or a script holds the player still.

Definition at line 47 of file btactstatus.hpp.

◆ in_presentation

s32 BT_ACT_STATUS::in_presentation

1 while a pickup or escape presentation runs, which suppresses the player's status tint.

Definition at line 48 of file btactstatus.hpp.

◆ gun_type

s32 BT_ACT_STATUS::gun_type

Which of Osmond's three firing styles his equipped gun uses.

Definition at line 49 of file btactstatus.hpp.

◆ gauge_exhausted

s32 BT_ACT_STATUS::gauge_exhausted

1 once a gun has drained the action gauge, until it fills again.

Definition at line 50 of file btactstatus.hpp.

◆ monstor_target

s32 BT_ACT_STATUS::monstor_target

Character the monsters last hit, or -1.

Definition at line 51 of file btactstatus.hpp.

◆ unk_0AC

u8 BT_ACT_STATUS::unk_0AC[8]

Definition at line 52 of file btactstatus.hpp.

◆ move_x

float BT_ACT_STATUS::move_x

World X component of the stick input, turned by the camera angle.

Definition at line 53 of file btactstatus.hpp.

◆ move_z

float BT_ACT_STATUS::move_z

World Z component of the stick input, turned by the camera angle.

Definition at line 54 of file btactstatus.hpp.

◆ stick_strength

float BT_ACT_STATUS::stick_strength

How far the stick is pushed.

Definition at line 55 of file btactstatus.hpp.

◆ input_direction

sceVu0FVECTOR BT_ACT_STATUS::input_direction

Horizontal world direction the stick points.

Definition at line 56 of file btactstatus.hpp.

◆ script_move_vector

sceVu0FVECTOR BT_ACT_STATUS::script_move_vector

Vector _GET_MOVE_VEC hands to a monster script.

Definition at line 57 of file btactstatus.hpp.

◆ frames_since_attack

s32 BT_ACT_STATUS::frames_since_attack

Frames since the player last attacked, up to 3600; a guarding monster the player does not face reads it as 3600.

Definition at line 58 of file btactstatus.hpp.

◆ swapped_on_death

s32 BT_ACT_STATUS::swapped_on_death

1 when a party member was changed in after one fell, giving the newcomer a spell of invincibility.

Definition at line 59 of file btactstatus.hpp.

◆ combo_window

s32 BT_ACT_STATUS::combo_window

1 while the running swing accepts the press for the next swing of a combo.

Definition at line 60 of file btactstatus.hpp.

◆ unk_0EC

s32 BT_ACT_STATUS::unk_0EC

Definition at line 61 of file btactstatus.hpp.

◆ combo_queued

s32 BT_ACT_STATUS::combo_queued

1 once the next swing of the combo has been asked for.

Definition at line 62 of file btactstatus.hpp.

◆ swing_heading

float BT_ACT_STATUS::swing_heading

Heading the next swing of the combo turns the player to.

Definition at line 63 of file btactstatus.hpp.

◆ refill_frames

s32 BT_ACT_STATUS::refill_frames

Frames, up to ten, the action gauge has been refilling since the last combo press.

Definition at line 64 of file btactstatus.hpp.

◆ unk_0FC

s32 BT_ACT_STATUS::unk_0FC

Definition at line 65 of file btactstatus.hpp.

◆ move_vector

sceVu0FVECTOR BT_ACT_STATUS::move_vector

Specifies the way the player's action pushes them.

Definition at line 66 of file btactstatus.hpp.

◆ move_power

float BT_ACT_STATUS::move_power

Specifies how hard the player's action pushes them along.

Definition at line 67 of file btactstatus.hpp.

◆ move_power_decay

float BT_ACT_STATUS::move_power_decay

Specifies how much move power one frame takes away.

Definition at line 68 of file btactstatus.hpp.

◆ camera_shake

float BT_ACT_STATUS::camera_shake

Height the camera shakes by.

Definition at line 69 of file btactstatus.hpp.

◆ camera_shake_decay

float BT_ACT_STATUS::camera_shake_decay

Amount the camera shake loses each frame.

Definition at line 70 of file btactstatus.hpp.

◆ camera_shake_offset

float BT_ACT_STATUS::camera_shake_offset

Height the shake adds to the camera this frame.

Definition at line 71 of file btactstatus.hpp.

◆ camera_shake_frames

s32 BT_ACT_STATUS::camera_shake_frames

Frames left of the camera shake.

Definition at line 72 of file btactstatus.hpp.

◆ fast_camera_frames

s32 BT_ACT_STATUS::fast_camera_frames

Frames left in which the lock-on camera follows at its fast speed.

Definition at line 73 of file btactstatus.hpp.

◆ unk_12C

u8 BT_ACT_STATUS::unk_12C[0x18]

Definition at line 74 of file btactstatus.hpp.

◆ hud_shake_frames

s16 BT_ACT_STATUS::hud_shake_frames

Frames remaining in the status panel shake.

Definition at line 75 of file btactstatus.hpp.

◆ hud_shake_y

s16 BT_ACT_STATUS::hud_shake_y

Vertical pixel offset applied to the status panel shake.

Definition at line 76 of file btactstatus.hpp.

◆ event_block_frames

s16 BT_ACT_STATUS::event_block_frames

Frames left before the confirm button may start a map event again.

Definition at line 77 of file btactstatus.hpp.

◆ swinging

s16 BT_ACT_STATUS::swinging

Set each frame a special swing is in motion, stopping the action gauge refilling.

Definition at line 78 of file btactstatus.hpp.

◆ special_cooldown

s16 BT_ACT_STATUS::special_cooldown

Frames before another special attack may start.

Definition at line 79 of file btactstatus.hpp.

◆ unk_14E

s16 BT_ACT_STATUS::unk_14E

Definition at line 80 of file btactstatus.hpp.