|
DCDecomp
A decompilation of Dark Cloud for the PlayStation 2
|
#include <dispfade.hpp>
Public Member Functions | |
| void | FadeOutStart (float speed, int colour) |
| void | FadeInStart (float speed, int colour) |
| void | FadeInit (float initial_rate) |
| float | GetRate () |
| float | FadeOut (sceVif1Packet *packet) |
| float | FadeIn (sceVif1Packet *packet) |
Public Attributes | |
| float | fade_rate |
| float | fade_speed |
| s32 | mode |
| s32 | fade_colour |
Controls the title overlay's black or white full-screen fade.
Definition at line 10 of file dispfade.hpp.
| void CDispFade::FadeOutStart | ( | float | speed, |
| int | colour | ||
| ) |
Starts increasing the screen-cover alpha.
Definition at line 9 of file dispfade.cpp.
| void CDispFade::FadeInStart | ( | float | speed, |
| int | colour | ||
| ) |
Starts decreasing the screen-cover alpha.
Definition at line 15 of file dispfade.cpp.
| void CDispFade::FadeInit | ( | float | initial_rate | ) |
Resets the fade to an idle state at a chosen alpha.
Definition at line 21 of file dispfade.cpp.
| float CDispFade::GetRate | ( | ) |
Returns the current screen-cover alpha.
Definition at line 27 of file dispfade.cpp.
| float CDispFade::FadeOut | ( | sceVif1Packet * | packet | ) |
Advances and draws a fade towards an opaque screen.
Definition at line 31 of file dispfade.cpp.
| float CDispFade::FadeIn | ( | sceVif1Packet * | packet | ) |
Advances and draws a fade towards a clear screen.
Definition at line 92 of file dispfade.cpp.
| float CDispFade::fade_rate |
Current GS alpha on the zero-to-128 scale.
Definition at line 12 of file dispfade.hpp.
| float CDispFade::fade_speed |
Amount by which the alpha changes each frame.
Definition at line 13 of file dispfade.hpp.
| s32 CDispFade::mode |
Active direction: one fades out, two fades in, and minus one is idle.
Definition at line 14 of file dispfade.hpp.
| s32 CDispFade::fade_colour |
Zero selects black and any nonzero value selects white.
Definition at line 15 of file dispfade.hpp.