|
DCDecomp
A decompilation of Dark Cloud for the PlayStation 2
|
#include <hitvalue.hpp>
Public Member Functions | |
| void | EntryValue (float *world, int amount, int kind, CFrame *frame) |
| void | Draw () |
| void | Step () |
Public Attributes | ||
| sceVu0FVECTOR | pos | |
| CFrame * | frame | |
| union { | ||
| float digit_angle [5] | ||
| float phase [5] | ||
| }; | ||
| union { | ||
| s32 digits [5] | ||
| s32 digit [5] | ||
| }; | ||
| union { | ||
| float alpha | ||
| float opacity | ||
| }; | ||
| union { | ||
| float alpha_speed | ||
| float opacity_speed | ||
| }; | ||
| union { | ||
| s32 last_digit | ||
| s32 unk_44 | ||
| }; | ||
| s32 | kind | |
| RECT | texel | |
| s32 | active | |
Holds one damage number standing over whatever took the hit.
Definition at line 27 of file hitvalue.hpp.
| void CHitValue::EntryValue | ( | float * | world, |
| int | amount, | ||
| int | kind, | ||
| CFrame * | frame | ||
| ) |
Puts one damage number on the screen over what took the hit.
Definition at line 167 of file hitvalue.cpp.
| void CHitValue::Draw | ( | ) |
Draws the damage numbers standing on the screen.
Definition at line 235 of file hitvalue.cpp.
| void CHitValue::Step | ( | ) |
Advances the damage numbers' rise and fade.
Definition at line 283 of file hitvalue.cpp.
| sceVu0FVECTOR CHitValue::pos |
World position the number is drawn above.
Definition at line 29 of file hitvalue.hpp.
| CFrame* CHitValue::frame |
Frame the number follows, or zero to stand still.
Definition at line 30 of file hitvalue.hpp.
| float CHitValue::digit_angle[5] |
Hop angle of each place, rising to pi.
Definition at line 33 of file hitvalue.hpp.
| float CHitValue::phase[5] |
The hop angles, as the entry and draw routines name them.
Definition at line 34 of file hitvalue.hpp.
| s32 CHitValue::digits[5] |
Value of each place; -1 skips its hop and -2 draws the special mark.
Definition at line 38 of file hitvalue.hpp.
| s32 CHitValue::digit[5] |
The place values, as the entry and draw routines name them.
Definition at line 39 of file hitvalue.hpp.
| float CHitValue::alpha |
Opacity of the number, from zero to 128.
Definition at line 43 of file hitvalue.hpp.
| float CHitValue::opacity |
The opacity, as the entry and draw routines name it.
Definition at line 44 of file hitvalue.hpp.
| float CHitValue::alpha_speed |
Amount the opacity changes by each step.
Definition at line 48 of file hitvalue.hpp.
| float CHitValue::opacity_speed |
The opacity change per step, as the entry routine names it.
Definition at line 49 of file hitvalue.hpp.
| s32 CHitValue::last_digit |
Place whose finished hop starts the fade.
Definition at line 53 of file hitvalue.hpp.
| s32 CHitValue::unk_44 |
Definition at line 54 of file hitvalue.hpp.
| s32 CHitValue::kind |
What took the hit, which picks the digit sheet.
Definition at line 57 of file hitvalue.hpp.
| RECT CHitValue::texel |
Rectangle of the sheet one digit is cut from.
Definition at line 58 of file hitvalue.hpp.
| s32 CHitValue::active |
Indicates that the slot is showing a number.
Definition at line 59 of file hitvalue.hpp.