mirror of
https://gitlab.com/skmp/dca3-game.git
synced 2025-09-02 19:23:16 +02:00
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:
@@ -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
|
||||||
|
@@ -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
|
||||||
|
Reference in New Issue
Block a user