new LCS-style renderer
This commit is contained in:
@@ -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
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user