summaryrefslogtreecommitdiffstats
path: root/src/render/Renderer.cpp
diff options
context:
space:
mode:
authoreray orçunus <erayorcunus@gmail.com>2020-04-15 18:19:45 +0200
committereray orçunus <erayorcunus@gmail.com>2020-04-15 18:19:45 +0200
commit4da1879975ef28cb7f406166d62d154d03ef47d2 (patch)
tree42f2049c82fdd99386ce7346294482ed52940520 /src/render/Renderer.cpp
parentfix CTheCarGenerators::SaveAllCarGenerators (diff)
downloadre3-4da1879975ef28cb7f406166d62d154d03ef47d2.tar
re3-4da1879975ef28cb7f406166d62d154d03ef47d2.tar.gz
re3-4da1879975ef28cb7f406166d62d154d03ef47d2.tar.bz2
re3-4da1879975ef28cb7f406166d62d154d03ef47d2.tar.lz
re3-4da1879975ef28cb7f406166d62d154d03ef47d2.tar.xz
re3-4da1879975ef28cb7f406166d62d154d03ef47d2.tar.zst
re3-4da1879975ef28cb7f406166d62d154d03ef47d2.zip
Diffstat (limited to '')
-rw-r--r--src/render/Renderer.cpp17
1 files changed, 9 insertions, 8 deletions
diff --git a/src/render/Renderer.cpp b/src/render/Renderer.cpp
index d7834065..7b2f90e8 100644
--- a/src/render/Renderer.cpp
+++ b/src/render/Renderer.cpp
@@ -39,16 +39,17 @@ struct EntityInfo
float sort;
};
-CLinkList<EntityInfo> &gSortedVehiclesAndPeds = *(CLinkList<EntityInfo>*)0x629AC0;
+CLinkList<EntityInfo> gSortedVehiclesAndPeds;
-int32 &CRenderer::ms_nNoOfVisibleEntities = *(int32*)0x940730;
-CEntity *(&CRenderer::ms_aVisibleEntityPtrs)[NUMVISIBLEENTITIES] = *(CEntity * (*)[NUMVISIBLEENTITIES]) * (uintptr*)0x6E9920;
-CEntity *(&CRenderer::ms_aInVisibleEntityPtrs)[NUMINVISIBLEENTITIES] = *(CEntity * (*)[NUMINVISIBLEENTITIES]) * (uintptr*)0x880B50;
-int32 &CRenderer::ms_nNoOfInVisibleEntities = *(int32*)0x8F1B78;
+int32 CRenderer::ms_nNoOfVisibleEntities;
+CEntity *CRenderer::ms_aVisibleEntityPtrs[NUMVISIBLEENTITIES];
+CEntity *CRenderer::ms_aInVisibleEntityPtrs[NUMINVISIBLEENTITIES];
+int32 CRenderer::ms_nNoOfInVisibleEntities;
-CVector &CRenderer::ms_vecCameraPosition = *(CVector*)0x8E2C3C;
-CVehicle *&CRenderer::m_pFirstPersonVehicle = *(CVehicle**)0x885B80;
-bool &CRenderer::m_loadingPriority = *(bool*)0x95CD86;
+CVector CRenderer::ms_vecCameraPosition;
+CVehicle *CRenderer::m_pFirstPersonVehicle;
+bool CRenderer::m_loadingPriority;
+float CRenderer::ms_lodDistScale = 1.2f;
void
CRenderer::Init(void)