|
DCDecomp
A decompilation of Dark Cloud for the PlayStation 2
|
#include <shot_effect_pack.hpp>
Public Member Functions | |
| void | Set (int index, float *position, float *direction) |
| int | Entry (BT_SHOT_EFFECT *description, unsigned int *resource, int texture_block, CDataAlloc2< 1 > *allocator, int slots) |
| void | SetUserID2 (int id) |
| void | SetDmg (int damage) |
Public Attributes | |
| CSHOT_EFFECT | effect [5] |
| s32 | current_effect |
Holds the projectile effects the dungeon can run, and which one is being set up.
Definition at line 12 of file shot_effect_pack.hpp.
|
inline |
Fires one effect from a position in a direction, and selects it.
Definition at line 21 of file shot_effect_pack.hpp.
| int CSHOT_EFFECT_PACK::Entry | ( | BT_SHOT_EFFECT * | description, |
| unsigned int * | resource, | ||
| int | texture_block, | ||
| CDataAlloc2< 1 > * | allocator, | ||
| int | slots | ||
| ) |
Loads an effect into a free slot, and returns the slot, or -1 when none is free.
Definition at line 591 of file shot_effect.cpp.
| void CSHOT_EFFECT_PACK::SetUserID2 | ( | int | id | ) |
Definition at line 607 of file shot_effect.cpp.
| void CSHOT_EFFECT_PACK::SetDmg | ( | int | damage | ) |
Definition at line 613 of file shot_effect.cpp.
| CSHOT_EFFECT CSHOT_EFFECT_PACK::effect[5] |
The effects the dungeon can run.
Definition at line 14 of file shot_effect_pack.hpp.
| s32 CSHOT_EFFECT_PACK::current_effect |
Effect that SetUserID2 and SetDmg apply to.
Definition at line 16 of file shot_effect_pack.hpp.