Commit Graph
26 Commits
Author SHA1 Message Date
ricardoofnl 1df2731742 [saco] Match SendDeath and SetInteriorId; the killer id is a WORD out-param whose copy widens to a dword 2026-09-05 09:39:37 +07:00
ricardoofnl 3a04674340 [saco] Match FUNC_10004120; the counter is a free function whose loop index and bound are both locals declared ahead of the early return 2026-09-05 09:39:37 +07:00
ricardoofnl 8163d2e5ee [saco] Match FUNC_10003FC0, the in-vehicle boundary check; the id is tested against INVALID_VEHICLE_ID before the range 2026-09-05 09:39:37 +07:00
ricardoofnl 5baa271d74 [saco] Match FUNC_10004280; GetAt is called twice and the pool bound check folds into GetSlotState 2026-09-05 09:39:37 +07:00
ricardoofnl 558298089e [saco] Match RequestSpawn, FUNC_10003F50 and FUNC_100041C0; the spectate reset is an else if, and a plain second if costs the jmp to the tail 2026-09-05 09:24:47 +07:00
ricardoofnl 3c8eb15683 [saco] Match five more CLocalPlayer members; SPAWN_INFO sits at +0x14F and the resend test duplicates its update arm rather than merging the conditions 2026-09-05 09:24:47 +07:00
ricardoofnl e18f766850 [saco] Match five more CLocalPlayer members; the sync interval globals at 0x100FE0A8/0x100FE0AC default to 30 2026-09-05 09:24:47 +07:00
ricardoofnl 375a1b3aa3 [saco] Match four small CLocalPlayer members; the 1000 fallback has to be the trailing else, and the three key words are read through field_0 2026-09-05 09:24:47 +07:00
ricardoofnl 0fedc9c0bc [saco] Match CLocalPlayer::FUNC_10006FE0, the enter-vehicle key handler; fcomp/test ah, 5/jp is a float < 2026-09-04 22:54:15 +07:00
ricardoofnl 773bf14843 [saco] Match CLocalPlayer::FUNC_10005AD0; the flag byte comes from a branch not setne, and the GTA id needs its own local to reuse esi 2026-09-04 22:52:29 +07:00
ricardoofnl c2a7c3ad17 [saco] Match CLocalPlayer::FUNC_10005BF0; the guards must nest, sequential returns each emit their own BitStream dtor 2026-09-04 22:52:29 +07:00
ricardoofnl 6452edd2f1 [saco] Match CLocalPlayer::SelectNextClass; the class step plays sound 1052/1053 through CAudio at pGame+0 2026-09-04 22:28:01 +07:00
ricardoofnl a9f1f78a02 [saco] Match CLocalPlayer::RequestClass and SendStatsUpdate; the stats packet is ID_STATS_UPDATE over Send, not an RPC 2026-09-04 22:28:01 +07:00
ricardoofnl 67d0758e1d [saco] Match the three CLocalPlayer damage reports; RELIABLE_ORDERED is 9 and the WORD arg copy widens to a dword 2026-09-04 22:28:01 +07:00
ricardoofnl bfb3801491 [saco] Implement/match CLocalPlayer::Say 2026-08-02 09:39:56 +07:00
RD42 550620d178 [saco] Rename few CLocalPlayer member variables 2025-04-21 06:21:34 -07:00
RD42 c05bb539e9 [saco] Update CLocalPlayer::ResetAllSyncAttributes() 2025-04-21 06:19:47 -07:00
RD42 f1629fe2d4 [saco] Match CLocalPlayer::ResetAllSyncAttributes() 2025-04-20 07:53:56 -07:00
RD42 15ab1d056a [saco] Fix compilation errors 2024-10-28 00:00:41 +08:00
RD42 becf308a1c [saco] Implement/match CLocalPlayer::GetPlayerColorAsARGB() 2024-10-20 17:23:35 +08:00
RD42 b860b6a926 [saco] Implement/match CLocalPlayer::GetPlayerColorAsRGBA() 2024-10-20 17:23:00 +08:00
RD42 5e46ec5702 [saco] Implement/match ScrSetPlayerColor(...) 2024-10-17 17:34:21 +08:00
RD42 e243477e2b [saco] Implement/match ScrForceSpawnSelection(...) 2024-10-16 17:31:30 +08:00
RD42 669437e30b [saco] Implement/match CEntity::GetDistanceFromLocalPlayerPed()
* Update CLocalPlayer constructor
* Update `CLocalPlayer::ResetAllSyncAttributes()`
2024-08-07 19:01:32 +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