mirror of
https://github.com/GTAmodding/re3.git
synced 2024-11-26 05:23:43 +00:00
Disable water creatures
This commit is contained in:
parent
95260371cb
commit
e9001207ea
5 changed files with 15 additions and 11 deletions
|
@ -1287,7 +1287,7 @@ void CReplay::TriggerPlayback(uint8 cam_mode, float cam_x, float cam_y, float ca
|
|||
DMAudio.SetEffectsFadeVol(0);
|
||||
DMAudio.SetMusicFadeVol(0);
|
||||
CEscalators::Shutdown();
|
||||
CWaterCreatures::RemoveAll();
|
||||
//CWaterCreatures::RemoveAll();
|
||||
int current;
|
||||
for (current = 0; current < NUM_REPLAYBUFFERS; current++)
|
||||
if (BufferStatus[current] == REPLAYBUFFER_RECORD)
|
||||
|
|
|
@ -587,7 +587,7 @@ bool CGame::ShutDown(void)
|
|||
CPlane::Shutdown();
|
||||
CTrain::Shutdown();
|
||||
CScriptPaths::Shutdown();
|
||||
CWaterCreatures::RemoveAll();
|
||||
//CWaterCreatures::RemoveAll();
|
||||
CSpecialFX::Shutdown();
|
||||
CGarages::Shutdown();
|
||||
CMovingThings::Shutdown();
|
||||
|
@ -749,7 +749,7 @@ void CGame::ShutDownForRestart(void)
|
|||
CRadar::RemoveRadarSections();
|
||||
FrontEndMenuManager.UnloadTextures();
|
||||
CParticleObject::RemoveAllExpireableParticleObjects();
|
||||
CWaterCreatures::RemoveAll();
|
||||
//CWaterCreatures::RemoveAll();
|
||||
CSetPieces::Init();
|
||||
CPedType::Shutdown();
|
||||
CSpecialFX::Shutdown();
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
#include "config.h"
|
||||
#include "General.h"
|
||||
|
||||
/*
|
||||
int CWaterCreatures::nNumActiveSeaLifeForms;
|
||||
CWaterCreature CWaterCreatures::aWaterCreatures[NUM_WATER_CREATURES];
|
||||
|
||||
|
@ -272,3 +273,4 @@ void CWaterCreatures::RemoveAll() {
|
|||
}
|
||||
}
|
||||
}
|
||||
*/
|
|
@ -1,6 +1,7 @@
|
|||
#pragma once
|
||||
#include "Object.h"
|
||||
|
||||
/*
|
||||
enum eFishSlotState {
|
||||
WATER_CREATURE_INIT = 0,
|
||||
WATER_CREATURE_ACTIVE,
|
||||
|
@ -45,4 +46,4 @@ struct WaterCreatureProperties {
|
|||
float fLevel;
|
||||
float fUnknown; //unused
|
||||
float fWaterDepth;
|
||||
};
|
||||
};*/
|
|
@ -1175,13 +1175,13 @@ CWaterLevel::RenderWater()
|
|||
if ( WavesCalculatedThisFrame )
|
||||
{
|
||||
RenderSeaBirds();
|
||||
RenderShipsOnHorizon();
|
||||
CParticle::HandleShipsAtHorizonStuff();
|
||||
HandleBeachToysStuff();
|
||||
//RenderShipsOnHorizon();
|
||||
//CParticle::HandleShipsAtHorizonStuff();
|
||||
//HandleBeachToysStuff();
|
||||
}
|
||||
|
||||
if ( _bSeaLife )
|
||||
HandleSeaLifeForms();
|
||||
//if ( _bSeaLife )
|
||||
// HandleSeaLifeForms();
|
||||
|
||||
DefinedState();
|
||||
}
|
||||
|
@ -3105,6 +3105,7 @@ CWaterLevel::RenderShipsOnHorizon()
|
|||
}
|
||||
}
|
||||
|
||||
/*
|
||||
void
|
||||
CWaterLevel::HandleSeaLifeForms()
|
||||
{
|
||||
|
@ -3145,7 +3146,7 @@ CWaterLevel::HandleSeaLifeForms()
|
|||
}
|
||||
|
||||
CWaterCreatures::UpdateAll();
|
||||
}
|
||||
}*/
|
||||
|
||||
void
|
||||
CWaterLevel::HandleBeachToysStuff(void)
|
||||
|
|
Loading…
Reference in a new issue