Add Config to Miami to disable Wavy Water. Will render "non wavy" water instead.

This is a placeholder until the render code can be refactored to support >128 vert meshes
This commit is contained in:
Josh Pearson
2025-03-12 10:48:54 -06:00
parent 505ae84d61
commit 66e1c55ee3
2 changed files with 4 additions and 0 deletions

View File

@@ -213,6 +213,7 @@ enum Config {
//# define GTA_SCENE_EDIT //# define GTA_SCENE_EDIT
# define PC_MENU # define PC_MENU
# define PC_WATER # define PC_WATER
# define DISABLE_WAVY_WATER
#elif defined GTA_XBOX #elif defined GTA_XBOX
#elif defined GTA_MOBILE #elif defined GTA_MOBILE
# define MISSION_REPLAY # define MISSION_REPLAY

View File

@@ -818,6 +818,9 @@ _GetWaterDrawDist()
inline float inline float
_GetWavyDrawDist() _GetWavyDrawDist()
{ {
#ifdef DISABLE_WAVY_WATER
return 0.0;
#endif
if ( FindPlayerVehicle() && FindPlayerVehicle()->IsBoat() ) if ( FindPlayerVehicle() && FindPlayerVehicle()->IsBoat() )
return 120.0f; return 120.0f;
else else