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

Public Member Functions

void draw ()
 
void step ()
 

Public Attributes

u8 unk_000 [0x40]
 
sceVu0FVECTOR pos [12]
 
sceVu0FVECTOR unk_100 [12]
 
sceVu0FVECTOR vector [12]
 
s32 halted [12]
 
s32 life [12]
 
s32 damage [12]
 
float size [12]
 
s32 unk_340 [12]
 
s32 unk_370 [12]
 
s32 start_flag [12]
 
s32 used [12]
 

Detailed Description

Definition at line 235 of file shot_effect.hpp.

Member Function Documentation

◆ draw()

void CSHOT::draw ( )

Draws the twelve projectiles of one shot.

Mangled name:
draw__5CSHOTFv
Address:
0x1ABC40
Size:
0xCC

Definition at line 30 of file shot_effect.cpp.

◆ step()

void CSHOT::step ( )

Advances the twelve projectiles of one shot.

Mangled name:
step__5CSHOTFv
Address:
0x1ABD10
Size:
0x204

Definition at line 54 of file shot_effect.cpp.

Member Data Documentation

◆ unk_000

u8 CSHOT::unk_000[0x40]

Definition at line 237 of file shot_effect.hpp.

◆ pos

sceVu0FVECTOR CSHOT::pos[12]

Where each shot is.

Definition at line 238 of file shot_effect.hpp.

◆ unk_100

sceVu0FVECTOR CSHOT::unk_100[12]

Definition at line 239 of file shot_effect.hpp.

◆ vector

sceVu0FVECTOR CSHOT::vector[12]

The way each shot flies, and how fast.

Definition at line 240 of file shot_effect.hpp.

◆ halted

s32 CSHOT::halted[12]

Nonzero while each shot is held in place and skips collision and movement.

Definition at line 241 of file shot_effect.hpp.

◆ life

s32 CSHOT::life[12]

How long each shot has left, in frames.

Definition at line 242 of file shot_effect.hpp.

◆ damage

s32 CSHOT::damage[12]

What each shot takes off what it hits.

Definition at line 243 of file shot_effect.hpp.

◆ size

float CSHOT::size[12]

Sprite size each shot is drawn at.

Definition at line 244 of file shot_effect.hpp.

◆ unk_340

s32 CSHOT::unk_340[12]

Definition at line 245 of file shot_effect.hpp.

◆ unk_370

s32 CSHOT::unk_370[12]

Definition at line 246 of file shot_effect.hpp.

◆ start_flag

s32 CSHOT::start_flag[12]

Flag cleared whenever a slot takes a new shot.

Definition at line 247 of file shot_effect.hpp.

◆ used

s32 CSHOT::used[12]

1 while the slot holds a shot.

Definition at line 248 of file shot_effect.hpp.