Commit Graph

64 Commits

Author SHA1 Message Date
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
b76637d391
Unify randomness fixes to use PS2-like 31-bit rand 2024-05-21 18:34:44 +02:00
Silent
4169c9e867
Allow SVF to register model names, not just IDs 2024-05-18 16:49:03 +02:00
Silent
9f94595ee4
Fix the logic behind exploding cars losing wheels
Fixes #17
2024-03-06 22:42: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
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
0fa88b0260
Small SVF refactor 2024-02-01 19:07:51 +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
2c8961c0d1
Add wind animations when driving a Quadbike
Contributed by Wesser
2021-07-27 22:17:10 +02:00
Silent
3555242811
Factorized SVF to be usable by all 3 games 2019-12-25 15:36:30 +01: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
4d02505521
Moved shared stuff to a submodule 2019-06-28 23:53:05 +02:00
Silent
3a40147ce9
Add null check to Rhino code 2019-03-07 18:54:21 +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
1a92ebb95d
Prevent "ped hit" samples from playing where they used to, so passengers don't comment on gently pushing peds 2018-09-22 23:54:25 +02:00
Silent
914d482d0d
Play passenger's voice lines when killing peds with car, not only when hitting them damages player's vehicle 2018-09-22 21:41:27 +02:00
Silent
2dfc9d30be
Unified special vehicle features and double rwheels override (it's now internally a special vehicle feature, just like rotors) 2018-09-02 23:57:29 +02:00
Silent
aeb9a76e00
Tug tow bar 2018-06-05 21:07:42 +02:00
Silent
03482f0779
Allow for several hierarchy typos (DFT-30, Sweeper, boats)
This retires BOAT_MOVING_PROP feature and Sweeper workaround
2018-06-05 20:03:40 +02:00
Silent
77f78fedca
Double artict3 trailer 2018-06-05 19:57:53 +02:00
Silent
3895f1c738
Don't animate Phoenix flaps when engine is off 2018-05-29 23:51:36 +02:00
Silent
108c2740a7
Look up frames by ID (instead of names) when possible
Add fallback code for ResetFrames
2018-05-29 20:35:39 +02:00
Silent
f9a9404fd0
Merge branch 'master' into dev 2018-05-28 13:12:24 +02:00
Silent
cdad030ae1
Fix DisableStockVehiclesForFeature 2018-05-28 13:12:07 +02:00
Silent
b791865af6
Animation for Firela ladder 2018-05-27 15:19:30 +02:00
Silent
bd7a67d0a4
Fix Phoenix blower not animating when reversing 2018-05-26 14:43:02 +02:00
Silent
ebceda7575
Reodered checks so the lighter one goes first 2018-05-23 00:41:50 +02:00
Silent
bb7c94d2c5
Rotate Newsvan antenna in more cases than just when player is using it 2018-05-23 00:28:21 +02:00
Silent
deb74e0249
Reset Rhino middle wheels state on fixing 2018-05-22 22:40:23 +02:00
Silent
5ab8a96a29
Also exposed ID-based vehicle fixes 2018-05-08 00:09:13 +02:00
Silent
7e50ef41a0
DisableStockVehiclesForSpecialVehicleFeature export for plugins assuming full control over those 2018-05-07 23:56:12 +02:00
Silent
cb8eb2f3b0
Factorised special vehicle features to an expandable multimap 2018-05-07 23:32:55 +02:00
Silent
62ed9242bc Supply Lines streaming fix (SA 1.0) 2018-01-11 21:45:59 +01:00
Silent
dfb46efa88 Return predicate instead of meaningless pointer in rwpred functions 2018-01-06 15:48:47 +01:00
Silent
32fa0c9e51 Bomb ownership bug fix in III/VC + small corrections
Project fixes
2017-09-27 23:12:05 +02:00
Silent
a545d5f28f Fixed check (should be case insensitive like in stock game) 2017-09-27 00:02:48 +02:00
Silent
258d1cccc9 Extra assertions added
Fixed bomb ownership/bombs saving for bikes - SA 1.0
2017-09-24 14:35:10 +02:00
Silent
e4a3d81e81 Only hook DOUBLE_RHWEELS exception list if there are any entries listed in INI 2017-09-12 16:14:07 +02:00
Silent
14a31c21e8 Beagle moving aileron 2017-09-10 00:16:16 +02:00
Silent
539398dd68 Stuntplane ailerons
Programmatically fixed props on Predator and Tropic
2017-09-09 23:39:30 +02:00
Silent
df32c8ab6a Once again cleaned up FLA integration 2017-09-09 20:46:10 +02:00
Silent
5050c6510e Rotate Newsvan dish when player is using the car 2017-09-09 20:29:01 +02:00
Silent
88de5b8f00 Only animate Sweeper brushes when needed 2017-09-09 20:04:48 +02:00
Silent
49796ff0cf Tweaked Sweeper/Phoenix constants 2017-09-08 00:16:31 +02:00
Silent
1da99647b5 Stop BF Injection/Bandito/Hotknife rotating engine components when engine is off 2017-06-25 14:09:30 +02:00
Silent
6006e253b1 SetComponentRotation moved to code 2017-06-25 12:32:22 +02:00
Silent
5f6ad2157d Sweeper animations
Fixed Phoenix anims
2017-06-25 12:17:09 +02:00
Silent
9236463f88 Animated Phoenix hood scoop 2017-06-23 00:11:17 +02:00
Silent
22c484a9f9 Merge fixes 2017-06-20 18:33:31 +02:00