|
DCDecomp
A decompilation of Dark Cloud for the PlayStation 2
|
Public Member Functions | |
| void | Initialize (int size) |
| void | SetBuffer (u_long128 *buffer, int size) |
| int | SearchTextureName (char *name, int block) |
| int | GetTextureHandle (char *name, int block) |
| CTexture * | GetTexture (int handle) |
| CTexture * | GetTexture (char *name, int block) |
| CTexture * | SearchTexture (char *name) |
| void | EnterTexture (int block, char *name, u_char *image, int width, int height, int bpp, u_char *clut, int clut_colors, int mipmap, u_char *mip1, u_char *mip2, u_char *mip3, u_long tex1, int swizzled) |
| void | EnterTextureEX (int block, char *name, u_char *image, int width, int height, int bpp, u_char *clut, int clut_colors, int mipmap, u_char *mip1, u_char *mip2, u_char *mip3, u_long tex1, int swizzled) |
| void | EnterFixTexture (char *name, u_char *image, int width, int height, int bpp, u_char *clut, int clut_colors, int mipmap, u_char *mip1, u_char *mip2, u_char *mip3, u_long tex1, int swizzled) |
| void | EnterFixTextureZ (u_char *buffer) |
| void | EnterIMGFile (u_char *buffer, int block, int mipmap, int extend) |
| void | ReloadTexture (sceVif1Packet *packet, int block) |
| void | BeginEnterTextureBlock (int block) |
| void | EndEnterTextureBlock (int block) |
| int | DeleteTextureBlock (int block) |
| int | CleanUpBuffer () |
| int | CleanUpTextureList () |
| int | LoadTextureBlock (int block, u_int *buffer) |
| int | LoadTextureBlock (int block, LOADTEXTURE_INFO *table, u_int *buffer) |
| int | LoadTextureBlock (int block, LOADTEXTURE_INFO2 *table) |
| int | LoadTextureBlockEX (int block, LOADTEXTURE_INFO2 *table) |
| int | EnterTextureFile (LOADTEXTURE_INFO *table) |
| void | print_buff_info () |
Public Attributes | |
| int | texture_max |
| int | vram_work |
| int | vram_size |
| int | last_block |
| int | vram_max |
| int | vram_fix |
| CTextureBlock | blocks [72] |
| CTexture | textures [196] |
| u_long128 * | buffer |
| int | buffer_used |
| int | buffer_size |
| LOADTEXTURE_INFO * | file |
Definition at line 91 of file texture.hpp.
|
inline |
Definition at line 106 of file texture.hpp.
| void CTextureManager::Initialize | ( | int | size | ) |
Definition at line 70 of file texture.cpp.
| void CTextureManager::SetBuffer | ( | u_long128 * | buffer, |
| int | size | ||
| ) |
Definition at line 118 of file texture.cpp.
| int CTextureManager::SearchTextureName | ( | char * | name, |
| int | block | ||
| ) |
Definition at line 135 of file texture.cpp.
| int CTextureManager::GetTextureHandle | ( | char * | name, |
| int | block | ||
| ) |
Definition at line 173 of file texture.cpp.
| CTexture * CTextureManager::GetTexture | ( | int | handle | ) |
Definition at line 183 of file texture.cpp.
| CTexture * CTextureManager::GetTexture | ( | char * | name, |
| int | block | ||
| ) |
Finds a named texture in one block, or in every block when the block is negative.
Definition at line 191 of file texture.cpp.
| CTexture * CTextureManager::SearchTexture | ( | char * | name | ) |
Definition at line 201 of file texture.cpp.
| void CTextureManager::EnterTexture | ( | int | block, |
| char * | name, | ||
| u_char * | image, | ||
| int | width, | ||
| int | height, | ||
| int | bpp, | ||
| u_char * | clut, | ||
| int | clut_colors, | ||
| int | mipmap, | ||
| u_char * | mip1, | ||
| u_char * | mip2, | ||
| u_char * | mip3, | ||
| u_long | tex1, | ||
| int | swizzled | ||
| ) |
Definition at line 222 of file texture.cpp.
| void CTextureManager::EnterTextureEX | ( | int | block, |
| char * | name, | ||
| u_char * | image, | ||
| int | width, | ||
| int | height, | ||
| int | bpp, | ||
| u_char * | clut, | ||
| int | clut_colors, | ||
| int | mipmap, | ||
| u_char * | mip1, | ||
| u_char * | mip2, | ||
| u_char * | mip3, | ||
| u_long | tex1, | ||
| int | swizzled | ||
| ) |
Definition at line 444 of file texture.cpp.
| void CTextureManager::EnterFixTexture | ( | char * | name, |
| u_char * | image, | ||
| int | width, | ||
| int | height, | ||
| int | bpp, | ||
| u_char * | clut, | ||
| int | clut_colors, | ||
| int | mipmap, | ||
| u_char * | mip1, | ||
| u_char * | mip2, | ||
| u_char * | mip3, | ||
| u_long | tex1, | ||
| int | swizzled | ||
| ) |
Definition at line 619 of file texture.cpp.
| void CTextureManager::EnterFixTextureZ | ( | u_char * | buffer | ) |
Definition at line 839 of file texture.cpp.
| void CTextureManager::EnterIMGFile | ( | u_char * | buffer, |
| int | block, | ||
| int | mipmap, | ||
| int | extend | ||
| ) |
Definition at line 924 of file texture.cpp.
| void CTextureManager::ReloadTexture | ( | sceVif1Packet * | packet, |
| int | block | ||
| ) |
Definition at line 1076 of file texture.cpp.
| void CTextureManager::BeginEnterTextureBlock | ( | int | block | ) |
Definition at line 1195 of file texture.cpp.
| void CTextureManager::EndEnterTextureBlock | ( | int | block | ) |
Definition at line 1224 of file texture.cpp.
| int CTextureManager::DeleteTextureBlock | ( | int | block | ) |
Definition at line 1251 of file texture.cpp.
| int CTextureManager::CleanUpBuffer | ( | ) |
Definition at line 1278 of file texture.cpp.
| int CTextureManager::CleanUpTextureList | ( | ) |
Definition at line 1375 of file texture.cpp.
| int CTextureManager::LoadTextureBlock | ( | int | block, |
| u_int * | buffer | ||
| ) |
Definition at line 1478 of file texture.cpp.
| int CTextureManager::LoadTextureBlock | ( | int | block, |
| LOADTEXTURE_INFO * | table, | ||
| u_int * | buffer | ||
| ) |
Definition at line 1482 of file texture.cpp.
| int CTextureManager::LoadTextureBlock | ( | int | block, |
| LOADTEXTURE_INFO2 * | table | ||
| ) |
Definition at line 1538 of file texture.cpp.
| int CTextureManager::LoadTextureBlockEX | ( | int | block, |
| LOADTEXTURE_INFO2 * | table | ||
| ) |
Definition at line 1594 of file texture.cpp.
| int CTextureManager::EnterTextureFile | ( | LOADTEXTURE_INFO * | table | ) |
Definition at line 1653 of file texture.cpp.
| void CTextureManager::print_buff_info | ( | ) |
Definition at line 1839 of file texture.cpp.
| int CTextureManager::texture_max |
Upper bound of the texture indices searched.
Definition at line 93 of file texture.hpp.
| int CTextureManager::vram_work |
VRAM address of the working area.
Definition at line 94 of file texture.hpp.
| int CTextureManager::vram_size |
Top of the VRAM the registry manages.
Definition at line 95 of file texture.hpp.
| int CTextureManager::last_block |
Block most recently uploaded by ReloadTexture, or -1.
Definition at line 96 of file texture.hpp.
| int CTextureManager::vram_max |
Highest VRAM address a block may reach.
Definition at line 97 of file texture.hpp.
| int CTextureManager::vram_fix |
Bottom of the fixed textures' VRAM, which grows downwards.
Definition at line 98 of file texture.hpp.
| CTextureBlock CTextureManager::blocks[72] |
Managed texture blocks.
Definition at line 99 of file texture.hpp.
| CTexture CTextureManager::textures[196] |
Registered textures.
Definition at line 100 of file texture.hpp.
| u_long128* CTextureManager::buffer |
Staging buffer the blocks' pixels are copied into.
Definition at line 101 of file texture.hpp.
| int CTextureManager::buffer_used |
Quadwords of the staging buffer in use.
Definition at line 102 of file texture.hpp.
| int CTextureManager::buffer_size |
Quadwords the staging buffer holds.
Definition at line 103 of file texture.hpp.
| LOADTEXTURE_INFO* CTextureManager::file |
Texture table the two-argument LoadTextureBlock loads from.
Definition at line 104 of file texture.hpp.