Commit Graph

100 Commits

Author SHA1 Message Date
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
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
3a374deec7
III: Fix the onscreen counter bar X placement not scaling to resolution 2024-10-05 15:10:10 +02:00
Silent
efdffd8adf
III: Scale radardisc to resolution 2024-10-05 14:54:03 +02:00
Silent
f0b29c8b09
VC: Scale radardisc to resolution, and shrink it to 4px 2024-10-04 18:15:35 +02:00
Silent
590ec867db
III: Store brightness packed to fix saving low brightness values
Fixes #26
2024-08-21 22:52:01 +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
4169c9e867
Allow SVF to register model names, not just IDs 2024-05-18 16:49:03 +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
4732a06003
III: Tighten III Aircraft verison check
A theoretical future 0x101 version should
already be SP-aware.
2024-05-15 13:59:29 +02:00
Silent
b9a61611c3
III: Don't override the color of the FBI car
FBI cars chasing the player are pure black,
while their carcols specifies dark gray with unpainted bumpers.
Cars spawned for road blocks, import/export,
and resprayed in Pay 'n Spray had this color instead.
2024-05-14 18:01:54 +02:00
Silent
e26e1592be
III: Steam Car Colour Fix
From Sergenaur
2024-05-13 17:58:29 +02:00
Silent
c2aa895cbf
III: Register Skimmer for SIT_IN_BOAT if an old version of III Aircraft is installed 2024-05-12 23:08:31 +02:00
Silent
47787d5292
III: Improve SitInBoat integration
* Integrated a CPed::PedSetInCarCB backport from VC (like in SitInBoat)
* Also fixed CPed::WarpPedIntoCar (new to SP)
2024-05-11 16:20:34 +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
bc75ee4585
III: Copy the atomic render CB in CloneAtomicToFrameCB instead of overriding it
Fixes detached limbs rendering the normal and LOD atomics together

Fixes #24
2024-05-10 19:40:54 +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
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
2a5f9f439c
III: Clean up the pickup object when reusing a temporary slot
Fixes #21
2024-05-08 23:12:24 +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
33c206cfc3
Support ASLR in III and VC 2024-04-06 15:14:58 +02:00
Silent
2eab47968c
Enable Dodo keyboard controls for all cars when the flying cars cheat is enabled 2024-03-21 19:25:30 +01:00
Silent
5a99b6a4d8
III: Backport 1.1 Stats menu font fix to 1.0 2024-03-20 21:21:39 +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
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
ac3601e12c
III: Apply bilinear filtering on the player skin 2024-03-07 23:34:15 +01:00
Silent
50c6a9bda3
Fixed an inverted condition in CCarCtrl::PickNextNodeRandomly
leading to cars being unable to turn right from one way roads

Contributed by Nick007J

Fixes #1
2024-03-07 22:47:52 +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
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
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
87f9d8b63a
Fixed a conflict with Heli & Plane Collision fix in III 2020-04-02 17:31:04 +02:00
Silent
7c79495174
III: Fix chopper's search light placement
VC: Typo fix
2019-12-27 16:24:35 +01:00
Silent
9265226a09
III: Give chopper/escape their own col model which is big enough 2019-12-27 16:04:46 +01:00
Silent
c1ccfba2ec
III/VC: Added EnableVehicleCoronaFixes INI option 2019-12-27 11:06:26 +01:00
Silent
b46e91918c
III: Fix SetupBigBuilding for cranes, bright windows and others 2019-12-24 00:02:06 +01:00
Silent
fe37cd7c88
III/VC: Corrected Ambulance siren pos again to reduce clipping 2019-12-23 21:00:38 +01:00
Silent
7aebe3f355
III/VC: Moved taxi corona fix to shared code 2019-12-15 18:54:53 +01:00
Silent
03a0cb68be
III: Fixed taxi light corona placement for Taxi 2019-12-15 17:25:09 +01:00
Silent
9b26855d3d
Unified math functions 2019-12-15 13:44:20 +01:00
Silent
f3113ba0ee
III: Fixed corona placements in Firetruck, Ambulance, Enforcer 2019-12-10 22:07:39 +01:00
Silent
de60ad587c
III: Corrected FBI Car secondary siren sound 2019-12-08 19:33:04 +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
ad842130d3
III: Fix pattern for IsAudioInitialised failing with a Steam version 2019-09-25 23:05:29 +02:00