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

Public Attributes

s32 life_max
 
s32 life
 
s32 x
 
s32 y
 
s32 on
 
s32 draw
 

Detailed Description

Defines the life gauge that the locked-on enemy draws above itself.

Definition at line 131 of file gameloop.cpp.

Member Data Documentation

◆ life_max

s32 ENEMY_LIFE_GAGE::life_max

Specifies the life the enemy has at full health.

Definition at line 132 of file gameloop.cpp.

◆ life

s32 ENEMY_LIFE_GAGE::life

Specifies the life the enemy has now.

Definition at line 133 of file gameloop.cpp.

◆ x

s32 ENEMY_LIFE_GAGE::x

Specifies the left edge of the gauge, in screen pixels.

Definition at line 134 of file gameloop.cpp.

◆ y

s32 ENEMY_LIFE_GAGE::y

Specifies the top edge of the gauge, in screen pixels.

Definition at line 135 of file gameloop.cpp.

◆ on

s32 ENEMY_LIFE_GAGE::on

Whether an enemy is locked on.

Definition at line 136 of file gameloop.cpp.

◆ draw

s32 ENEMY_LIFE_GAGE::draw

Whether the gauge draws this frame.

Definition at line 137 of file gameloop.cpp.