|
DCDecomp
A decompilation of Dark Cloud for the PlayStation 2
|
#include <textureanime.hpp>
Public Member Functions | |
| void | Initialize () |
| CTexAnimeData () | |
Public Attributes | |
| s16 | kind |
| s16 | group |
| s16 | duration |
| s16 | linked_group |
| CTextureTexAnime | first_texture |
| CTextureTexAnime | second_texture |
| s16 | source_x |
| s16 | source_y |
| s16 | source_width |
| s16 | source_height |
| s16 | dest_x |
| s16 | dest_y |
| float | scroll_x_step |
| float | scroll_y_step |
| float | scroll_x |
| float | scroll_y |
| CTexAnimeData * | next |
Animates the texture of one part of a model.
Definition at line 33 of file textureanime.hpp.
| CTexAnimeData::CTexAnimeData | ( | ) |
Constructs an inactive texture-animation record.
Definition at line 33 of file textureanime.cpp.
| void CTexAnimeData::Initialize | ( | ) |
Sets the animation to play no frame.
Definition at line 37 of file textureanime.cpp.
| s16 CTexAnimeData::kind |
Record kind: -1 free, 0 rectangle copy, 1 scrolling copy.
Definition at line 35 of file textureanime.hpp.
| s16 CTexAnimeData::group |
Animation group the record belongs to.
Definition at line 36 of file textureanime.hpp.
| s16 CTexAnimeData::duration |
Frames the record plays for; zero also plays the next record, -1 holds forever.
Definition at line 37 of file textureanime.hpp.
| s16 CTexAnimeData::linked_group |
Group enabled while the record plays, or -1 for none.
Definition at line 38 of file textureanime.hpp.
| CTextureTexAnime CTexAnimeData::first_texture |
First texture endpoint used by the animation.
Definition at line 39 of file textureanime.hpp.
| CTextureTexAnime CTexAnimeData::second_texture |
Second texture endpoint used by the animation.
Definition at line 40 of file textureanime.hpp.
| s16 CTexAnimeData::source_x |
Left edge of the rectangle copied from the first texture.
Definition at line 41 of file textureanime.hpp.
| s16 CTexAnimeData::source_y |
Top edge of the rectangle copied from the first texture.
Definition at line 42 of file textureanime.hpp.
| s16 CTexAnimeData::source_width |
Width of the rectangle copied from the first texture.
Definition at line 43 of file textureanime.hpp.
| s16 CTexAnimeData::source_height |
Height of the rectangle copied from the first texture.
Definition at line 44 of file textureanime.hpp.
| s16 CTexAnimeData::dest_x |
Left edge the rectangle is copied to in the second texture.
Definition at line 45 of file textureanime.hpp.
| s16 CTexAnimeData::dest_y |
Top edge the rectangle is copied to in the second texture.
Definition at line 46 of file textureanime.hpp.
| float CTexAnimeData::scroll_x_step |
Horizontal texture-scroll increment per frame.
Definition at line 47 of file textureanime.hpp.
| float CTexAnimeData::scroll_y_step |
Vertical texture-scroll increment per frame.
Definition at line 48 of file textureanime.hpp.
| float CTexAnimeData::scroll_x |
Current horizontal texture-scroll offset.
Definition at line 49 of file textureanime.hpp.
| float CTexAnimeData::scroll_y |
Current vertical texture-scroll offset.
Definition at line 50 of file textureanime.hpp.
| CTexAnimeData* CTexAnimeData::next |
Links the record to the next animation in its group.
Definition at line 51 of file textureanime.hpp.