diff options
author | aap <aap@papnet.eu> | 2020-11-22 00:13:07 +0100 |
---|---|---|
committer | aap <aap@papnet.eu> | 2020-11-22 00:13:07 +0100 |
commit | 07303c62d12959927cbb72d4beb131f2647350fa (patch) | |
tree | a364e28683c3d90da8aa7766db7e49c6e2f69d93 /src/render/Renderer.h | |
parent | neo screen droplets (diff) | |
download | re3-07303c62d12959927cbb72d4beb131f2647350fa.tar re3-07303c62d12959927cbb72d4beb131f2647350fa.tar.gz re3-07303c62d12959927cbb72d4beb131f2647350fa.tar.bz2 re3-07303c62d12959927cbb72d4beb131f2647350fa.tar.lz re3-07303c62d12959927cbb72d4beb131f2647350fa.tar.xz re3-07303c62d12959927cbb72d4beb131f2647350fa.tar.zst re3-07303c62d12959927cbb72d4beb131f2647350fa.zip |
Diffstat (limited to '')
-rw-r--r-- | src/render/Renderer.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/render/Renderer.h b/src/render/Renderer.h index 362741e3..e14f73b1 100644 --- a/src/render/Renderer.h +++ b/src/render/Renderer.h @@ -2,11 +2,20 @@ class CEntity; +#ifdef FIX_BUGS +#define LOD_DISTANCE (300.0f*TheCamera.LODDistMultiplier) +#else +#define LOD_DISTANCE 300.0f +#endif +#define FADE_DISTANCE 20.0f +#define STREAM_DISTANCE 30.0f + extern bool gbShowPedRoadGroups; extern bool gbShowCarRoadGroups; extern bool gbShowCollisionPolys; extern bool gbShowCollisionLines; extern bool gbShowCullZoneDebugStuff; +extern bool gbDisableZoneCull; // not original extern bool gbBigWhiteDebugLightSwitchedOn; extern bool gbDontRenderBuildings; @@ -18,6 +27,13 @@ extern bool gbDontRenderVehicles; class CVehicle; class CPtrList; +// unused +struct BlockedRange +{ + float a, b; // unknown + BlockedRange *prev, *next; +}; + class CRenderer { static int32 ms_nNoOfVisibleEntities; @@ -28,6 +44,10 @@ class CRenderer static CVector ms_vecCameraPosition; static CVehicle *m_pFirstPersonVehicle; + // unused + static BlockedRange aBlockedRanges[16]; + static BlockedRange *pFullBlockedRanges; + static BlockedRange *pEmptyBlockedRanges; public: static float ms_lodDistScale; static bool m_loadingPriority; @@ -46,6 +66,8 @@ public: static void RenderFirstPersonVehicle(void); static void RenderCollisionLines(void); + // unused + static void RenderBlockBuildingLines(void); static int32 SetupEntityVisibility(CEntity *ent); static int32 SetupBigBuildingVisibility(CEntity *ent); |