mirror of
https://github.com/TombEngine/TombEngine.git
synced 2025-04-28 15:57:59 +03:00
Fixed #1641
This commit is contained in:
parent
f6845961ca
commit
8c11b4cda0
4 changed files with 11 additions and 0 deletions
|
@ -17,6 +17,7 @@ TombEngine releases are located in this repository (alongside with Tomb Editor):
|
|||
* Fixed HK sound effects.
|
||||
* Fixed HK shots not being registered in statistics.
|
||||
* Fixed distorted knee and elbow joint vertices.
|
||||
* Fixed splash effects remaining in the level after reloading from the savegame.
|
||||
* Fixed caustics not rendered correctly if texture compression was enabled.
|
||||
* Fixed exclusion blend mode not working correctly.
|
||||
* Fixed SSAO incorrectly applied through alpha blended textures.
|
||||
|
|
|
@ -543,6 +543,7 @@ void CleanUp()
|
|||
ClearFootprints();
|
||||
ClearDrips();
|
||||
ClearRipples();
|
||||
ClearSplashes();
|
||||
ClearLaserBarrierEffects();
|
||||
ClearLaserBeamEffects();
|
||||
DisableSmokeParticles();
|
||||
|
|
|
@ -129,6 +129,14 @@ namespace TEN::Effects::Splash
|
|||
}
|
||||
}
|
||||
|
||||
void ClearSplashes()
|
||||
{
|
||||
SplashCount = 0;
|
||||
|
||||
for (auto& splash : SplashEffects)
|
||||
splash = {};
|
||||
}
|
||||
|
||||
void Splash(ItemInfo* item)
|
||||
{
|
||||
int probedRoomNumber = GetPointCollision(*item).GetRoomNumber();
|
||||
|
|
|
@ -60,5 +60,6 @@ namespace TEN::Effects::Splash
|
|||
|
||||
void SetupSplash(const SplashEffectSetup* const setup, int room);
|
||||
void UpdateSplashes();
|
||||
void ClearSplashes();
|
||||
void Splash(ItemInfo* item);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue