summaryrefslogtreecommitdiffstats
path: root/src/render/Renderer.h
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-11-03 20:33:07 +0100
committeraap <aap@papnet.eu>2020-11-03 20:33:07 +0100
commit3c5bb4e8f34bebd14447a4166a24264a56e7ff3a (patch)
tree6d841c850a4c286d89612c232a4c82f5651b5200 /src/render/Renderer.h
parentMerge branch 'miami' of github.com:GTAmodding/re3 into miami (diff)
downloadre3-3c5bb4e8f34bebd14447a4166a24264a56e7ff3a.tar
re3-3c5bb4e8f34bebd14447a4166a24264a56e7ff3a.tar.gz
re3-3c5bb4e8f34bebd14447a4166a24264a56e7ff3a.tar.bz2
re3-3c5bb4e8f34bebd14447a4166a24264a56e7ff3a.tar.lz
re3-3c5bb4e8f34bebd14447a4166a24264a56e7ff3a.tar.xz
re3-3c5bb4e8f34bebd14447a4166a24264a56e7ff3a.tar.zst
re3-3c5bb4e8f34bebd14447a4166a24264a56e7ff3a.zip
Diffstat (limited to 'src/render/Renderer.h')
-rw-r--r--src/render/Renderer.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/render/Renderer.h b/src/render/Renderer.h
index e9f82078..814d3105 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,12 @@ 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 RenderVehiclesAndPeds(void); // just called RenderVehicles in LCS
+ static void RenderOneBuilding(CEntity *ent, float camdist = 0.0f);
+ static void RenderWorld(int pass); // like cWorldStream::Render(int)
+#endif
};