Commit Graph

722 Commits

Author SHA1 Message Date
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
a69eca64ef
VC: Update the IPL files and DrawBackfaces list 2024-05-21 10:36:48 +02:00
Silent
2ae29e42bb
VC: Add IPL diffs to the repo 2024-05-19 11:33:01 +02:00
Silent
758c21c821
VC: Fix BFC for objects ignoring the exclusion list 2024-05-18 22:39:36 +02:00
Silent
5cb8fc1823
Add config files to the repo 2024-05-18 19:11:07 +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
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
1162f4d4bd
Bump up version numbers 2024-05-11 23:26:28 +02:00
Silent
886f9723e2
VC: Integrated Ped Speech Fix from Sergenaur
Fixes #23
2024-05-11 23:25:06 +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
836fbafd41
Replaced Rosenberg Audio Fix that was placebo with PS2 randomness for this audio
Might bring it closer to PS2 odds,
but the feature was never broken in the first place.

Fixes #11
2024-04-29 20:43:25 +02:00
Silent
e7a2a79de5
Merge branch 'main' into dev 2024-04-21 19:56:23 +02:00
Silent
b6df6316e4
Lift the limit of materials in CObject::Render from 16 to 256 2024-04-21 19:56:06 +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
f6ba6be75a
Fixed IS_PLAYER_TARGETTING_CHAR incorrectly detecting targetting in Classic controls when the player is not aiming
Contributed by Wesser

Fixes #10
2024-04-17 23:31:03 +02:00
Silent
21b537f5ec
Fixed the muzzle flash facing the wrong direction
Contributed by Wesser

Fixes #9
2024-04-16 22:20:40 +02:00
Silent
78c03005fe
Fixed multiple issues with pickups in VC:
* Asset money pickup now initializes the text color to red correctly
* minigun2 doesn't emit a secondary white glow anymore
* bomb pickup doesn't have the grenade inside the detonator anymore

Fixes #8
2024-04-10 20:23:20 +02:00
Silent
33c206cfc3
Support ASLR in III and VC 2024-04-06 15:14:58 +02:00
Silent
095ed65476
Pre-emptively make HierarchyTypoFix more compatible with mods 2024-04-03 22:44:34 +02:00
Silent
82fba227af
Don't reset mouse sensitivity on New Game 2024-03-21 20:44:51 +01: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
e4190105bc
SA: Account for a "tailights" typo in the Uranus model 2024-03-13 20:14:22 +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
f72f85ecd6
VC: Fix a stack corruption in ZeroAmmoFix 2024-03-09 15:17:10 +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
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