Disable water creatures

This commit is contained in:
Sergeanur
2021-01-08 18:26:35 +02:00
parent 95260371cb
commit e9001207ea
5 changed files with 15 additions and 11 deletions

View File

@ -7,6 +7,7 @@
#include "config.h"
#include "General.h"
/*
int CWaterCreatures::nNumActiveSeaLifeForms;
CWaterCreature CWaterCreatures::aWaterCreatures[NUM_WATER_CREATURES];
@ -271,4 +272,5 @@ void CWaterCreatures::RemoveAll() {
nNumActiveSeaLifeForms--;
}
}
}
}
*/

View File

@ -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;
};
};*/

View File

@ -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)