mirror of https://github.com/PrimeDecomp/prime.git
Match and link CParticleGenInfoGeneric
This commit is contained in:
parent
c6d3f0ae8b
commit
0e9d00b19b
|
@ -113,7 +113,7 @@ LIBS = [
|
|||
"MetroidPrime/CGameLight",
|
||||
"MetroidPrime/Tweaks/CTweakTargeting",
|
||||
"MetroidPrime/Tweaks/CTweakAutoMapper",
|
||||
"MetroidPrime/CParticleGenInfoGeneric",
|
||||
["MetroidPrime/CParticleGenInfoGeneric", True],
|
||||
"MetroidPrime/CParticleGenInfo",
|
||||
"MetroidPrime/CParticleDatabase",
|
||||
"MetroidPrime/Tweaks/CTweakGunRes",
|
||||
|
|
|
@ -80,7 +80,7 @@ METROIDPRIME :=\
|
|||
$(BUILD_DIR)/asm/MetroidPrime/CGameLight.o\
|
||||
$(BUILD_DIR)/asm/MetroidPrime/Tweaks/CTweakTargeting.o\
|
||||
$(BUILD_DIR)/asm/MetroidPrime/Tweaks/CTweakAutoMapper.o\
|
||||
$(BUILD_DIR)/asm/MetroidPrime/CParticleGenInfoGeneric.o\
|
||||
$(BUILD_DIR)/src/MetroidPrime/CParticleGenInfoGeneric.o\
|
||||
$(BUILD_DIR)/asm/MetroidPrime/CParticleGenInfo.o\
|
||||
$(BUILD_DIR)/asm/MetroidPrime/CParticleDatabase.o\
|
||||
$(BUILD_DIR)/asm/MetroidPrime/Tweaks/CTweakGunRes.o\
|
||||
|
|
|
@ -15,7 +15,7 @@ CParticleGenInfoGeneric::CParticleGenInfoGeneric(const SObjectTag& part,
|
|||
|
||||
: CParticleGenInfo(part, frames, boneName, scale, parentMode, flags, state)
|
||||
, x84_system(system)
|
||||
, x88_lightId(lightId == 0xffff ? kInvalidUniqueId
|
||||
, x88_lightId(lightId == 0xffffffff ? kInvalidUniqueId
|
||||
: _initializeLight(system, stateMgr, areaId, lightId)) {}
|
||||
|
||||
CParticleGenInfoGeneric::~CParticleGenInfoGeneric() {}
|
||||
|
@ -111,30 +111,20 @@ void CParticleGenInfoGeneric::DeleteLight(CStateManager& stateMgr) {
|
|||
x88_lightId = kInvalidUniqueId;
|
||||
}
|
||||
|
||||
TUniqueId CParticleGenInfoGeneric::GetLightId() const {
|
||||
return x88_lightId;
|
||||
}
|
||||
TUniqueId CParticleGenInfoGeneric::GetLightId() const { return x88_lightId; }
|
||||
|
||||
void CParticleGenInfoGeneric::SetModulationColor(const CColor& color) {
|
||||
x84_system->SetModulationColor(color);
|
||||
}
|
||||
|
||||
bool CParticleGenInfoGeneric::HasLight() const {
|
||||
return x84_system->SystemHasLight();
|
||||
}
|
||||
bool CParticleGenInfoGeneric::HasLight() const { return x84_system->SystemHasLight(); }
|
||||
|
||||
void CParticleGenInfoGeneric::DestroyParticles() {
|
||||
x84_system->DestroyParticles();
|
||||
}
|
||||
void CParticleGenInfoGeneric::DestroyParticles() { x84_system->DestroyParticles(); }
|
||||
|
||||
bool CParticleGenInfoGeneric::HasActiveParticles() const {
|
||||
return x84_system->GetParticleCount() > 0;
|
||||
}
|
||||
|
||||
CAABox CParticleGenInfoGeneric::GetBounds() const {
|
||||
return x84_system->GetBounds();
|
||||
}
|
||||
CAABox CParticleGenInfoGeneric::GetBounds() const { return x84_system->GetBounds(); }
|
||||
|
||||
bool CParticleGenInfoGeneric::IsSystemDeletable() const {
|
||||
return x84_system->IsSystemDeletable();
|
||||
}
|
||||
bool CParticleGenInfoGeneric::IsSystemDeletable() const { return x84_system->IsSystemDeletable(); }
|
||||
|
|
Loading…
Reference in New Issue