Commit Graph

742 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
Echo J
7819f30c75 SilentPatchIII: Fixup the MSVC inline assembly statements
Some of them use the deference operator incorrectly (also clean them
up in general)
2024-11-18 19:33:06 +01:00
Silent
73600974c5
SA: Fix 1.0 EU executable crashes when losing police pursuit and triggering the replay
US and EU no-DVD executables were decrypted slightly differently, and the patches
did not account for that previously.

Fixes #76
2024-11-18 18:32:09 +01:00
Echo J
c733f3e7d1 III: Fix the missing window icon
For some reason GTA 3 sets the hIcon value in WNDCLASSA struct to
NULL which causes the window icon to be the default one (this was
fixed in Vice City)
2024-11-16 22:20:03 +01:00
Silent
16c7a859d8
SA: Fix a missing null check in CTaskComplexSequence::Contains 2024-11-15 12:25:18 +01:00
Silent
47e7ab6b1f
SA: Call the game's own User Files path getter to make device_remembered.set respect Portable GTA's changes
Fixes #105
2024-11-09 22:42:32 +01:00
Tomasak
202101e4f7
More backface culling models (#30)
* two more bfc objects

it never ends

* Update SilentPatchVC.ini

* Update SilentPatchVC.ini
2024-11-02 17:26:22 +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
7d1bd8a9ac
Fix warnings 2024-11-01 17:53:46 +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
2f79eb1c8f
SA: Fix the driving school cones fix so it doesn't leave cones from "Cone Coil" and "Burn and Lap" behind
Fixes #62
2024-10-31 23:27:53 +01:00
Silent
3017790d44
Fix Hydra's jet thrusters not displaying due to an uninitialized variable in RwMatrix
By B1ack_Wh1te

Fixes #57
2024-10-31 19:07:22 +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
5aaec719ed
Fixup logo in ReadMe 2024-10-30 19:44:38 +01:00
Silent
cdcf979a54
SA: Fix wheels detaching after they were made invisible when the car explodes
It was fine in the stock game, regressed once SP made the game pick
a random wheel to detach when exploding.

Fixes #47
2024-10-30 19:44:13 +01:00
Silent
2de40406d2
SA: Add even more preemptive checks
Since we are checking the adjacent fixes,
check this one just in case too.
2024-10-30 18:42:25 +01:00
Silent
09bb67220e
SA: Fix incompatibilities with wshps.asi
* Map Screen cursor fix is now split between the cursor thickness
   and the cursor positioning fix. The latter gets out of the way
   for the ws fix.
* Text background padding not scaling to resolution now gives
   priority to the same fix in the widescreen fix.

Fixes #33
2024-10-30 18:28:53 +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
17baa64613
SA: Use DWLP_USER in the resolution dialog
GWLP_USERDATA was unlikely to cause issues, but it's technically
reserved since we didn't create the window class ourselves.
DWLP_USER is guaranteed to be free for us to use.
2024-10-28 22:36:50 +01:00
Silent
f1d85b825b
SA: Clean CVehicleModelInfo fields from ::Init so they are cleaned up after modloader loads the ASI
Fixes #44
2024-10-28 20:47:34 +01:00
Silent
4cb6edad7c
SA: Also scale the default size of the gamepad crosshair
Fixes #29
2024-10-28 19:51:57 +01:00
Silent
6e5b41c958
SA: Fix focus issues with the resolution selection dialog
Now requests focus the proper way from WM_INITDIALOG,
instead of a manual SetFocus call.

Fixes #49
2024-10-28 19:27:26 +01:00
Silent
a07d7936da
SA: Improve mod compatibility of the new resolution dialog
Should resolve compatibility issues with Renderhook
2024-10-28 18:56:52 +01:00
Silent
e8b3d3f531
SA: Fix EU 1.0 incompatibilities 2024-10-25 21:36:10 +02:00
Silent
d74b104473
Fix a typo 2024-10-25 18:03:34 +02:00
Silent
ea13429022
Update changelog 2024-10-24 09:28:41 +02:00
Silent
3218612792
SA: Fix nitrous recharging faster when reversing the car
By Wesser
2024-10-23 23:59:45 +02:00
Silent
1c4a08ea92
SA: Fix text background padding not scaling to resolution
Debugged by Wesser
2024-10-23 23:59:29 +02:00
Silent
710f1b13ad
SA: Fix Map screen boundaries and the cursor not scaling to resolution
Debugged by Wesser
2024-10-23 23:58:23 +02:00
Silent
97c2c8a094
Work around libflac linking issues with v141_xp 2024-10-23 21:52:50 +02:00
Silent
003b0c6bf1
Add logo to ReadMe 2024-10-23 19:28:33 +02:00
Silent
a40302a11d
Add README.md and changelogs 2024-10-23 19:17:07 +02:00
Silent
fd4fbbacef
III: Rsstore the 'brakelights' dummy as it's vanished from the III PC code 2024-10-21 22:28:52 +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
1b3a2dd1fc
Fix UpdateUrl 2024-10-18 13:19:24 +02:00
Silent
2c998b0c9c
Remove return std::move to make use of an implicit move 2024-10-17 23:42:08 +02:00
Silent
de59add19f
SA: Fix heat seeking and gamepad crosshairs not scaling to resolution 2024-10-15 22:10:36 +02:00
Silent
2ce34524c4
Don't use std::forward on a variable multiple times
The previous usage was just wrong,
it may have been subtly broken.
2024-10-14 21:35:03 +02:00
Silent
3d205cdf95
VC/SA: Add Minimal HUD to VC, document it in SA 2024-10-12 20:28:14 +02:00
Silent
8301635efc
SA: Fix post effects not scaling correctly
* Heat haze not rescaling after changing resolution
* Water ripple effect having too high wave frequency at higher resolutions
2024-10-12 16:40:42 +02:00
Silent
9de11adc48
SA: Rename TrueInvicibility to TrueInvincibility
Fixes #28
2024-10-12 11:41:20 +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
d7ecf5245a
VC: Add more entries to DrawBackfaces 2024-10-07 18:03:09 +02:00
Silent
3a374deec7
III: Fix the onscreen counter bar X placement not scaling to resolution 2024-10-05 15:10:10 +02:00