Add files via upload

This commit is contained in:
rollschuh2282 2020-05-29 12:04:20 +02:00 committed by GitHub
parent 20cacb18f0
commit 2d5f7d92e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 0 deletions

View File

@ -35,6 +35,8 @@ bool CWaterLevel::WavesCalculatedThisFrame;
RpAtomic *CWaterLevel::ms_pWavyAtomic;
RpGeometry *CWaterLevel::apGeomArray[8];
int16 CWaterLevel::nGeomUsed;
//"Custom" Don´t Render Water Toggle
bool gbDontRenderWater;
//RwTexture *gpWaterTex;
//RwRaster *gpWaterRaster;
@ -332,6 +334,11 @@ SectorRadius(float fSize)
void
CWaterLevel::RenderWater()
{
//"Custom" Don´t Render Water Toggle
#ifndef MASTER
if (gbDontRenderWater)
return;
#endif
bool bUseCamEndX = false;
bool bUseCamStartY = false;

View File

@ -65,6 +65,8 @@
#define MAX_BOAT_WAKES 8
extern RwRaster* gpWaterRaster;
//"Custom" Don´t Render Water Toggle
extern bool gbDontRenderWater;
class CWaterLevel
{