Commit graph

180 commits

Author SHA1 Message Date
Silent
bbd9164de3
Updated some RW calls and the shadow alpha test fix
Fixes an incompatibility with the light boxes,
previously overlooked because the widescreen fix disabled them

Fixes #12
2024-04-18 20:57:47 +02:00
Silent
33c206cfc3
Support ASLR in III and VC 2024-04-06 15:14:58 +02:00
Silent
b3131a41b4
Make script randomness 16-bit, like on PS2 2024-03-17 20:52:52 +01:00
Silent
56ac3b8795
Fix the evasive dive miscalculating the angle, resulting in peds diving towards the vehicle
Fixes #3
2024-03-13 22:15:34 +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
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
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
de34cfec03
Re-enable debug symbols 2024-02-03 16:48:57 +01:00
Silent
0fa88b0260
Small SVF refactor 2024-02-01 19:07:51 +01:00
Silent
6ddb600694
Migrate to libflac from vcpkg 2024-01-28 16:12:16 +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
177c096b69
Update MemoryMgr 2021-07-26 23:39:21 +02:00
Silent
3d5aab2f33
Update submodules 2020-04-02 17:32:59 +02:00
Silent
c096155db2
Update submodules 2020-02-21 22:26:48 +01:00
Silent
c1ccfba2ec
III/VC: Added EnableVehicleCoronaFixes INI option 2019-12-27 11:06:26 +01:00
Silent
f3f9004322
III/VC: Made vehicle ID-based fixes data driven 2019-12-25 16:02:42 +01:00
Silent
3555242811
Factorized SVF to be usable by all 3 games 2019-12-25 15:36:30 +01:00
Silent
9248a822c6
III/VC/SA 1.0: Fix lightless taxis 2019-12-24 12:36:03 +01:00
Silent
4959204f53
III/VC: Remade static shadow alpha fix to be compatible with SkyGfx 2019-12-23 22:49:00 +01:00
Silent
7aebe3f355
III/VC: Moved taxi corona fix to shared code 2019-12-15 18:54:53 +01:00
Silent
9b26855d3d
Unified math functions 2019-12-15 13:44:20 +01:00
Silent
2be613a75b
III/VC/SA: Disable alpha test for stored shadows too 2019-12-08 12:27:33 +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
c9e34d5761
III/VC: Fix rendering corona lines on non-nvidia GPU's 2019-12-07 18:21:00 +01:00
Silent
df012b84cf
Add RWGTA - wrappers for III/VC RW where macros would be used in SA 2019-12-07 16:24:41 +01:00
Silent
db745b974a
Update submodules 2019-11-01 10:14:41 +01:00
Silent
082a9e7156
Updated newsteam patches to use patterns, adding RGL support
Newsteam r1/r2 specific patches are now alll gone
2019-09-22 12:15:29 +02:00
Silent
c4207235be
Update MemoryMgr in Utils 2019-09-21 00:30:18 +02: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
3ec5663861
Update ModuleList.hpp 2018-06-05 01:16:51 +02:00
Silent
623464d45e
Port CdStream race condition to newsteam as freezing is very frequent now 2018-05-20 22:00:39 +02:00
Silent
f13b248376
Streamlined std::variant usage 2018-04-26 09:32:51 +02:00
Silent
ed397348d1
Fixed handling.cfg name matching (names don't need unique prefixes anymore)
III (all), VC (all), SA (all supported)
2018-04-24 23:59:40 +02:00
Silent
34a8b4b648
TheFLAUtils update 2018-04-24 23:59:18 +02:00
Silent
16a8b15086
Removed nasty ReadCall hacks 2018-04-22 00:18:12 +02:00
Silent
33c1ab4ace
Factorized MemoryMgr to be game agnostic 2018-04-22 00:13:15 +02:00
Silent
ece6078cc9
Updated AdjustAddress_10 2018-04-09 00:15:52 +02:00
Silent
bf08a40d1a
Updated MemoryMgr 2018-04-02 21:01:11 +02:00
Silent
1a8bb9dd6c
Updated Patterns 2018-04-02 20:11:06 +02:00
Silent
fcc799645f
Extras working correctly on bikes - VC 2018-03-27 22:28:45 +02:00
Silent
fe37899ac1 Updated Memory 2018-02-24 16:14:39 +01:00
Silent
e44ad21204 corrected versioninfo 2018-02-24 13:33:53 +01:00
Silent
84e8be3c38 Use iterator-based wstring constructor here 2018-02-11 12:58:52 +01:00
Silent
9854f2235a III/VC don't need addrvariants 2018-02-10 10:56:00 +01:00
Silent
cfee0477ca Refactors in Patterns 2018-02-10 00:50:11 +01:00
Silent
bcdf773db4 Fixup (tested live) 2018-02-09 23:42:23 +01:00
Silent
10caf7e242 Allow using AddressByVersion with pattern/offset pairs 2018-02-09 23:19:37 +01:00