diff options
author | aap <aap@papnet.eu> | 2021-01-05 11:12:48 +0100 |
---|---|---|
committer | aap <aap@papnet.eu> | 2021-01-05 11:12:48 +0100 |
commit | e6ef2f12dea9139c4fb303992c2d8f906e302a49 (patch) | |
tree | 951bd0b4534cf32cdb8c60b29e78898ee6efe2df /src/render/Renderer.h | |
parent | More audio fix (diff) | |
download | re3-e6ef2f12dea9139c4fb303992c2d8f906e302a49.tar re3-e6ef2f12dea9139c4fb303992c2d8f906e302a49.tar.gz re3-e6ef2f12dea9139c4fb303992c2d8f906e302a49.tar.bz2 re3-e6ef2f12dea9139c4fb303992c2d8f906e302a49.tar.lz re3-e6ef2f12dea9139c4fb303992c2d8f906e302a49.tar.xz re3-e6ef2f12dea9139c4fb303992c2d8f906e302a49.tar.zst re3-e6ef2f12dea9139c4fb303992c2d8f906e302a49.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 e14f73b1..35b43a0b 100644 --- a/src/render/Renderer.h +++ b/src/render/Renderer.h @@ -40,6 +40,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; @@ -90,4 +97,15 @@ public: static bool IsVehicleCullZoneVisible(CEntity *ent); 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 RenderWater(void); // keep-out polys and water +#endif + static void InsertEntityIntoList(CEntity *ent); }; |