205 Commits

Author SHA1 Message Date
RD42
890477a533 [saco] Implement CUnkClass5 constructor 2024-03-26 23:52:21 +08:00
RD42
8ef36cc71e [saco] Implement CUnkClass4 constructor 2024-03-26 23:50:28 +08:00
RD42
6241c3d9a2 [saco] Implement CUnkClass3 constructor 2024-03-25 23:10:42 +08:00
RD42
44199a40f8 [saco] Implement CUnkClass2 constructor
* Implement `CUnkClass2::sub_1006E930()`
2024-03-25 23:09:08 +08:00
RD42
6d646178a4 [saco] Implement CUnkClass1 constructor 2024-03-25 23:01:51 +08:00
RD42
d17a278bcd [saco] Fix compilation errors 2024-03-22 23:47:43 +08:00
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
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
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
RD42
b370b8d980 [saco] Add more member functions to CCamera
* Adds ´sub_1009D560()´
* Adds ´CCamera::Attach´
* Adds ´CCamera::InterpolatePosition´
* Adds `CCamera::InterpolateLookAt`
2024-02-10 22:45:20 +08:00
RD42
1002c13453 [saco] Implement CPickupPool constructor 2024-02-07 23:59:04 +08:00
RD42
fea970deef [saco] Add missing global variables for CGame::sub_100A0010() 2024-02-07 23:53:11 +08:00
RD42
70f517909c [saco] Add few unnamed functions to CGame 2024-02-07 23:50:57 +08:00
RD42
8b198a659d [saco] Add CEntity ctor/dtor 2024-02-07 23:40:39 +08:00
RD42
c6b1f81352 [saco] Implement CPlayerPool ctor 2024-02-06 22:20:05 +08:00
RD42
125a453d53 [saco] Implement CVehiclePool ctor 2024-02-06 22:08:24 +08:00
RD42
2ae74bd25e [saco] Add CNetGame::InitPools() 2024-02-06 22:01:20 +08:00
RD42
315a961c3e [saco] Implement member functions to CCamera 2024-02-06 21:37:52 +08:00
RD42
1f16817ef0 [saco] Rename sha1.cpp/.h to fhicl-sha1.cpp/.h
Due to a object file conflict with RakNet's SHA1
2024-02-06 21:23:49 +08:00
RD42
27fecef578 [saco] Fix undeclared RakClientInterface error 2024-02-05 23:33:23 +08:00
RD42
c05ebd7125 [saco] Add netrpc.cpp/.h to the project 2024-02-05 23:28:43 +08:00
RD42
e7dd466f6a [saco] Implement cmdTestDeathWindow() 2024-02-05 22:00:42 +08:00
RD42
93b0d9ea8f [saco] Add CDeathWindow::AddMessage(...) stub 2024-02-05 21:59:11 +08:00
RD42
8b2b8fdd05 [saco] Implement cmdMem() 2024-02-05 21:54:49 +08:00
RD42
503cb19e4f [saco] Implement InstallNewWindowProcedure() 2024-02-05 21:49:33 +08:00
RD42
fc358a2996 [saco] Implement LaunchMonitor()
* Adds `CGame::StartGame()` stub
2024-02-05 21:30:36 +08:00
RD42
4daffd4d83 [saco] Implement CallRwRenderStateSet, CallRwRenderStateGet 2024-02-05 21:19:22 +08:00
RD42
d853e72abe [saco] Implement sub_1009DD50() 2024-02-05 21:01:41 +08:00
RD42
854f890108 [saco/server/bot] Add and match RakNet Rand functions 2024-02-04 19:26:33 +08:00
RD42
4ceb300a75 [saco/server/bot] Add and match RakNet SHA1 2024-02-04 19:23:08 +08:00
RD42
3db8ea2f68 [saco] Implement SetupCommands 2024-02-02 22:51:57 +08:00
RD42
dc47e22f45 [saco] Implement CCmdWindow::AddCmdProc 2024-02-02 22:47:51 +08:00
RD42
99b6dd3eda [saco] Implement CCmdWindow::AddDefaultCmdProc 2024-02-02 22:47:18 +08:00
RD42
8a02086d3f [saco] Implement CGame::GetD3DDevice() 2024-02-01 00:11:46 +08:00
RD42
d043e7c55a [saco] Implement RelocateScanListHack 2024-02-01 00:05:04 +08:00
RD42
a13ab2d9b6 [saco] Implement RelocatePedsListHack 2024-02-01 00:03:23 +08:00
RD42
9f816ede65 [saco] Implement _VehicleEnvMappingFromScreen 2024-02-01 00:00:47 +08:00
RD42
946a16b42b [saco] Implement IsNumeric 2024-01-31 23:59:28 +08:00
RD42
1d12c53e86 [saco] Update CNetGame ctor 2024-01-31 23:57:40 +08:00