From 2dcbb8ff198eb5d942f942862d62e2df24b6c4ac Mon Sep 17 00:00:00 2001 From: RD42 <42702181+dashr9230@users.noreply.github.com> Date: Wed, 14 Aug 2024 23:18:13 +0800 Subject: [PATCH] [saco] Implement/match `CGame::LoadCullZone(...)` --- saco/game/game.cpp | 10 ++++++++++ saco/game/game.h | 1 + 2 files changed, 11 insertions(+) diff --git a/saco/game/game.cpp b/saco/game/game.cpp index dfb8051..31bc7e1 100644 --- a/saco/game/game.cpp +++ b/saco/game/game.cpp @@ -1106,3 +1106,13 @@ void CGame::LoadCollisionFile(char *szFileName) //----------------------------------------------------------- +void CGame::LoadCullZone(char *szLine) +{ + _asm push szLine + _asm mov edx, 0x5B4B40 + _asm call edx + _asm pop edx +} + +//----------------------------------------------------------- + diff --git a/saco/game/game.h b/saco/game/game.h index b020d90..86dc47a 100644 --- a/saco/game/game.h +++ b/saco/game/game.h @@ -134,6 +134,7 @@ public: int GetRwObjectsCount(); void RequestAnimationsAndModels(); void LoadCollisionFile(char *szFileName); + void LoadCullZone(char *szLine); }; //-----------------------------------------------------------