From b77a9ce9550d0326c8bd69fdc1474af4f3a1d268 Mon Sep 17 00:00:00 2001 From: Nikolay Korolev Date: Sun, 14 Jul 2019 14:49:27 +0300 Subject: RunningScript 2. So far with bugs (cops not caring, errors in arithmetical opcodes) --- src/core/Camera.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/core/Camera.h') diff --git a/src/core/Camera.h b/src/core/Camera.h index c0309b5f..10554601 100644 --- a/src/core/Camera.h +++ b/src/core/Camera.h @@ -445,6 +445,7 @@ int m_iModeObbeCamIsInForCar; CVector &GetGameCamPosition(void) { return m_vecGameCamPos; } bool IsPointVisible(const CVector ¢er, const CMatrix *mat); bool IsSphereVisible(const CVector ¢er, float radius, const CMatrix *mat); + bool IsSphereVisible(const CVector ¢er, float radius); bool IsBoxVisible(RwV3d *box, const CMatrix *mat); int GetLookDirection(void); -- cgit v1.2.3 From a9a62a8641571bb68564714907bb4bc1be29bc6c Mon Sep 17 00:00:00 2001 From: Nikolay Korolev Date: Wed, 17 Jul 2019 13:24:04 +0300 Subject: script fix, bomb fix, flying components fix --- src/core/Camera.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/core/Camera.h') 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 -- cgit v1.2.3 From 682e3f5984713814c53371c04469e0b4f5118772 Mon Sep 17 00:00:00 2001 From: Nikolay Korolev Date: Wed, 17 Jul 2019 13:24:55 +0300 Subject: fix fix --- src/core/Camera.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core/Camera.h') diff --git a/src/core/Camera.h b/src/core/Camera.h index d5de76d4..a88bf83a 100644 --- a/src/core/Camera.h +++ b/src/core/Camera.h @@ -479,4 +479,4 @@ 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 +void CamShakeNoPos(CCamera*, float); -- cgit v1.2.3