Commit Graph

695 Commits

Author SHA1 Message Date
Silent
b6df6316e4
Lift the limit of materials in CObject::Render from 16 to 256 2024-04-21 19:56:06 +02:00
Silent
bbd9164de3
Updated some RW calls and the shadow alpha test fix
Fixes an incompatibility with the light boxes,
previously overlooked because the widescreen fix disabled them

Fixes #12
2024-04-18 20:57:47 +02:00
Silent
f6ba6be75a
Fixed IS_PLAYER_TARGETTING_CHAR incorrectly detecting targetting in Classic controls when the player is not aiming
Contributed by Wesser

Fixes #10
2024-04-17 23:31:03 +02:00
Silent
21b537f5ec
Fixed the muzzle flash facing the wrong direction
Contributed by Wesser

Fixes #9
2024-04-16 22:20:40 +02:00
Silent
78c03005fe
Fixed multiple issues with pickups in VC:
* Asset money pickup now initializes the text color to red correctly
* minigun2 doesn't emit a secondary white glow anymore
* bomb pickup doesn't have the grenade inside the detonator anymore

Fixes #8
2024-04-10 20:23:20 +02:00
Silent
33c206cfc3
Support ASLR in III and VC 2024-04-06 15:14:58 +02:00
Silent
095ed65476
Pre-emptively make HierarchyTypoFix more compatible with mods 2024-04-03 22:44:34 +02:00
Silent
82fba227af
Don't reset mouse sensitivity on New Game 2024-03-21 20:44:51 +01:00
Silent
2eab47968c
Enable Dodo keyboard controls for all cars when the flying cars cheat is enabled 2024-03-21 19:25:30 +01:00
Silent
5a99b6a4d8
III: Backport 1.1 Stats menu font fix to 1.0 2024-03-20 21:21:39 +01:00
Silent
8414ed4208
Null terminate read lines in CPlane::LoadPath and CTrain::ReadAndInterpretTrackFile 2024-03-18 23:47:51 +01:00
Silent
b3131a41b4
Make script randomness 16-bit, like on PS2 2024-03-17 20:52:52 +01:00
Silent
d72a0cb7a0
Fix probabilities in CVehicle::InflictDamage incorrectly assuming a random range from 0 to 100.000 2024-03-17 18:15:56 +01:00
Silent
56ac3b8795
Fix the evasive dive miscalculating the angle, resulting in peds diving towards the vehicle
Fixes #3
2024-03-13 22:15:34 +01:00
Silent
e4190105bc
SA: Account for a "tailights" typo in the Uranus model 2024-03-13 20:14:22 +01:00
Silent
858abbd342
III/VC: Apply the environment mapping on extra components
Also includes an INI exception list "ExtraCompSpecularityExceptions"
for cars with incorrectly set specular on extras,
like Stallion and Mesa Grande
2024-03-09 17:04:12 +01:00
Silent
f72f85ecd6
VC: Fix a stack corruption in ZeroAmmoFix 2024-03-09 15:17:10 +01:00
Silent
ac3601e12c
III: Apply bilinear filtering on the player skin 2024-03-07 23:34:15 +01:00
Silent
50c6a9bda3
Fixed an inverted condition in CCarCtrl::PickNextNodeRandomly
leading to cars being unable to turn right from one way roads

Contributed by Nick007J

Fixes #1
2024-03-07 22:47:52 +01:00
Silent
9f94595ee4
Fix the logic behind exploding cars losing wheels
Fixes #17
2024-03-06 22:42:35 +01:00
Silent
c6c9fe6013
Enable directional lights on flying car components
Fixes detached car parts rendering as near black

Fixes #16
2024-03-05 23:34:46 +01:00
Silent
a4d83ac9ce
Fixed shooting stars rendering black
Fixes #14
2024-03-01 23:44:50 +01:00
Silent
f025dff42d
Fixed vehicles exploding twice if the driver leaves the car while it's exploding
Fixes #13
2024-02-29 21:44:18 +01:00
Silent
1d2f0014f1
Fix the random chance of cars not turning lights on when it's foggy or rainy
On PC, they would always eventually turn the lights on due to a different
range of randomness.

Fixes #2
2024-02-27 22:27:51 +01:00
Silent
03fb49689d
Updated the parachute animations fix to preserve the night vertex colors of the parachute
Contributed by B1ack_Wh1te

Fixes #19
2024-02-25 18:42:16 +01:00
Silent
723d56ec9c
During riots, don't target the player group during missions 2024-02-24 20:20:51 +01:00
Silent
309412e7d1
Allow hovering on the Jetpack with Keyboard + Mouse controls
Fixes #5
2024-02-23 23:49:34 +01:00
Silent
4b84257c83
Fix planes spawning in places where they crash easily 2024-02-22 23:06:38 +01:00
Silent
59ac5d0550
Fixed a script error in Air Raid
1.0 script "steals" the weapon from the slot 8,
1.01/2.0 attempted to fix it, but the script does not load the model
so it gives an invisible weapon. Inject a proper fix into the mission instead.
2024-02-21 21:13:34 +01:00
Silent
03e836926d
Fix Driving and Bike School cones teardown to only destroy the cones that were spawned
Contributed by Wesser
2024-02-21 10:59:34 +01:00
Silent
fe363932c7
Fix PlayerPed replay crashes:
* Crash when starting a mocap cutscene after playing a replay wearing different clothes to the ones CJ has currently
* Crash when playing back a replay with a different motion group anim (fat/muscular/normal) than the current one

Fixes #7
2024-02-19 22:47:35 +01:00
Silent
d2606038ad
Only allow impounding cars and bikes (and their subclasses), as impounding helicopters, planes, boats makes no sense 2024-02-14 23:57:11 +01:00
Silent
20fc94b097
Spawn lapdm1 (biker cop) correctly if the script requests one with PEDTYPE_COP 2024-02-14 22:26:52 +01:00
Silent
013990b914
Rename branch to Shipping 2024-02-09 21:21:35 +01:00
Silent
f80c38f9f2
Fixed the muzzle flash fix - now not displaying the muzzle flash if "shooting" on jetpack when the gun is out of ammo
Fixes #6
2024-02-08 21:39:12 +01:00
Silent
62716d905f
Delay destroying of cigarettes/bottles held by NPCs so it does not potentially corrupt the moving list 2024-02-08 20:17:45 +01:00
Silent
b48f5da91d
Correct an improperly decrypted CPlayerPedData::operator= that broke gang recruiting after activating replays
Contributed by Wesser
2024-02-06 19:25:14 +01:00
Silent
141ee0f1a5
Fix miscolored racing checkpoints if no other marker was drawn before them 2024-02-04 17:32:39 +01:00
Silent
eb8cfe933a
Re-init text IPL pickups, car generators and stunt jumps on New Game
Fixes an issue where fire extinguisher and a few other pickups
didn't show on New Game if it was started from a save
2024-02-03 22:59:27 +01:00
Silent
ef65dd7c2d
Migrated several fixes to use HookEach
Gives each hook intercepting functions its own thunk function,
so if another modification intercepts only one of X functions
patched by SilentPatch, this will now be preserved.

Also makes GTA SA's stored car bomb ownership fix work
with the Hoodlum EXE.
2024-02-03 20:26:50 +01:00
Silent
de34cfec03
Re-enable debug symbols 2024-02-03 16:48:57 +01:00
Silent
8e44eb8d7b
Fix the biker cop drive by patch for Hoodlum EXE 2024-02-02 22:06:00 +01:00
Silent
0fa88b0260
Small SVF refactor 2024-02-01 19:07:51 +01:00
Silent
f63425cff0
Cancel the Drive By task of biker cops when losing the wanted level 2024-01-31 22:35:59 +01:00
Silent
f521cba4dd
Removed stdext from code 2024-01-28 20:50:58 +01:00
Silent
7787d92dc7
Remade custom numberplates
Removed the "cache" to make the code simpler,
and resolve a SP bug where number plates from
the upgrade parts broke any number plates
on future spawns of the same car model.
2024-01-28 20:49:52 +01:00
Silent
99f57a0855
Fix crosshair issues when sniper rifle is quipped and a photo is taken by a gang member
Contributed by Wesser
2024-01-28 18:09:54 +01:00
Silent
0a59b79cce
Fix a memory leak when taking photos 2024-01-28 18:09:36 +01:00
Silent
6ddb600694
Migrate to libflac from vcpkg 2024-01-28 16:12:16 +01:00
Silent
3ba84ad1c0
Disable the radio station change anim on boats where CJ stands upright
Contributed by Wesser
2024-01-28 15:58:13 +01:00