201 Commits

Author SHA1 Message Date
RD42
ad0b31deb5 [saco] Implement/match CMenuPool::GetTextPointer(...)
* Implement/match `CMenu::GetMenuItem(...)`
* Implement/match `CMenu::GetMenuTitle()`
* Implement/match `CMenu::GetMenuHeader(...)`
2024-07-16 23:28:35 +08:00
RD42
6fb501be50 [saco] Implement/match CMenuPool::ShowMenu(...)
* Implement/match `CMenu::Show()`
* Implement/match `CMenu::MS(...)`
2024-07-16 23:24:53 +08:00
RD42
37642d51d4 [saco] Implement/match CMenuPool destructor
* Implement/match `CMenu::Hide()`
2024-07-16 23:19:34 +08:00
RD42
fc436d9489 [saco] Implement/match CMenuPool::New(...)
* Implement/match CMenu constructor
* Update CMenuPool constructor
2024-07-16 23:12:10 +08:00
RD42
8bad01ccf4 [saco] Implement/match CPlayerPed::SetMoney(...) 2024-07-14 22:51:45 +08:00
RD42
410d45a6da [saco] Implement/match CPlayerPed::SetAnimationSet(...) 2024-07-14 22:50:36 +08:00
RD42
4719195b6d [saco] Match CPlayerPed constructor 2024-07-13 23:26:40 +08:00
RD42
d9fe4ea5d1 [saco] Update CGame::StartGame() 2024-07-12 18:41:17 +08:00
RD42
8a535f0dc6 [saco] Implement/match ScriptCommand(...) 2024-07-12 18:38:48 +08:00
RD42
4a7312878e [saco] Add missing ADDR_STARTGAME macro 2024-07-12 18:35:10 +08:00
RD42
3878481975 [saco] Match InitAnimNameHashes() 2024-07-11 19:19:59 +08:00
RD42
5a6eb5a43a [saco] Implement InitAnimNameHashes()
* Update `CGame::StartGame()`
2024-07-11 19:09:33 +08:00
RD42
67f4e5ba51 [saco] Implement CRC32FromUpcaseString(...) 2024-07-11 19:02:33 +08:00
RD42
e528b1b769 [saco] Implement and match GetNormalisation(...) 2024-05-07 22:31:48 +08:00
RD42
ffa4d3b01e [saco] Implement and match _VectorNormalise(...) 2024-05-07 22:30:48 +08:00
RD42
23d890c7f9 [saco] Implement and match SquaredDistanceBetweenPoints(...) 2024-05-07 22:29:56 +08:00
RD42
b8ef3c5e16 [saco] Implement and match DistanceBetweenPoints(...) 2024-05-07 22:26:45 +08:00
RD42
7b42598f9a [saco] Implement and match DistanceBetweenHorizontalPoints(...) 2024-05-07 22:25:37 +08:00
RD42
00d60205c5 [saco] Implement and match SquaredDistanceBetweenHorizontalPoints(...) 2024-05-07 22:24:39 +08:00
RD42
5820739d66 [saco] Implement and match NormalizeAngle(...) 2024-05-06 22:35:47 +08:00
RD42
46405f9dc1 [saco] Implement and match FloatOffset(...) 2024-05-06 22:34:58 +08:00
RD42
4643d1ff97 [saco] Implement and match FloatDifference(...) 2024-05-06 22:34:26 +08:00
RD42
282a3c88f6 [saco] Implement and match IsATrainPart(...) 2024-05-06 22:32:46 +08:00
RD42
6b2e018270 [saco] Implement and match HasCollisionLoaded(...) 2024-05-06 22:32:07 +08:00
RD42
21d9e69510 [saco] Implement and match InvDegToRad(...) 2024-05-06 22:30:31 +08:00
RD42
8221529e6c [saco] Implement and match DegToRad(...) 2024-05-06 22:29:22 +08:00
RD42
972a615f42 [saco] Implement and match ResetLocalPad(...) 2024-05-05 22:23:17 +08:00
RD42
d37f421236 [saco] Implement and match CreateCameraRaster() 2024-05-05 22:22:32 +08:00
RD42
e72af6ce72 [saco] Implement and match CPlayerPed::IsInVehicle() 2024-05-05 22:18:25 +08:00
RD42
9c4d7692a6 [saco] Implement and match CPlayerPed::SetActionTrigger(...) 2024-05-05 22:16:50 +08:00
RD42
526dff8889 [saco] Implement and match CPlayerPed::GetActionTrigger() 2024-05-05 22:16:15 +08:00
RD42
a7f29efcef [saco] Implement and match CPlayerPed::IsDead() 2024-05-05 22:14:11 +08:00
RD42
c5eb9a8421 [saco] Implement and match CPlayerPed::SetStateFlags(...) 2024-05-05 22:13:40 +08:00
RD42
24b2cc72c1 [saco] Implement and match CPlayerPed::GetStateFlags() 2024-05-05 22:12:31 +08:00
RD42
525700b01e [saco] Implement and match CPlayerPed::SetArmour(...) 2024-05-05 22:11:39 +08:00
RD42
895adbad7e [saco] Implement and match CPlayerPed::GetArmour() 2024-05-05 22:10:52 +08:00
RD42
a64a724681 [saco] Implement and match SaveCameraRaster(...) 2024-05-05 21:41:12 +08:00
RD42
bb943ef2a3 [saco] Implement and match GameIsEntityOnScreen(...) 2024-05-05 21:33:51 +08:00
RD42
1865de083f [saco] Implement and match CPlayerPed::SetHealth(...) 2024-05-05 19:06:45 +08:00
RD42
e2ee3d3a3b [saco] Implement and match CPlayerPed::GetHealth() 2024-05-05 19:04:57 +08:00
RD42
4cd7a6942b [saco] Implement and match CPlayerPed::SetImmunities(...) 2024-05-05 19:02:17 +08:00
RD42
a14828960b [saco] Implement and match CPlayerPed::IsOnScreen() 2024-05-05 18:59:28 +08:00
RD42
492705d035 [saco] Implement and match CPlayerPed::HideMarker() 2024-05-05 18:57:12 +08:00
RD42
cf591f0fb8 [saco] Implement and match CPlayerPed::GetCurrentVehicleID() 2024-05-05 18:54:54 +08:00
RD42
f7ff8d45df [saco] Implement and match CPlayerPed::GetCurrentWeapon() 2024-05-05 18:52:08 +08:00
RD42
1ff732c35c [saco] Implement and match CPlayerPed::SetCurrentAim(...) 2024-05-05 18:37:07 +08:00
RD42
c8bd72c1a0 [saco] Implement and match CPlayerPed::GetCurrentAim() 2024-05-05 18:34:54 +08:00
RD42
3fc4174268 [saco] Implement and match CPlayerPed::GetSpecialKey() 2024-05-05 18:32:43 +08:00
RD42
d767d9d6e3 [saco] Implement and match CPlayerPed::SetInitialState() 2024-05-05 18:30:43 +08:00
RD42
4a743549b5 [saco] Implement and match CPlayerPed::ResetPointers() 2024-05-05 18:29:24 +08:00
RD42
29fc46aa00 [saco] Implement and match GetInvalidModelInfoCount() 2024-05-05 18:21:21 +08:00
RD42
ddb2440aab [saco] Implement and match ReplaceBuildingModel(...) 2024-05-05 18:19:43 +08:00
RD42
34e3becac1 [saco] Implement and match GamePool_GetObject() 2024-05-05 16:41:54 +08:00
RD42
261cd01e1d [saco] Implement and match GamePool_GetDummy() 2024-05-05 16:40:42 +08:00
RD42
2eaeae5b56 [saco] Implement and match GamePool_GetBuilding() 2024-05-05 16:39:28 +08:00
RD42
4db124b7d3 [saco] Match ProcessLineOfSight(...) 2024-05-05 16:37:48 +08:00
RD42
b2397256b8 [saco] Implement VehicleModel_SetEnvironmentMapHook() 2024-05-04 22:57:30 +08:00
RD42
f3e040cfc3 [saco] Implement CPlayerPed_ProcessCollision_Hook() 2024-05-04 22:56:40 +08:00
RD42
b5d2f63338 [saco] Implement Rand_Hook() 2024-05-04 22:55:06 +08:00
RD42
5b75400b9f [saco] Implement HOOK_6() 2024-05-04 22:52:42 +08:00
RD42
3e2c80c2b1 [saco] Implement CPlayerPed::HasAmmoForCurrentWeapon() 2024-05-03 22:10:53 +08:00
RD42
9894fd3ec7 [saco] Implement CPlayerPed::StartGoggles() 2024-05-03 22:10:08 +08:00
RD42
f6211221c4 [saco] Implement CPlayerPed::GiveWeapon(...) 2024-05-03 22:09:09 +08:00
RD42
653f8dcc16 [saco] Implement CPlayerPed::SetArmedWeapon(...) 2024-05-03 22:07:17 +08:00
RD42
1b274863d8 [saco] Implement CPlayerPed::GetAmmo() 2024-05-03 21:59:22 +08:00
RD42
d20bd16a24 [saco] Implement CPlayerPed::GetCurrentWeaponSlot() 2024-05-03 21:56:41 +08:00
RD42
8f763d8f30 [saco] Implement CPlayerPed::FindWeaponSlot(...) 2024-05-03 21:54:53 +08:00
RD42
7f0710a9d3 [saco] Implement CPlayerPed::StopGoggles() 2024-05-03 21:51:28 +08:00
RD42
c905d1dfb4 [saco] Implement CPlayerPed::HasGoggles() 2024-05-03 21:48:31 +08:00
RD42
4a6bdad74a [saco] Implement CTaskKillPedOnFootArmed constructor 2024-05-02 21:51:45 +08:00
RD42
c70e9f59c8 [saco] Implement CTaskGoToPoint constructor 2024-05-02 21:50:59 +08:00
RD42
4c400c51ed [saco] Implement CTaskGoggles constructor 2024-05-02 21:50:26 +08:00
RD42
e600a29d0c [saco] Implement CTaskTakeDamageFall constructor 2024-05-02 21:49:48 +08:00
RD42
b5e5b572d9 [saco] Implement CTaskJetpack constructor and destructor 2024-05-02 21:49:22 +08:00
RD42
161bc72d96 [saco] Implement CTask member functions 2024-05-02 21:47:10 +08:00
RD42
33cb3d22f7 [saco] Implement and match file hook functions 2024-04-17 22:48:54 +08:00
RD42
783b4fb01a [saco] Add ApplyInGamePatches()() 2024-04-10 22:15:51 +08:00
RD42
e1bd0daf96 [saco] Implement RelocateBaseModelInfoHack() 2024-04-10 22:15:00 +08:00
RD42
d790a6bee1 [saco] Update RelocateScanListHack() 2024-04-10 22:14:25 +08:00
RD42
b9ee9d4786 [saco] Implement SetTimedObjects(...)
* Implement `SetIPLs(...)`
* Implement `_patch(...)`
2024-04-08 22:20:41 +08:00
RD42
9ce72dcf79 [saco] Implement CAudio::StopRadio()
* Implement `CAudio::sub_100A21D0()`
2024-04-08 22:17:26 +08:00
RD42
e3430e3719 [saco] Implement ApplyGameLimitPatches() 2024-04-07 22:43:44 +08:00
RD42
6506991783 [saco] Implement CUnkClass15 constructor
* Implement `CUnkClass15::sub_1006BE40()`
* Implement various RenderWare function calls
* Update `DoInitStuff()`
2024-04-02 22:40:58 +08:00
RD42
d17a278bcd [saco] Fix compilation errors 2024-03-22 23:47:43 +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
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
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
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
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
d0e488b35e [saco] Implement unnamed_100B6100(...) 2024-02-19 21:32:38 +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