Commit graph

78 commits

Author SHA1 Message Date
Silent
836fbafd41
Replaced Rosenberg Audio Fix that was placebo with PS2 randomness for this audio
Might bring it closer to PS2 odds,
but the feature was never broken in the first place.

Fixes #11
2024-04-29 20:43:25 +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
82fba227af
Don't reset mouse sensitivity on New Game 2024-03-21 20:44:51 +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
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
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
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
0fa88b0260
Small SVF refactor 2024-02-01 19:07:51 +01:00
Silent
8cf5157941
Update to the newest ModUtils 2024-01-28 15:26:24 +01:00
Silent
2af4ec8e06
Obtain desktop resolution regardless of DPI scaling
Fixes "Cannot find X video mode" when DPI scaling is in use
2021-07-26 23:55:41 +02:00
Silent
7c79495174
III: Fix chopper's search light placement
VC: Typo fix
2019-12-27 16:24:35 +01:00
Silent
c1ccfba2ec
III/VC: Added EnableVehicleCoronaFixes INI option 2019-12-27 11:06:26 +01:00
Silent
4679873c3a
VC: Make drive-by one shot sounds owned by the driver instead of the car 2019-12-25 17:40:59 +01:00
Silent
f3f9004322
III/VC: Made vehicle ID-based fixes data driven 2019-12-25 16:02:42 +01:00
Silent
7a96e5eefb
VC/SA: Allow extra6 to be picked with component rule 4 (any) 2019-12-25 15:36:59 +01:00
Silent
fe37cd7c88
III/VC: Corrected Ambulance siren pos again to reduce clipping 2019-12-23 21:00:38 +01:00
Silent
7d94694d5a
VC: Corrected siren coronas in FBI Rancher and Vice Cheetah, added siren to FBI Washington 2019-12-23 19:56:30 +01:00
Silent
330f1e3072
VC: Fixed corona placements on Police, Fire truck, Ambulance, Enforcer and Police Maverick 2019-12-15 17:25:09 +01:00
Silent
9b26855d3d
Unified math functions 2019-12-15 13:44:20 +01:00
Silent
3319f9df00
VC: Corrected FBI Washington sirens sound 2019-12-08 20:15:25 +01:00
Silent
39df8343ca
III/VC: Remade static shadow alpha fix properly
Now disables alpha test for these shadows instead of tweaking intensity
"until it works"
2019-12-07 19:29:08 +01:00
Silent
bb02824c91
Metric/Imperial check based on Windows locale settings and on INI/debug menu override (III/VC) 2019-08-24 22:35:35 +02:00
Silent
da5b5b1e12
Set up facilities for delayed patching in III/VC 2019-08-24 17:05:32 +02:00
Silent
4d02505521
Moved shared stuff to a submodule 2019-06-28 23:53:05 +02:00
Silent
80242b42f7
Marked some functions as safebuffers since realistically QueryPerformanceCounter won't ever cause a buffer overrun and it's a quite time critical function 2019-01-05 19:08:57 +01:00
Silent
2e02450995
Credits for III, VC and SA newsteam 2018-04-28 17:45:32 +02:00
Silent
b11644ae5a
GetBuildNumber export (revision << 8 | build) 2018-04-20 20:33:45 +02:00
Silent
2614f4d1b0
Decreased keyboard input latency - III, VC, SA 1.0/newsteam 2018-03-28 21:23:16 +02:00
Silent
fcc799645f
Extras working correctly on bikes - VC 2018-03-27 22:28:45 +02:00
Silent
f853e96918
Added RW dependency to SPVC 2018-03-27 22:25:59 +02:00
Silent
4653e4f00c Fixed ammo granting from SCM - III/VC 2018-01-28 18:15:38 +01:00
Silent
2d1c7f97e6 Refactor version checking in III/VC to new method 2018-01-14 12:04:22 +01:00
Silent
75b512764b Updated RsMouseSetPos call fix 2018-01-10 01:08:41 +01:00
Silent
59374848d3 014C cargen counter fix (by spaceeinstein) - III/VC 2017-12-29 00:41:00 +01:00
Silent
344d70800f Thin templates for margin fixes for III/VC 2017-12-23 18:38:45 +01:00
Silent
32fa0c9e51 Bomb ownership bug fix in III/VC + small corrections
Project fixes
2017-09-27 23:12:05 +02:00
Silent
cab60502f3 Removed censorship - III/VC 2017-09-26 22:21:52 +02:00
Silent
b60c4dbfcf FILE_FLAG_NO_BUFFERING fix moved to fixes-shared-with-ddraw 2017-09-18 23:11:19 +02:00
Silent
bf8f58970d Unified code between ddraw and ASIs 2017-09-18 22:13:02 +02:00
Silent
fb672f079b Simplified ScopedUnprotect selection
Made SA use safer ScopedUnprotect
2017-09-18 12:52:35 +02:00
Silent
29cea98c70 Fixup patterns for UPX executables
Adapted ScopedUnprotect for UPX executables
2017-09-16 23:32:17 +02:00
Silent
de35275f8d PickNextNodeToChaseCarXYZ for VC 2017-09-13 21:56:06 +02:00
Silent
e3fe830843 Extra constness where applicable 2017-09-12 22:57:30 +02:00
Silent
4b934419bf Proper metric-imperial conversion constants 2017-09-12 22:35:45 +02:00