Commit Graph

457 Commits

Author SHA1 Message Date
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
abced1233f [bot] Implement CGameMode::Load 2024-03-14 23:27:32 +08:00
RD42
d8b5f00912 [bot] Implement CGameMode::Unload 2024-03-14 23:26:41 +08:00
RD42
a3810144d1 [bot] Implement CNetGame destructor
* Implements CScriptTimers destructor
* Implements `CScriptTimers::FreeMem`
* Implements CPlayerPool destructor
* Implements `CPlayerPool::Delete`
* Implements `CNetGame::sub_415EA0`
* Implements CVehiclePool destructor
* Implements `CVehiclePool::Delete`
* Implements ` CNetGame::sub_415EC0`
2024-03-14 23:24:26 +08:00
RD42
98f93f88bb [bot] Scripting function stubs 2024-03-12 23:46:02 +08:00
RD42
3bdb21283f Add AMX modules 2024-03-12 23:39:27 +08:00
RD42
7678b765ce Match amx_SetString 2024-03-12 23:16:55 +08:00
RD42
1c89a11342 Ignore IDA files 2024-03-03 00:29:29 +08:00
RD42
d94f2ac5b9 #4 2024-03-03 00:28:58 +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
824ad9c15d [server] Update CConsole::Execute(...) 2024-02-26 22:55:30 +08:00
RD42
c2b3293bbc [saco] Add TCPInterface.cpp/.h to the project 2024-02-26 22:25:14 +08:00
RD42
32ff566af7 [bot] Update CGameMode::Unload() 2024-02-21 19:45:27 +08:00
RD42
1bdaff6125 [bot] Add CGameMode::Load(...) 2024-02-21 19:44:43 +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