|
DCDecomp
A decompilation of Dark Cloud for the PlayStation 2
|
#include <collisiondata.hpp>
Public Attributes | |
| sceVu0FVECTOR | pos |
| sceVu0FVECTOR | base_point |
| sceVu0FVECTOR | velocity |
| u8 | unk_30 [4] |
| s32 | damage |
| float | scale_rate |
| float | radius |
| float | unk_40 |
| s32 | life |
| s32 | target_mask |
| s32 | kind |
| s32 | flags |
| s32 | attribute |
| s32 | owner |
| s32 | monster_no |
| s32 | attack_no |
| char * | vs_monster |
| s32 | target_kind |
| s32 | weapon_flags |
| s32 | phase |
| s32 | ready_phase |
| u8 | unk_78 [8] |
| sceVu0FVECTOR | knockback_origin |
| float | knockback_speed |
| float | knockback_decay |
| s32 | knockback_mode |
| u8 | unk_9C [4] |
Records one hit that the collision test found.
Definition at line 64 of file collisiondata.hpp.
| sceVu0FVECTOR COLLISION_HIT::pos |
Where the hit landed.
Definition at line 65 of file collisiondata.hpp.
| sceVu0FVECTOR COLLISION_HIT::base_point |
Homogeneous point reset to the origin when the hit is recorded.
Definition at line 66 of file collisiondata.hpp.
| sceVu0FVECTOR COLLISION_HIT::velocity |
The way the hit throws what it hit.
Definition at line 67 of file collisiondata.hpp.
| u8 COLLISION_HIT::unk_30[4] |
Definition at line 68 of file collisiondata.hpp.
| s32 COLLISION_HIT::damage |
What the hit takes off.
Definition at line 69 of file collisiondata.hpp.
| float COLLISION_HIT::scale_rate |
Scale factor the hit was recorded with.
Definition at line 70 of file collisiondata.hpp.
| float COLLISION_HIT::radius |
How far from its position the hit reaches.
Definition at line 71 of file collisiondata.hpp.
| float COLLISION_HIT::unk_40 |
Definition at line 72 of file collisiondata.hpp.
| s32 COLLISION_HIT::life |
Steps the hit still tests for.
Definition at line 73 of file collisiondata.hpp.
| s32 COLLISION_HIT::target_mask |
Sides the hit can strike: 1 the player, 2 monsters.
Definition at line 74 of file collisiondata.hpp.
| s32 COLLISION_HIT::kind |
2 for a small hit, 3 for a blow, 4 for a heavy blow.
Definition at line 75 of file collisiondata.hpp.
| s32 COLLISION_HIT::flags |
What the hit does besides damage.
Definition at line 76 of file collisiondata.hpp.
| s32 COLLISION_HIT::attribute |
Attribute value the hit was recorded with.
Definition at line 77 of file collisiondata.hpp.
| s32 COLLISION_HIT::owner |
Identifies what dealt the hit, or -1.
Definition at line 78 of file collisiondata.hpp.
| s32 COLLISION_HIT::monster_no |
Monster that dealt the hit, or -1.
Definition at line 79 of file collisiondata.hpp.
| s32 COLLISION_HIT::attack_no |
Which of its owner's attacks dealt the hit, or -1.
Definition at line 80 of file collisiondata.hpp.
| char* COLLISION_HIT::vs_monster |
The attacker's monster-effectiveness table.
Definition at line 81 of file collisiondata.hpp.
| s32 COLLISION_HIT::target_kind |
Attachment family the hit only harms, or -1.
Definition at line 82 of file collisiondata.hpp.
| s32 COLLISION_HIT::weapon_flags |
Flags of the weapon that dealt the hit.
Definition at line 83 of file collisiondata.hpp.
| s32 COLLISION_HIT::phase |
The hit tests only while this equals ready_phase.
Definition at line 84 of file collisiondata.hpp.
| s32 COLLISION_HIT::ready_phase |
Value phase has to reach before the hit tests.
Definition at line 85 of file collisiondata.hpp.
| u8 COLLISION_HIT::unk_78[8] |
Definition at line 86 of file collisiondata.hpp.
| sceVu0FVECTOR COLLISION_HIT::knockback_origin |
Point the hit pushes what it hit away from.
Definition at line 87 of file collisiondata.hpp.
| float COLLISION_HIT::knockback_speed |
Distance the push moves each step at first.
Definition at line 88 of file collisiondata.hpp.
| float COLLISION_HIT::knockback_decay |
Amount the push slows by each step.
Definition at line 89 of file collisiondata.hpp.
| s32 COLLISION_HIT::knockback_mode |
2 for a hit that pushes what it hit.
Definition at line 90 of file collisiondata.hpp.
| u8 COLLISION_HIT::unk_9C[4] |
Definition at line 91 of file collisiondata.hpp.