Commit Graph

149 Commits

Author SHA1 Message Date
Echo J
5d90ed55d7 SilentPatchVC: Fixup the MSVC inline assembly statements
Also clean them up in general
2024-11-18 19:33:06 +01:00
Silent
52deecd5ac
VC: Fix an incorrect vertex setup for the outline of a destination blip
Fixes #66
2024-11-02 17:22:03 +01:00
Silent
7d055f9264
III/VC: Two more minor scaling fixes
III: The position of the dialog question text in the main menu now
scales to resolution correctly.
VC: The vertical offset of the weapon name text in Ammu-Nation
now scales to resolution correctly.
2024-11-01 19:44:40 +01:00
Silent
fd67cb4064
III/VC: Port the inner text box background padding fix from San Andreas
Fixes #48
2024-11-01 19:00:01 +01:00
Silent
75a3f16ffb
III/VC: Improve the way RwD3D8Get/SetRenderState is located
Improves compatibility with other mods and provides a safe fallback.

Fixes #65
2024-11-01 17:33:33 +01:00
Silent
9f705a3dc3
VC: Improve compatibility between the radar placement fix and plugin-sdk
plugin-sdk had to reimplement an inlined
CRadar::TransformRadarPointToScreenSpace, so we need to patch
a stock global variable so this reimplementation can be aware
of our fixes.

Fixes #43
2024-10-30 21:11:06 +01:00
Silent
6a524dcf46
VC: When excluding extras from envmap fixes, also set the envmap coefficient to 0.0
Fixes #40
2024-10-29 21:56:38 +01:00
Silent
d74b104473
Fix a typo 2024-10-25 18:03:34 +02:00
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
f49b8696d9
Remove some local paths from the repository 2024-10-07 18:07: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
a69eca64ef
VC: Update the IPL files and DrawBackfaces list 2024-05-21 10:36:48 +02:00
Silent
2ae29e42bb
VC: Add IPL diffs to the repo 2024-05-19 11:33:01 +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
1162f4d4bd
Bump up version numbers 2024-05-11 23:26:28 +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