mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-15 20:51:14 +00:00
Consistently naming: GetTextureInfo
This commit is contained in:
parent
6c5c06c9dd
commit
6fac922c57
@ -363,7 +363,7 @@ LegoResult LegoLOD::FUN_100aad70(LegoTextureInfo* p_textureInfo)
|
|||||||
}
|
}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x100aadc0
|
// FUNCTION: LEGO1 0x100aadc0
|
||||||
LegoResult LegoLOD::GetTexture(LegoTextureInfo*& p_textureInfo)
|
LegoResult LegoLOD::GetTextureInfo(LegoTextureInfo*& p_textureInfo)
|
||||||
{
|
{
|
||||||
for (LegoU32 i = m_meshOffset; i < m_numMeshes; i++) {
|
for (LegoU32 i = m_meshOffset; i < m_numMeshes; i++) {
|
||||||
if (m_melems[i].m_unk0x04) {
|
if (m_melems[i].m_unk0x04) {
|
||||||
|
|||||||
@ -33,7 +33,7 @@ class LegoLOD : public ViewLOD {
|
|||||||
LegoResult SetTextureInfo(LegoTextureInfo* p_textureInfo);
|
LegoResult SetTextureInfo(LegoTextureInfo* p_textureInfo);
|
||||||
LegoResult FUN_100aad70(LegoTextureInfo* p_textureInfo);
|
LegoResult FUN_100aad70(LegoTextureInfo* p_textureInfo);
|
||||||
void ClearMeshOffset();
|
void ClearMeshOffset();
|
||||||
LegoResult GetTexture(LegoTextureInfo*& p_textureInfo);
|
LegoResult GetTextureInfo(LegoTextureInfo*& p_textureInfo);
|
||||||
|
|
||||||
static LegoBool FUN_100aae20(const LegoChar* p_name);
|
static LegoBool FUN_100aae20(const LegoChar* p_name);
|
||||||
|
|
||||||
|
|||||||
@ -542,7 +542,7 @@ LegoResult LegoROI::GetTextureInfo(LegoTextureInfo*& p_textureInfo)
|
|||||||
for (LegoU32 i = 0; i < lodCount; i++) {
|
for (LegoU32 i = 0; i < lodCount; i++) {
|
||||||
LegoLOD* lod = (LegoLOD*) GetLOD(i);
|
LegoLOD* lod = (LegoLOD*) GetLOD(i);
|
||||||
|
|
||||||
if (lod->GetTexture(p_textureInfo) == SUCCESS) {
|
if (lod->GetTextureInfo(p_textureInfo) == SUCCESS) {
|
||||||
return SUCCESS;
|
return SUCCESS;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user