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

Public Member Functions

int Set (float *origin, float *direction, int damage, int element)
 
void Step ()
 

Public Attributes

float position [16][4]
 
float velocity [16][4]
 
s32 damage [16]
 
s32 element [16]
 
s32 age [16]
 

Detailed Description

Definition at line 271 of file shot_effect.hpp.

Member Function Documentation

◆ Set()

int CSHOT_MACHINGUN::Set ( float *  origin,
float *  direction,
int  damage,
int  element 
)

Starts one rapid-fire projectile and returns its slot, or -1 if full.

Mangled name:
Set__15CSHOT_MACHINGUNFPfPfii
Address:
0x1AE660
Size:
0xEC

Starts one rapid-fire projectile from a position along a heading.

Mangled name:
Set__15CSHOT_MACHINGUNFPfPfii
Address:
0x1AE660
Size:
0xEC

Definition at line 626 of file shot_effect.cpp.

◆ Step()

void CSHOT_MACHINGUN::Step ( )

Advances the sixteen rapid-fire projectiles.

Mangled name:
Step__15CSHOT_MACHINGUNFv
Address:
0x1AE750
Size:
0x230

Definition at line 655 of file shot_effect.cpp.

Member Data Documentation

◆ position

float CSHOT_MACHINGUN::position[16][4]

Positions of the sixteen rapid-fire projectiles.

Definition at line 273 of file shot_effect.hpp.

◆ velocity

float CSHOT_MACHINGUN::velocity[16][4]

Movement vectors of the sixteen rapid-fire projectiles.

Definition at line 274 of file shot_effect.hpp.

◆ damage

s32 CSHOT_MACHINGUN::damage[16]

Damage each rapid-fire projectile deals on a monster hit.

Definition at line 275 of file shot_effect.hpp.

◆ element

s32 CSHOT_MACHINGUN::element[16]

Element each rapid-fire projectile was fired with.

Definition at line 276 of file shot_effect.hpp.

◆ age

s32 CSHOT_MACHINGUN::age[16]

Frames each rapid-fire projectile has flown; 0 while the slot is free.

Definition at line 277 of file shot_effect.hpp.