Commit Graph

107 Commits

Author SHA1 Message Date
Silent
8e258b0ac5
VC: Reset CWeather::StreamAfterRainTimer when restarting
Fixes saves/new game having the "after rain stream" if you load
a save after playing in rain
2024-10-19 14:33:18 +02:00
Silent
3d205cdf95
VC/SA: Add Minimal HUD to VC, document it in SA 2024-10-12 20:28:14 +02:00
Silent
bee5b44af1
III/VC/SA: Fix sliding text leftovers causing texts to stay on screen for too long at high resolutions
Also introduced new INI/debug mode options to re-enable those cut features in all 3 games:
* SlidingMissionTitleText
* SlidingOddJobText
2024-10-11 23:11:39 +02:00
Silent
b6450d1853
Changed the resolution scaling variable to a safer one
Improves compatibility with wsfix HUD scaling
2024-10-10 21:02:57 +02:00
Silent
5cb14580b5
III/VC/SA: Fix credits scaling and timing 2024-10-10 18:53:58 +02:00
Silent
2b64e74069
Fix VC JP ASLR conflict 2024-10-10 10:59:18 +02:00
Silent
efdffd8adf
III: Scale radardisc to resolution 2024-10-05 14:54:03 +02:00
Silent
1bc169899c
VC: Scale loading bar outline to resolution 2024-10-04 23:17:27 +02:00
Silent
25221421c8
VC: Scale blip outlines to resolution 2024-10-04 22:52:37 +02:00
Silent
8cde3246c1
VC: Scale onscreen counter bar position and shadow to resolution 2024-10-04 20:19:33 +02:00
Silent
f0b29c8b09
VC: Scale radardisc to resolution, and shrink it to 4px 2024-10-04 18:15:35 +02:00
Silent
f8d4dabdac
VC: Update DrawBackfaces, allow the tear gas to damage anyone (including the player), like on PS2 2024-09-22 14:18:39 +02:00
Silent
3bfeff1305
VC: Removed the fix for grenade spawning inside a detonator
It's a very minor visual issue, and it was causing a bug where
the grenade model was not loaded when picking the pickup up,
and crashed upon trying to throw it. Not worth the risk keeping this change
2024-09-21 13:31:25 +02:00
Silent
686031437d
VC: Fix the screwdriver not making sounds on impact 2024-07-09 23:30:17 +02:00
Silent
554362e051
VC: Also exclude the chainsaw from the fist shake 2024-06-07 19:47:40 +02:00
Silent
24ba6cc5c9
VC: Fix Tommy not shaking his fists with brass knuckles (in all cases) and most post-GTA III weapons (when cars slow down for him) 2024-06-05 21:53:13 +02:00
Silent
39c141eb56
VC: Correct the duration of the outro splash to 2.5 seconds and fix flicker
The original code hints at 1.5s, but that makes it hard
to read the splash before it vanishes

+ Update the DrawBackfaces list
2024-05-24 10:06:21 +02:00
Silent
0f92e082b4
VC: Fix the construction site LOD losing its HQ model and showing at all times 2024-05-23 20:07:34 +02:00
Silent
b76637d391
Unify randomness fixes to use PS2-like 31-bit rand 2024-05-21 18:34:44 +02:00
Silent
758c21c821
VC: Fix BFC for objects ignoring the exclusion list 2024-05-18 22:39:36 +02:00
Silent
5bd4f144e7
VC: Generalize the backface culling fix to peds and map objects
Uses War Drum's DrawBackfaces list + more findings
2024-05-18 19:09:14 +02:00
Silent
4169c9e867
Allow SVF to register model names, not just IDs 2024-05-18 16:49:03 +02:00
Silent
96bc50ee26
VC: Disabled backface culling on detached car parts
Fixes #25
2024-05-17 17:35:46 +02:00
Silent
d4374df50a
Migrate to transactional patterns 2024-05-16 23:43:48 +02:00
Silent
6ee676400b
Remove "Adblock" 2024-05-15 17:27:54 +02:00
Silent
886f9723e2
VC: Integrated Ped Speech Fix from Sergenaur
Fixes #23
2024-05-11 23:25:06 +02:00
Silent
b7914dfb59
Simplify moonphases loading and DLL module management
__ImageBase is a special linker symbol we can use here.
2024-05-11 12:42:28 +02:00
Silent
7ad7901a3e
III/VC: Integrate FLA utils
Makes SP's code compatible with FLA's 32-bit model IDs
2024-05-09 19:11:20 +02:00
Silent
a535081e8a
III/VC: Upgrade the variable resets fix to how it is in SA
Also call CTimer::Initialise from CGame::Initialise

Fixes #20
2024-05-07 22:30:32 +02:00
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