Commit Graph

137 Commits

Author SHA1 Message Date
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
ff72a169a7 [saco] Update DumpMain(...) 2024-02-27 21:20:51 +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
673ec195bc [saco] Update DoInitStuff() 2024-02-26 22:57:09 +08:00
RD42
089ff5df25 [saco] Macros for ed2ec894c9 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
aeda9835f3 [saco] Implement SHA1_HashData(...) 2024-02-21 19:16:31 +08:00
RD42
824e446786 [saco] Implement CNetGame map icon functions
Implements:
* `CNetGame::SetMapIcon(...)`
* `CNetGame::DisableMapIcon(...)`
* `CNetGame::ResetMapIcons()`
2024-02-21 19:04:26 +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
cfef4a1af2 [saco] Implement CConfig::ReadFile()
* Renames `CConfig::sub_10066270()` to `CConfig::AddConfigEntry(...)`
2024-02-20 23:39:56 +08:00
RD42
17aa0c8eee [saco] Implement CArchiveFS class member functions 2024-02-20 23:37:17 +08:00
RD42
d0e488b35e [saco] Implement unnamed_100B6100(...) 2024-02-19 21:32:38 +08:00
RD42
2bade13e0c [saco] Implement CConfig ctor 2024-02-19 21:31:01 +08:00
RD42
f48407e96f [saco] Implement IDirect3DDevice9Hook class 2024-02-19 21:28:23 +08:00
RD42
cb7bdd1950 [saco] Add detours.h to the project 2024-02-19 21:22:21 +08:00
RD42
bc5ef7e0b1 [saco] Implement HookRwRenderStateSet()
Implements:
* `HookRwRenderStateSet()`
* `RwRenderStateSetHook()`
2024-02-19 21:20:00 +08:00
RD42
c486b3b26e [saco] Implement SetupD3DFog(...) 2024-02-19 21:16:42 +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
efa55de427 [saco] Implement CGangZonePool ctor 2024-02-18 21:21:09 +08:00
RD42
87f94769e8 [saco] Update CNetGame constructor 2024-02-16 22:32:43 +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
7565bc1bc1 [saco] Implement cmdDebugLabels(...) 2024-02-16 22:23:35 +08:00
RD42
58263d0e96 [saco] Implement UninstallFileSystemHooks()
* Updates `DllMain(...)`
2024-02-16 22:20:59 +08:00
RD42
29c3a8b351 [saco] Implement Arch_ShowCursor(...) 2024-02-16 22:18:00 +08:00
RD42
1649a5c975 [saco] Implement CGame::IsGameLoaded() 2024-02-16 22:16:57 +08:00
RD42
0bd8c87f21 [saco] Implement cmdDefaultCmdProc(...)
* Adds ` CLocalPlayer::Say(...)` stub
2024-02-16 22:15:16 +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
adce37adc0 [saco] Implement InstallShowCursorHook() 2024-02-14 23:26:23 +08:00
RD42
53c6b978c2 [saco] Implement InstallFileSystemHooks() 2024-02-14 23:23: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