mirror of
https://gitlab.com/GaryOderNichts/re3-wiiu.git
synced 2024-12-26 09:41:49 +01:00
67 lines
2.0 KiB
C++
67 lines
2.0 KiB
C++
#pragma once
|
|
|
|
class CEntity;
|
|
|
|
extern bool gbShowCollisionPolys;
|
|
extern bool gbShowCollisionLines;
|
|
extern bool gbBigWhiteDebugLightSwitchedOn;
|
|
|
|
extern bool gbDontRenderBuildings;
|
|
extern bool gbDontRenderBigBuildings;
|
|
extern bool gbDontRenderPeds;
|
|
extern bool gbDontRenderObjects;
|
|
extern bool gbDontRenderVehicles;
|
|
|
|
class CVehicle;
|
|
class CPtrList;
|
|
|
|
class CRenderer
|
|
{
|
|
static int32 ms_nNoOfVisibleEntities;
|
|
static CEntity *ms_aVisibleEntityPtrs[NUMVISIBLEENTITIES];
|
|
static int32 ms_nNoOfInVisibleEntities;
|
|
static CEntity *ms_aInVisibleEntityPtrs[NUMINVISIBLEENTITIES];
|
|
|
|
static CVector ms_vecCameraPosition;
|
|
static CVehicle *m_pFirstPersonVehicle;
|
|
|
|
public:
|
|
static float ms_lodDistScale;
|
|
static bool m_loadingPriority;
|
|
|
|
static void Init(void);
|
|
static void Shutdown(void);
|
|
static void PreRender(void);
|
|
|
|
static void RenderRoads(void);
|
|
static void RenderFadingInEntities(void);
|
|
static void RenderFadingInUnderwaterEntities(void);
|
|
static void RenderEverythingBarRoads(void);
|
|
static void RenderBoats(void);
|
|
static void RenderOneRoad(CEntity *);
|
|
static void RenderOneNonRoad(CEntity *);
|
|
static void RenderFirstPersonVehicle(void);
|
|
|
|
static void RenderCollisionLines(void);
|
|
|
|
static int32 SetupEntityVisibility(CEntity *ent);
|
|
static int32 SetupBigBuildingVisibility(CEntity *ent);
|
|
|
|
static void ConstructRenderList(void);
|
|
static void ScanWorld(void);
|
|
static void RequestObjectsInFrustum(void);
|
|
static void ScanSectorPoly(RwV2d *poly, int32 numVertices, void (*scanfunc)(CPtrList *));
|
|
static void ScanBigBuildingList(CPtrList &list);
|
|
static void ScanSectorList(CPtrList *lists);
|
|
static void ScanSectorList_Priority(CPtrList *lists);
|
|
static void ScanSectorList_Subway(CPtrList *lists);
|
|
static void ScanSectorList_RequestModels(CPtrList *lists);
|
|
|
|
static void SortBIGBuildings(void);
|
|
static void SortBIGBuildingsForSectorList(CPtrList *list);
|
|
|
|
static bool ShouldModelBeStreamed(CEntity *ent, const CVector &campos);
|
|
|
|
static void RemoveVehiclePedLights(CEntity *ent, bool reset);
|
|
};
|