diff options
Diffstat (limited to 'src/render')
-rw-r--r-- | src/render/Renderer.h | 3 | ||||
-rw-r--r-- | src/render/Skidmarks.cpp | 2 | ||||
-rw-r--r-- | src/render/Skidmarks.h | 1 |
3 files changed, 5 insertions, 1 deletions
diff --git a/src/render/Renderer.h b/src/render/Renderer.h index e9e056c6..433035a0 100644 --- a/src/render/Renderer.h +++ b/src/render/Renderer.h @@ -23,8 +23,9 @@ class CRenderer static CVector &ms_vecCameraPosition; static CVehicle *&m_pFirstPersonVehicle; - static bool &m_loadingPriority; public: + static bool &m_loadingPriority; + static void Init(void); static void PreRender(void); diff --git a/src/render/Skidmarks.cpp b/src/render/Skidmarks.cpp index 678e1cdc..fd5e7d2b 100644 --- a/src/render/Skidmarks.cpp +++ b/src/render/Skidmarks.cpp @@ -2,4 +2,6 @@ #include "patcher.h" #include "Skidmarks.h" +WRAPPER void CSkidmarks::Clear(void) { EAXJMP(0x518130); } + WRAPPER void CSkidmarks::Render(void) { EAXJMP(0x5182E0); } diff --git a/src/render/Skidmarks.h b/src/render/Skidmarks.h index dcd61652..d1e1d996 100644 --- a/src/render/Skidmarks.h +++ b/src/render/Skidmarks.h @@ -3,5 +3,6 @@ class CSkidmarks { public: + static void Clear(void); static void Render(void); }; |