|
DCDecomp
A decompilation of Dark Cloud for the PlayStation 2
|
#include <cursol.hpp>
Public Member Functions | |
| CCursol () | |
| void | Init () |
| int | Move () |
| void | Set (float new_target_y) |
| int | GetSelect () |
| int | GetPos () |
Public Attributes | |
| float | y |
| float | target_y |
| int | alpha [5] |
| int | select |
| char | arrived |
Controls selection and easing for the title menu cursor.
Definition at line 22 of file cursol.hpp.
| CCursol::CCursol | ( | ) |
Constructs a cursor in its initial menu state.
Definition at line 7 of file cursol.cpp.
| void CCursol::Init | ( | ) |
Resets the cursor selection and animation state.
Definition at line 14 of file cursol.cpp.
| int CCursol::Move | ( | ) |
Processes input and advances cursor movement.
Definition at line 29 of file cursol.cpp.
| void CCursol::Set | ( | float | new_target_y | ) |
Sets the cursor's target vertical position.
Definition at line 172 of file cursol.cpp.
| int CCursol::GetSelect | ( | ) |
Returns the currently selected menu row.
Definition at line 176 of file cursol.cpp.
| int CCursol::GetPos | ( | ) |
Returns the cursor's current display position.
Definition at line 180 of file cursol.cpp.
| float CCursol::y |
Height the cursor has eased to.
Definition at line 24 of file cursol.hpp.
| float CCursol::target_y |
Height the cursor is easing towards.
Definition at line 25 of file cursol.hpp.
| int CCursol::alpha[5] |
Opacity of each menu row.
Definition at line 26 of file cursol.hpp.
| int CCursol::select |
| char CCursol::arrived |
Whether the cursor has reached its target.
Definition at line 28 of file cursol.hpp.