81 Commits

Author SHA1 Message Date
RD42
c70e9f59c8 [saco] Implement CTaskGoToPoint constructor 2024-05-02 21:50:59 +08:00
RD42
4c400c51ed [saco] Implement CTaskGoggles constructor 2024-05-02 21:50:26 +08:00
RD42
e600a29d0c [saco] Implement CTaskTakeDamageFall constructor 2024-05-02 21:49:48 +08:00
RD42
b5e5b572d9 [saco] Implement CTaskJetpack constructor and destructor 2024-05-02 21:49:22 +08:00
RD42
161bc72d96 [saco] Implement CTask member functions 2024-05-02 21:47:10 +08:00
RD42
33cb3d22f7 [saco] Implement and match file hook functions 2024-04-17 22:48:54 +08:00
RD42
783b4fb01a [saco] Add ApplyInGamePatches()() 2024-04-10 22:15:51 +08:00
RD42
e1bd0daf96 [saco] Implement RelocateBaseModelInfoHack() 2024-04-10 22:15:00 +08:00
RD42
d790a6bee1 [saco] Update RelocateScanListHack() 2024-04-10 22:14:25 +08:00
RD42
b9ee9d4786 [saco] Implement SetTimedObjects(...)
* Implement `SetIPLs(...)`
* Implement `_patch(...)`
2024-04-08 22:20:41 +08:00
RD42
9ce72dcf79 [saco] Implement CAudio::StopRadio()
* Implement `CAudio::sub_100A21D0()`
2024-04-08 22:17:26 +08:00
RD42
e3430e3719 [saco] Implement ApplyGameLimitPatches() 2024-04-07 22:43:44 +08:00
RD42
6506991783 [saco] Implement CUnkClass15 constructor
* Implement `CUnkClass15::sub_1006BE40()`
* Implement various RenderWare function calls
* Update `DoInitStuff()`
2024-04-02 22:40:58 +08:00
RD42
d17a278bcd [saco] Fix compilation errors 2024-03-22 23:47:43 +08:00
RD42
d89893ce91 [saco] Implement few CCamera member functions
* Implement `CCamera::sub_1009D660()`
* Implement `CCamera::sub_1009D6B0()`
* Implement `CCamera::GetDistanceFromPoint(...)`
* Implement `unnamed_100B4B50(...)`
2024-03-16 23:35:28 +08:00
RD42
d32fb4e22f [saco] Implement GameGetWeaponModelIDFromWeaponID 2024-03-16 23:29:52 +08:00
RD42
80089f972e [saco] Implement texture related functions 2024-02-27 23:40:59 +08:00
RD42
8dca484dc7 [saco] Implement few CGame member functions
Implements:
* `CGame::GetActiveInterior()`
* `CGame::UpdateFarClippingPlane()`
* `CGame::AddToLocalMoney(...)`
* `CGame::GetLocalMoney()`
* `CGame::DisplayGameText(...)`
* `CGame::DisableRaceCheckpoint()`
2024-02-27 23:37:45 +08:00
RD42
f5fd849bc3 [saco] Implement CEntity::TeleportTo(...)
Implements:
* `CEntity::GetModelIndex()`
* `CEntity::TeleportTo(...)`
2024-02-27 21:25:04 +08:00
RD42
ab608ee0ef [saco] Implement CAudio class member functions
Implements:
* `CAudio::GetRadioStation()`
* `CAudio::StartRadio(...)`
* `CAudio::GetRadioVolume()`
* `CAudio::StopOutdoorAmbienceTrack()`
* `CAudio::SetOutdoorAmbienceTrack(...)`
* `CAudio::PlaySound(...)`
* `CAudio::IsOutdoorAmbienceTrackDisabled()`
2024-02-26 23:40:36 +08:00
RD42
f398b9c82c [saco] Implement util functions
Implements:
* `WorldAddEntity(...)`
* `WorldRemoveEntity(...)`
* `GameDisableCheatCodes()`
* `GamePool_Ped_GetAt(...)`
* `GamePool_Ped_GetIndex(...)`
* `GamePool_Vehicle_GetAt(...)`
* `GamePool_Vehicle_GetIndex(...)`
* `GamePool_Object_GetAt(...)`

* Updates `InitPlayerPedPtrRecords()`
2024-02-26 23:05:29 +08:00
RD42
089ff5df25 [saco] Macros for ed2ec894c99fa6798eeb74ab9cf5fa3ecf45accc 2024-02-21 19:35:39 +08:00
RD42
6dc2f60412 [saco] Implement few unnamed CEntity member functions
Implements:
* `CEntity::sub_1009EE90()`
* `CEntity::sub_1009EEB0()`
* `CEntity::sub_1009EEF0(...)`
* `CEntity::sub_1009EF20(...)`
* `CEntity::sub_1009FDE0()`
2024-02-21 19:32:18 +08:00
RD42
6929accc69 [saco] Implement ProcessLineOfSight(...) 2024-02-21 19:18:21 +08:00
RD42
3586ab1c9e [saco] Implement CGame::DisableMarker(...) 2024-02-21 18:58:07 +08:00
RD42
ed2ec894c9 [saco] Implement CGame::CreateRadarMarkerIcon(...) 2024-02-21 18:54:22 +08:00
RD42
d0e488b35e [saco] Implement unnamed_100B6100(...) 2024-02-19 21:32:38 +08:00
RD42
1f9d252063 [saco] Implement WriteRwRasterToFile() 2024-02-19 21:13:45 +08:00
RD42
6d31d17632 [saco] Implement CEntity Set/GetTurnSpeedVector 2024-02-19 21:10:50 +08:00
RD42
73935d422a [saco] Implement CGame::GetWeaponName 2024-02-19 21:08:29 +08:00
RD42
66174a720f [saco] Implement rest of CGangZonePool member functions 2024-02-18 23:26:49 +08:00
RD42
6ea7682c3c [saco] Implement CEntity::sub_1009ED40(...) 2024-02-18 22:44:02 +08:00
RD42
17dcdb62f0 [saco] Implement CEntity Set/GetMoveSpeedVector 2024-02-18 22:43:14 +08:00
RD42
ff4a8795f2 [saco] Add DoInitStuff() and DoProcessStuff()
* Updates `TheGraphicsLoop()`
2024-02-18 22:05:04 +08:00
RD42
bd5ff19c90 [saco] Implement few CGame member functions
Implements:
*  `CGame::RequestModel(...)`
* `CGame::LoadRequestedModels()`
* `CGame::IsModelLoaded(...)`
* `CGame::SetWorldWeather(...)`
* `CGame::GetWorldWeather()`
* `CGame::IsHudEnabled()`
* `CGame::SetFrameLimiterOn(...)`
* `CGame::IsFrameLimiterEnabled()`
* `CGame::EnableFrameLimiter()`
* `CGame::SetFrameLimit(...)`
* `CGame::SetMaxStats()`
* `CGame::DisableTrainTraffic()`
* `CGame::RefreshStreamingAt(...)`
* `CGame::RequestAnimation(...)`
* `CGame::IsAnimationLoaded(...)`
* `CGame::ReleaseAnimation(...)`
* `CGame::ToggleRadar(...)`
2024-02-18 21:46:45 +08:00
RD42
96cd12248f [saco] Implement CTextDrawPool constructor 2024-02-16 22:32:25 +08:00
RD42
f854edac06 [saco] Implement CEntity::sub_1009EC80() 2024-02-16 22:27:57 +08:00
RD42
1649a5c975 [saco] Implement CGame::IsGameLoaded() 2024-02-16 22:16:57 +08:00
RD42
3b45f9932c [saco] Implement CLocalPlayer ctor
* Updates CGame ctor
* Implements `CGame::FindPlayerPed()`
* Implements `CLocalPlayer::ResetAllSyncAttributes()`
* Updates CPlayerPool ctor
2024-02-15 22:41:04 +08:00
RD42
696ec417f8 [saco] Implement CPlayerPed ctor 2024-02-15 22:23:36 +08:00
RD42
3e6824e686 [saco] Implement PedPtrRecord functions
Implements:
* `InitPlayerPedPtrRecords()`
* `SetPlayerPedPtrRecord(...)`
* `GetPlayerPedPtrRecord(...)`
* `FindPlayerNumFromPedPtr(...)`
2024-02-15 21:56:14 +08:00
RD42
1a6f6c55e4 [saco] Implement GamePool_FindPlayerPed() 2024-02-15 21:41:26 +08:00
RD42
03cc592835 Fix building errors 2024-02-14 22:51:29 +08:00
RD42
56e0bf3910 [saco] Implement CMenuPool ctor 2024-02-12 20:22:51 +08:00
RD42
a6b3920780 [saco] Implement unnamed_100B2AF0() and unnamed_100B2B20() 2024-02-12 20:18:31 +08:00
RD42
2da4d86441 [saco] Implement CLabelPool ctor 2024-02-12 20:16:37 +08:00
RD42
864ab50d1e [saco] Implement CActorPool ctor 2024-02-12 20:12:15 +08:00
RD42
05309cad36 [saco] Implement CObjectPool ctor 2024-02-12 20:10:26 +08:00
RD42
7a5465b4cf [saco] Add member functions to CGame
* Adds `CGame::RestartEverything()`
* Adds `CGame::GetWeaponInfo()`
* Adds `CGame::SetGravity()`
* Adds `CGame::SetWantedLevel()`
* Adds `CGame::SetGameTextCount()`
* Adds `CGame::DrawGangZone()`
2024-02-10 22:57:18 +08:00
RD42
7755205ea9 [saco] Implement CEntity::GetMatrix and CEntity::SetMatrix 2024-02-10 22:48:48 +08:00