Commit graph

424 commits

Author SHA1 Message Date
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
013990b914
Rename branch to Shipping 2024-02-09 21:21:35 +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
Silent
141ee0f1a5
Fix miscolored racing checkpoints if no other marker was drawn before them 2024-02-04 17:32:39 +01:00
Silent
eb8cfe933a
Re-init text IPL pickups, car generators and stunt jumps on New Game
Fixes an issue where fire extinguisher and a few other pickups
didn't show on New Game if it was started from a save
2024-02-03 22:59:27 +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
8e44eb8d7b
Fix the biker cop drive by patch for Hoodlum EXE 2024-02-02 22:06:00 +01:00
Silent
0fa88b0260
Small SVF refactor 2024-02-01 19:07:51 +01:00
Silent
f63425cff0
Cancel the Drive By task of biker cops when losing the wanted level 2024-01-31 22:35:59 +01:00
Silent
f521cba4dd
Removed stdext from code 2024-01-28 20:50:58 +01:00
Silent
7787d92dc7
Remade custom numberplates
Removed the "cache" to make the code simpler,
and resolve a SP bug where number plates from
the upgrade parts broke any number plates
on future spawns of the same car model.
2024-01-28 20:49:52 +01:00
Silent
99f57a0855
Fix crosshair issues when sniper rifle is quipped and a photo is taken by a gang member
Contributed by Wesser
2024-01-28 18:09:54 +01:00
Silent
0a59b79cce
Fix a memory leak when taking photos 2024-01-28 18:09:36 +01:00
Silent
6ddb600694
Migrate to libflac from vcpkg 2024-01-28 16:12:16 +01:00
Silent
3ba84ad1c0
Disable the radio station change anim on boats where CJ stands upright
Contributed by Wesser
2024-01-28 15:58:13 +01:00
Silent
8cf5157941
Update to the newest ModUtils 2024-01-28 15:26:24 +01:00
Silent
d0766b7a92
Remove an outdated reference to DX SDK 2024-01-28 14:45:12 +01:00
Silent
7c09e7a5c2
Tie handlebar movement to the stering animations on Quadbike,
fixes odd animation interpolations at low speeds

Contributed by Wesser
2024-01-28 14:44:45 +01:00
Silent
2c8961c0d1
Add wind animations when driving a Quadbike
Contributed by Wesser
2021-07-27 22:17:10 +02: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
bc8aa99196
Rewrote directional multiplier fix 2020-05-01 22:53:44 +02:00
Silent
e5fdb350e3
Display stats in kg's as floats 2020-04-02 18:23:56 +02:00
Silent
5154c47ae2
Sorted HierarchyTypoFix + added "transmision" typos from Dumper 2020-04-02 17:59:01 +02:00
Silent
65c7702da5
Fixed a conflict with Shadows Settings Extender 2020-02-21 22:48:58 +01:00
Silent
c9d7a0dcba
Bump up version numbers 2019-12-28 12:16:49 +01:00
Silent
e797ec4f3a
SA: Ported new fixes to Steam/RGL:
- Reset bPenaltyForDeathApplies and bPenaltyForArrestApplies on new game
- Fix lightless taxis
- Allow extra6 to be picked with component rule 4 (any)
- Disallow moving cam up/down with mouse when looking back/left/right in vehicle
2019-12-28 00:13:27 +01:00
Silent
1d007aed68
SA: Disallow moving cam up/down with mouse when looking back/left/right in vehicle (1.0 only for now) 2019-12-26 23:18:01 +01:00
Silent
51aec1955f
SA: Disabled moonphases in SA-MP (time manipulation breaks them) 2019-12-26 23:15:27 +01:00
Silent
7a96e5eefb
VC/SA: Allow extra6 to be picked with component rule 4 (any) 2019-12-25 15:36:59 +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
c803927c80
SA: Reset bPenaltyForDeathApplies and bPenaltyForArrestApplies on new game (SA 1.0 only for now) 2019-12-23 23:21:19 +01:00
Silent
9b26855d3d
Unified math functions 2019-12-15 13:44:20 +01:00
Silent
a72b52868c
SA: Replaced moon phases fix with a less invasive one 2019-12-08 14:32:55 +01:00
Silent
7466c5c99c
SA: Disable building pipeline for skinned objects
Fixes parachute animations without having to edit the model
2019-12-08 13:09:46 +01:00
Silent
2be613a75b
III/VC/SA: Disable alpha test for stored shadows too 2019-12-08 12:27:33 +01:00
Silent
86f1c60267
SA: Disable alpha test for static shadows
Fixes fire shadows
2019-12-07 20:17:01 +01:00
Silent
77140a8ef6
Use proper RW versions for all 3 games 2019-12-07 14:47:08 +01:00
Silent
382bdcf3b9
SA: Re-introduce corona rotation on PC, like it is in III/VC/SA PS2 2019-12-07 12:02:36 +01:00
Silent
49ab1a5ed8
Slightly rework AudioUtilsGetCurrentTimeInMs not to lose precision 2019-12-06 21:01:22 +01:00
Silent
8d9ba3a97a
CdStreamSync fix: Use a RAII wrapper for cdstream critical section 2019-11-23 17:27:14 +01:00
Silent
d549eb4682
Bump up version number 2019-09-22 14:46:05 +02:00
Silent
0dbe281982
SA newsteam/RGL: Default Steer with Mouse to disabled 2019-09-22 14:44:07 +02:00
Silent
37957a1256
SA newsteam/RGL: Remove censorships 2019-09-22 13:53:38 +02: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
31ab59e578
Updated newsteam variables to use patterns to support RGL 2019-09-21 00:33:49 +02:00
Silent
c2f6c9bc2e
Fix newsteam patterns for RGL 2019-09-20 20:35:05 +02:00
Silent
f9a77d2ddd
Fix paintjobs vanishing after opening/closing garage without rendering the car first - SA 1.0 2019-08-24 13:14:32 +02:00
Silent
10130d0f37
Metric/Imperial check based on Windows locale settings and on INI/debug menu override (SA 1.0 only for now) 2019-08-12 19:43:09 +02:00
Silent
4d02505521
Moved shared stuff to a submodule 2019-06-28 23:53:05 +02:00
Silent
19f078bb04
Bump up version number 2019-05-19 12:53:27 +02:00
Silent
515afe5daf
Factorized a duplicate part of CPed::RenderWeapon into a lambda function 2019-05-18 12:39:09 +02:00
Silent
60c4eb3b66
Disable TrueInvicibility in SAMP 2019-05-18 11:10:40 +02:00
Silent
21d6ed5cc3
Account for SA-MP patches for GetWeaponSkill in RenderWeaponPedsForPC 2019-05-18 11:06:17 +02:00
Silent
7ce4c99cb9
Disable Z write for muzzleflash rendering 2019-04-13 18:17:30 +02:00
Silent
6fc792ed2d
Bump up version number 2019-04-02 19:02:30 +02:00
Silent
031d026e27
Fix regression introduced by Firela ladder - taxi boost jump stopped working 2019-04-02 18:49:37 +02:00
Silent
97347a11ff
Bump up version number 2019-03-30 13:25:11 +01:00
Silent
3a75bff65f
Correct Z write for rendering weapons and muzzleflashes (fixes both in fact) 2019-03-30 12:51:38 +01:00
Silent
0d7cd7dec9
Expose LS-RP mode server list to INI 2019-03-30 12:21:33 +01:00
Silent
a0b1f9690a
Add AD:RP to servers in "LS-RP Mode" 2019-03-29 23:26:34 +01:00
Silent
a06fc527f5
Bump up version number 2019-03-17 15:25:49 +01:00
Silent
9fa0652da4
Modified 1.01 message 2019-03-17 15:23:02 +01:00
Silent
59e24547b0
Add compatibility shims to Lightbeam Fix and keyboard input latency fix 2019-03-17 15:15:45 +01:00
Silent
bb66303890
Bump up version number 2019-03-09 20:36:42 +01:00
Silent
971e4a26a7
TrueInvicibility INI option 2019-03-07 23:02:49 +01:00
Silent
3a40147ce9
Add null check to Rhino code 2019-03-07 18:54:21 +01:00
Silent
65862b38cf
IgnoresWeaponPedsForPCFix switch 2019-03-06 22:11:57 +01:00
Silent
e94fec9c6f
Factorize weapon and muzzleflash rendering into separate options 2019-03-06 21:59:14 +01:00
Silent
6b2ad034cb
LS-RP Mode 2019-03-06 21:51:21 +01:00
Silent
cabd0c999a
Scoped render states 2019-03-06 20:37:49 +01:00
Silent
5921dfddb3
Delete unused code bringing noise 2019-03-05 21:24:47 +01:00
Silent
5b8ad59097
Project fixes 2019-03-02 16:17:29 +01:00
Silent
30c10a9a25
Added more options to debug menu (rotor fix, small steam texts, minimal HUD) 2019-02-03 14:09:29 +01:00
Silent
9dbbcb42cf
Exceptions list for lightbeam BFC fix 2019-02-03 13:28:24 +01:00
Silent
90339aa980
Revisited and cleaned up lightbeam fix 2019-02-03 00:33:17 +01:00
Silent
43501aa161
Full precision D3D hidden under a define 2019-02-02 12:02:59 +01:00
Silent
80242b42f7
Marked some functions as safebuffers since realistically QueryPerformanceCounter won't ever cause a buffer overrun and it's a quite time critical function 2019-01-05 19:08:57 +01:00
Silent
69086b1a82
Merge branch 'master' into dev 2018-12-04 20:44:23 +01:00
Silent
7f7769ea22
Merge branch 'patch' into dev 2018-12-04 20:43:30 +01:00
Silent
b70964da94
Bump up version 2018-12-04 20:43:17 +01:00
Silent
f9a507b029
Partial revert "Normalized string comparision functions usage between different functions"
This reverts commit 1c41d135b5.
2018-12-04 20:40:41 +01:00
Silent
f5d23d58f2
Recompiled libflac
(cherry picked from commit 75ebedef98)
2018-12-03 21:34:40 +01:00
Silent
910b9372b5
Simplify GetModuleHandleEx usage 2018-10-31 23:43:07 +01:00
Silent
b3c95bb519
Use correct delete here 2018-10-31 23:37:59 +01:00
Silent
8f6fa047e2
Don't clean the car BEFORE Pay 'n Spray doors close, as it gets cleaned later again anyway! - SA 1.0 2018-10-14 00:01:28 +02:00
Silent
8918bc9a68
Resetting stats and variables on New Game (SA 1.0 only) 2018-09-25 23:57:50 +02:00