149 Commits

Author SHA1 Message Date
RD42
bbf72d218d [saco] Implement all CSpawnScreen member functions
* Updates `DoInitStuff()`
2024-03-20 23:49:06 +08:00
RD42
a7b92a2f3d [saco] Add CDeathWindow stub constructor 2024-03-20 23:46:57 +08:00
RD42
57f5d13be0 [saco] Fix CChatWindow constructor declaration 2024-03-20 23:45:19 +08:00
RD42
7aab86cc96 [saco] Update CCmdWindow constructor 2024-03-20 23:43:00 +08:00
RD42
79572bb0f8 [saco] Update CChatWindow constructor
* Update `DoInitStuff()`
* Add `CChatWindow::CreateFonts()` stub
2024-03-20 23:39:55 +08:00
RD42
75d426fbee [saco] Add DirectX .lib files 2024-03-16 23:40:38 +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
b6d8c9c215 [saco] Update DoProcessStuff()
* Add `CNetGame::Process()` stub
* Add `CNetGame::UpdateNetwork()` stub
* Implement `GetPacketID(...)`
* Implement `HasTimestamps()`
2024-03-16 23:28:06 +08:00
RD42
3687b95a9d [saco] DllMain jump? 2024-03-14 23:56:03 +08:00
RD42
e8c56e3085 [saco] Implement ID3DXFontHook functions 2024-03-14 23:48:25 +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
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 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
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