|
DCDecomp
A decompilation of Dark Cloud for the PlayStation 2
|
#include <textureanime.hpp>
Public Member Functions | |
| void | TexAnime (int texture_block) |
| void | Initialize (CTexAnimeData *records, int count) |
| CTextureAnime (CTexAnimeData *records=0, int count=0) | |
| CTexAnimeData * | NewTexAnimeData () |
| CTexAnimeData * | NewTexAnimeGroupData (int group) |
| int | EnterTexAnime (CTexAnimeData *source) |
| void | DisableAll () |
| void | Enable (int group) |
| void | Disable (int group) |
| void | LoadCFGFile (char *script, int script_size) |
Public Attributes | |
| s32 | enabled [24] |
| CTexAnimeData * | first [24] |
| CTexAnimeData * | last [24] |
| CTexAnimeData * | current [24] |
| s32 | frame [24] |
| CTexAnimeData * | data |
| s32 | data_count |
| u8 | unk_1e8 [8] |
Static Public Attributes | |
| static s32 | stop_anime |
Plays groups of texture animation records from a caller-supplied pool.
Definition at line 77 of file textureanime.hpp.
| CTextureAnime::CTextureAnime | ( | CTexAnimeData * | records = 0, |
| int | count = 0 |
||
| ) |
Creates an animation player using the supplied record pool.
Definition at line 230 of file textureanime.cpp.
| void CTextureAnime::TexAnime | ( | int | texture_block | ) |
Uploads one animation group's current textures to the graphics synthesizer.
Definition at line 59 of file textureanime.cpp.
| void CTextureAnime::Initialize | ( | CTexAnimeData * | records, |
| int | count | ||
| ) |
Assigns the record pool and clears every animation group.
Definition at line 217 of file textureanime.cpp.
| CTexAnimeData * CTextureAnime::NewTexAnimeData | ( | ) |
Allocates the next record from the texture-animation pool.
Definition at line 234 of file textureanime.cpp.
| CTexAnimeData * CTextureAnime::NewTexAnimeGroupData | ( | int | group | ) |
Starts a new animation group at the next available pool record.
Definition at line 250 of file textureanime.cpp.
| int CTextureAnime::EnterTexAnime | ( | CTexAnimeData * | source | ) |
Appends one texture-animation record to its selected group.
Definition at line 281 of file textureanime.cpp.
| void CTextureAnime::DisableAll | ( | ) |
Stops and resets every animation group.
Definition at line 305 of file textureanime.cpp.
| void CTextureAnime::Enable | ( | int | group | ) |
Enables playback of one animation group.
Definition at line 311 of file textureanime.cpp.
| void CTextureAnime::Disable | ( | int | group | ) |
Stops one animation group and resets its playback position.
Definition at line 319 of file textureanime.cpp.
| void CTextureAnime::LoadCFGFile | ( | char * | script, |
| int | script_size | ||
| ) |
Runs the texture-animation commands of a configuration script held in memory.
Definition at line 347 of file textureanime.cpp.
|
static |
Stops every texture animation from advancing while it is non-zero.
Definition at line 84 of file textureanime.hpp.
| s32 CTextureAnime::enabled[24] |
Enables playback for each animation group.
Definition at line 86 of file textureanime.hpp.
| CTexAnimeData* CTextureAnime::first[24] |
Points to each group's first animation record.
Definition at line 87 of file textureanime.hpp.
| CTexAnimeData* CTextureAnime::last[24] |
Points to each group's last animation record.
Definition at line 88 of file textureanime.hpp.
| CTexAnimeData* CTextureAnime::current[24] |
Points to the record being played by each group.
Definition at line 89 of file textureanime.hpp.
| s32 CTextureAnime::frame[24] |
Counts playback frames for each group's current record.
Definition at line 90 of file textureanime.hpp.
| CTexAnimeData* CTextureAnime::data |
Holds the animation record pool.
Definition at line 91 of file textureanime.hpp.
| s32 CTextureAnime::data_count |
Gives the number of records in the pool.
Definition at line 92 of file textureanime.hpp.
| u8 CTextureAnime::unk_1e8[8] |
Definition at line 93 of file textureanime.hpp.