Commit Graph

294 Commits

Author SHA1 Message Date
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
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
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
de59add19f
SA: Fix heat seeking and gamepad crosshairs not scaling to resolution 2024-10-15 22:10:36 +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
f0b29c8b09
VC: Scale radardisc to resolution, and shrink it to 4px 2024-10-04 18:15:35 +02:00
Silent
97ebcdbbd5
Ported a bindable Num5 fix to new binaries
Fixes #27
2024-09-25 18:34:26 +02:00
Silent
15f9f08052
SA: Remake the monitor/resolution selection dialog
* Uses Common Controls 6 (modern styling)
* Lists friendly monitor names
* Acts correctly on pressing Escape
* Doesn't bug out when an inexistent adapter is selected
* Remembers the selected adapter
* Gives an option to skip the dialog and remember the choice
* Shows in the taskbar correctly
* Explicitly asks the system to scale for DPI, overriding compat options
2024-08-17 00:11:54 +02:00
Silent
1b7af04886
SA: Disable the parachute animation fix in SA-MP if SA-MP Graphics Restore isn't installed 2024-06-05 18:39:48 +02:00
Silent
fe53b68248
SA: Invert a CPed::IsAlive check in
CTaskComplexEnterCar::CreateNextSubTask
to avoid assigning CTaskComplexLeaveCarAndDie to alive drivers

Fixes a bug where stealing the car from the passenger side while holding
throttle and/or brake would kill the driver, or briefly resurrect them
if they were already dead.
2024-05-26 15:04:24 +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
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
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
095ed65476
Pre-emptively make HierarchyTypoFix more compatible with mods 2024-04-03 22:44:34 +02:00
Silent
b3131a41b4
Make script randomness 16-bit, like on PS2 2024-03-17 20:52:52 +01:00
Silent
e4190105bc
SA: Account for a "tailights" typo in the Uranus model 2024-03-13 20:14:22 +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
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