|
DCDecomp
A decompilation of Dark Cloud for the PlayStation 2
|
#include <dispctrl.hpp>
Public Member Functions | |
| void | FadeOutStart (float fade_speed) |
| void | FadeInStart (float fade_speed) |
| void | FadeInit (float start_rate) |
| float | GetRate () |
| float | FadeOut (sceVif1Packet *packet) |
| float | FadeIn (sceVif1Packet *packet) |
Public Attributes | |
| float | rate |
| float | speed |
| s32 | mode |
Controls the black screen curtain used for dungeon transitions.
Definition at line 37 of file dispctrl.hpp.
| void CDispCtrl::FadeOutStart | ( | float | fade_speed | ) |
Starts increasing the curtain alpha at the requested speed.
Definition at line 239 of file dispctrl.cpp.
| void CDispCtrl::FadeInStart | ( | float | fade_speed | ) |
Starts decreasing the curtain alpha at the requested speed.
Definition at line 245 of file dispctrl.cpp.
| void CDispCtrl::FadeInit | ( | float | start_rate | ) |
Sets a fixed curtain alpha without selecting either fade direction.
Definition at line 251 of file dispctrl.cpp.
| float CDispCtrl::GetRate | ( | ) |
Returns the current curtain alpha.
Definition at line 256 of file dispctrl.cpp.
| float CDispCtrl::FadeOut | ( | sceVif1Packet * | packet | ) |
Advances and draws a curtain that is fading to black.
Definition at line 260 of file dispctrl.cpp.
| float CDispCtrl::FadeIn | ( | sceVif1Packet * | packet | ) |
Advances and draws a curtain that is fading from black.
Definition at line 294 of file dispctrl.cpp.
| float CDispCtrl::rate |
Current curtain alpha on the GS zero-to-128 scale.
Definition at line 39 of file dispctrl.hpp.
| float CDispCtrl::speed |
Amount that the curtain alpha changes each step.
Definition at line 40 of file dispctrl.hpp.
| s32 CDispCtrl::mode |
Selects fading out, fading in, or a fixed alpha.
Definition at line 41 of file dispctrl.hpp.