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

#include <hit_machingun_effect.hpp>

Public Member Functions

void Set (float *position)
 
void Draw ()
 
void Step ()
 

Public Attributes

float position [16][4]
 
s32 timer [16]
 

Detailed Description

Draws the short muzzle-hit flashes produced by the machine gun.

Definition at line 8 of file hit_machingun_effect.hpp.

Member Function Documentation

◆ Set()

void CHIT_MACHINGUN_EFFECT::Set ( float *  position)

Starts one flash at the specified world position.

Mangled name:
Set__21CHIT_MACHINGUN_EFFECTFPf
Address:
0x1AE980
Size:
0x98

Definition at line 11 of file hit_machingun_effect.cpp.

◆ Draw()

void CHIT_MACHINGUN_EFFECT::Draw ( )

Draws each active machine-gun hit flash.

Mangled name:
Draw__21CHIT_MACHINGUN_EFFECTFv
Address:
0x1AEA20
Size:
0xB0

Definition at line 27 of file hit_machingun_effect.cpp.

◆ Step()

void CHIT_MACHINGUN_EFFECT::Step ( )

Advances the lifetime of each active flash.

Mangled name:
Step__21CHIT_MACHINGUN_EFFECTFv
Address:
0x1AEAD0
Size:
0x48

Definition at line 38 of file hit_machingun_effect.cpp.

Member Data Documentation

◆ position

float CHIT_MACHINGUN_EFFECT::position[16][4]

World positions of the active flashes.

Definition at line 10 of file hit_machingun_effect.hpp.

◆ timer

s32 CHIT_MACHINGUN_EFFECT::timer[16]

Remaining frame counts of the flashes.

Definition at line 11 of file hit_machingun_effect.hpp.