Commit graph

196 commits

Author SHA1 Message Date
Silent
e8b3d3f531
SA: Fix EU 1.0 incompatibilities 2024-10-25 21:36:10 +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
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
f0b29c8b09
VC: Scale radardisc to resolution, and shrink it to 4px 2024-10-04 18:15:35 +02:00
Silent
7ce2935e13
Update submodules 2024-09-21 16:41:54 +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
b76637d391
Unify randomness fixes to use PS2-like 31-bit rand 2024-05-21 18:34:44 +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
ccf61157fb
III/VC: Corrected randomness of CPed::Chat
Makes pedestrians less likely to initiate a chat,
matching the PS2 odds (they were too chatty on PC).
2024-05-17 19:34:38 +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
d5dc4f18a6
III: Integrate Fire_Head's SitInBoat
Exposed as a new SIT_IN_BOAT special vehicle feature

Fixes #22
2024-05-09 21:11:22 +02:00
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