diff options
author | erorcun <erorcunerorcun@hotmail.com.tr> | 2020-11-12 15:37:04 +0100 |
---|---|---|
committer | erorcun <erorcunerorcun@hotmail.com.tr> | 2020-11-12 15:37:04 +0100 |
commit | 4f8029ad7c76d53f08d9f922d59db32ee27be3f2 (patch) | |
tree | d5a34f1f072e70671b33ebbff9b9d875053c6380 /src/render/Renderer.h | |
parent | Peds: Remove redundant lines (diff) | |
parent | fixed zone bug (diff) | |
download | re3-4f8029ad7c76d53f08d9f922d59db32ee27be3f2.tar re3-4f8029ad7c76d53f08d9f922d59db32ee27be3f2.tar.gz re3-4f8029ad7c76d53f08d9f922d59db32ee27be3f2.tar.bz2 re3-4f8029ad7c76d53f08d9f922d59db32ee27be3f2.tar.lz re3-4f8029ad7c76d53f08d9f922d59db32ee27be3f2.tar.xz re3-4f8029ad7c76d53f08d9f922d59db32ee27be3f2.tar.zst re3-4f8029ad7c76d53f08d9f922d59db32ee27be3f2.zip |
Diffstat (limited to 'src/render/Renderer.h')
-rw-r--r-- | src/render/Renderer.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/render/Renderer.h b/src/render/Renderer.h index e9f82078..b579bb4c 100644 --- a/src/render/Renderer.h +++ b/src/render/Renderer.h @@ -21,6 +21,13 @@ class CRenderer static CEntity *ms_aVisibleEntityPtrs[NUMVISIBLEENTITIES]; static int32 ms_nNoOfInVisibleEntities; static CEntity *ms_aInVisibleEntityPtrs[NUMINVISIBLEENTITIES]; +#ifdef NEW_RENDERER + static int32 ms_nNoOfVisibleVehicles; + static CEntity *ms_aVisibleVehiclePtrs[NUMVISIBLEENTITIES]; + // for cWorldStream emulation + static int32 ms_nNoOfVisibleBuildings; + static CEntity *ms_aVisibleBuildingPtrs[NUMVISIBLEENTITIES]; +#endif static CVector ms_vecCameraPosition; static CVehicle *m_pFirstPersonVehicle; @@ -63,4 +70,15 @@ public: static bool ShouldModelBeStreamed(CEntity *ent, const CVector &campos); static void RemoveVehiclePedLights(CEntity *ent, bool reset); + + +#ifdef NEW_RENDERER + static void ClearForFrame(void); + static void RenderPeds(void); + static void RenderVehicles(void); // also renders peds in LCS + static void RenderOneBuilding(CEntity *ent, float camdist = 0.0f); + static void RenderWorld(int pass); // like cWorldStream::Render(int) + static void RenderTransparentWater(void); // keep-out polys and transparent water +#endif + static void InsertEntityIntoList(CEntity *ent); }; |