mirror of
https://github.com/GTAmodding/re3.git
synced 2024-12-25 07:05:41 +00:00
Add files via upload
This commit is contained in:
parent
20cacb18f0
commit
2d5f7d92e5
2 changed files with 9 additions and 0 deletions
|
@ -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;
|
||||
|
||||
|
|
|
@ -65,6 +65,8 @@
|
|||
#define MAX_BOAT_WAKES 8
|
||||
|
||||
extern RwRaster* gpWaterRaster;
|
||||
//"Custom" Don´t Render Water Toggle
|
||||
extern bool gbDontRenderWater;
|
||||
|
||||
class CWaterLevel
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue