Add files via upload
This commit is contained in:
parent
20cacb18f0
commit
2d5f7d92e5
@ -35,6 +35,8 @@ bool CWaterLevel::WavesCalculatedThisFrame;
|
|||||||
RpAtomic *CWaterLevel::ms_pWavyAtomic;
|
RpAtomic *CWaterLevel::ms_pWavyAtomic;
|
||||||
RpGeometry *CWaterLevel::apGeomArray[8];
|
RpGeometry *CWaterLevel::apGeomArray[8];
|
||||||
int16 CWaterLevel::nGeomUsed;
|
int16 CWaterLevel::nGeomUsed;
|
||||||
|
//"Custom" Don´t Render Water Toggle
|
||||||
|
bool gbDontRenderWater;
|
||||||
|
|
||||||
//RwTexture *gpWaterTex;
|
//RwTexture *gpWaterTex;
|
||||||
//RwRaster *gpWaterRaster;
|
//RwRaster *gpWaterRaster;
|
||||||
@ -332,6 +334,11 @@ SectorRadius(float fSize)
|
|||||||
void
|
void
|
||||||
CWaterLevel::RenderWater()
|
CWaterLevel::RenderWater()
|
||||||
{
|
{
|
||||||
|
//"Custom" Don´t Render Water Toggle
|
||||||
|
#ifndef MASTER
|
||||||
|
if (gbDontRenderWater)
|
||||||
|
return;
|
||||||
|
#endif
|
||||||
bool bUseCamEndX = false;
|
bool bUseCamEndX = false;
|
||||||
bool bUseCamStartY = false;
|
bool bUseCamStartY = false;
|
||||||
|
|
||||||
|
@ -65,6 +65,8 @@
|
|||||||
#define MAX_BOAT_WAKES 8
|
#define MAX_BOAT_WAKES 8
|
||||||
|
|
||||||
extern RwRaster* gpWaterRaster;
|
extern RwRaster* gpWaterRaster;
|
||||||
|
//"Custom" Don´t Render Water Toggle
|
||||||
|
extern bool gbDontRenderWater;
|
||||||
|
|
||||||
class CWaterLevel
|
class CWaterLevel
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user