summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2019-07-17 12:24:04 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2019-07-17 12:24:04 +0200
commita9a62a8641571bb68564714907bb4bc1be29bc6c (patch)
treea780de15ce8d6fdd336fd10a96da39bc2a845cb1 /src/core
parentmore fixes; started CAutomobile::ProcessControl (diff)
downloadre3-a9a62a8641571bb68564714907bb4bc1be29bc6c.tar
re3-a9a62a8641571bb68564714907bb4bc1be29bc6c.tar.gz
re3-a9a62a8641571bb68564714907bb4bc1be29bc6c.tar.bz2
re3-a9a62a8641571bb68564714907bb4bc1be29bc6c.tar.lz
re3-a9a62a8641571bb68564714907bb4bc1be29bc6c.tar.xz
re3-a9a62a8641571bb68564714907bb4bc1be29bc6c.tar.zst
re3-a9a62a8641571bb68564714907bb4bc1be29bc6c.zip
Diffstat (limited to 'src/core')
-rw-r--r--src/core/Camera.cpp2
-rw-r--r--src/core/Camera.h3
2 files changed, 3 insertions, 2 deletions
diff --git a/src/core/Camera.cpp b/src/core/Camera.cpp
index 166928c1..e35198d8 100644
--- a/src/core/Camera.cpp
+++ b/src/core/Camera.cpp
@@ -23,7 +23,7 @@ WRAPPER void CCamera::DrawBordersForWideScreen(void) { EAXJMP(0x46B430); }
WRAPPER void CCamera::CalculateDerivedValues(void) { EAXJMP(0x46EEA0); }
WRAPPER void CCamera::Restore(void) { EAXJMP(0x46F990); }
WRAPPER void CCamera::SetWidescreenOff(void) { EAXJMP(0x46FF10); }
-WRAPPER void CCamera::CamShake(float) { EAXJMP(0x46B100); }
+WRAPPER void CamShakeNoPos(CCamera*, float) { EAXJMP(0x46B100); }
bool
CCamera::IsSphereVisible(const CVector &center, float radius, const CMatrix *mat)
diff --git a/src/core/Camera.h b/src/core/Camera.h
index 10554601..d5de76d4 100644
--- a/src/core/Camera.h
+++ b/src/core/Camera.h
@@ -466,7 +466,6 @@ int m_iModeObbeCamIsInForCar;
void DrawBordersForWideScreen(void);
void Restore(void);
void SetWidescreenOff(void);
- void CamShake(float);
void dtor(void) { this->CCamera::~CCamera(); }
};
@@ -479,3 +478,5 @@ static_assert(offsetof(CCamera, m_BlurBlue) == 0x9C, "CCamera: error");
static_assert(offsetof(CCamera, Cams) == 0x1A4, "CCamera: error");
static_assert(sizeof(CCamera) == 0xE9D8, "CCamera: wrong size");
extern CCamera &TheCamera;
+
+void CamShakeNoPos(CCamera*, float); \ No newline at end of file