Commit graph

427 commits

Author SHA1 Message Date
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
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
75ebedef98
Recompiled libflac 2018-09-02 23:16:18 +02:00
Silent
8755dd20d5
Code clarity fix for CAEFLACDecoder::write_cb 2018-07-06 00:15:36 +02:00
Silent
02f7063535
Merge branch 'master' into dev 2018-06-13 21:18:04 +02:00
Silent
7686d7cf23
Bump up version 2018-06-13 20:59:41 +02:00
Silent
9ba00037e5
Merge branch 'patch' 2018-06-13 20:56:23 +02:00
Silent
5499f9e2e9
Fix Phoenix blower not animating when reversing 2018-06-13 20:56:02 +02:00
Silent
9db2766fa0
Rotate Newsvan antenna in more cases than just when player is using it 2018-06-13 20:55:40 +02:00
Silent
1d3b0a20c1
Fix ColouredZoneName=0 ignoring text alpha 2018-06-13 20:49:40 +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
3ec5663861
Update ModuleList.hpp 2018-06-05 01:16:51 +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
623464d45e
Port CdStream race condition to newsteam as freezing is very frequent now 2018-05-20 22:00:39 +02:00
Silent
9d30b51273
Fix crash on newsteam 2018-05-20 22:00:13 +02:00
Silent
b927175635
Versioninfo updated 2018-05-19 21:28:30 +02:00
Silent
d9917df62b
Remaining fixes adapted to SA newsteam 2018-05-19 21:26:00 +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
4768572e01
Recompiled libflac 2018-05-07 22:02:42 +02:00
Silent
2e02450995
Credits for III, VC and SA newsteam 2018-04-28 17:45:32 +02:00
Silent
edbe62e421
Tie credits XOR to revision version so it changes every public build
Corrected credits hook (in case somebody else hooks there already...)
2018-04-28 16:49:32 +02:00
Silent
18afa85c3f
SA newsteam fixes (partially) 2018-04-28 16:13:29 +02:00
Silent
dc435f9ad2
Reverted to fp:precise for now since VS still produces wrong code for fp:fast 2018-04-26 00:38:54 +02:00
Silent
c1ad23ed22
Revisited aggressive object freeing 2018-04-26 00:15:36 +02:00
Silent
ed397348d1
Fixed handling.cfg name matching (names don't need unique prefixes anymore)
III (all), VC (all), SA (all supported)
2018-04-24 23:59:40 +02:00
Silent
16a8b15086
Removed nasty ReadCall hacks 2018-04-22 00:18:12 +02:00
Silent
33c1ab4ace
Factorized MemoryMgr to be game agnostic 2018-04-22 00:13:15 +02:00
Silent
b11644ae5a
GetBuildNumber export (revision << 8 | build) 2018-04-20 20:33:45 +02:00
Silent
1c41d135b5
Normalized string comparision functions usage between different functions 2018-04-12 23:56:25 +02:00
Silent
d709936322
outfit.asi compatibility 2018-04-08 14:40:30 +02:00
Silent
bf08a40d1a
Updated MemoryMgr 2018-04-02 21:01:11 +02:00
Silent
a0fd40d44d
Use strcmp to compare script names like R* does 2018-03-30 19:03:12 +02:00
Silent
2614f4d1b0
Decreased keyboard input latency - III, VC, SA 1.0/newsteam 2018-03-28 21:23:16 +02:00
Silent
6c6700bcef Bicycle on fire fix - SA 1.0 2018-02-17 13:59:44 +01:00
Silent
55a788025a Fix undefined behaviour in WaveDecoderSA (delete on void*) 2018-02-11 14:11:00 +01:00
Silent
48ff3a0150 Changed 1.01 disclaimer
Removed replay fix for now
2018-02-11 14:01:10 +01:00
Silent
889daff459 Patterns for SA newsteam variables 2018-02-10 20:04:12 +01:00
Silent
e0cc726099 Enabled pattern hints in SA 2018-02-10 18:53:12 +01:00
Silent
0214ace478 CPed::ResetGunFlashAlpha in code 2018-01-29 00:53:17 +01:00
Silent
e41870909a No need to make IStream inheritance public here... cleans up the code a lot too 2018-01-28 23:43:55 +01:00
Silent
1f8b44384e Fixed ammo granting from SCM - SA 1.0 2018-01-28 18:30:52 +01:00
Silent
a4bae15050 Compilation fix 2018-01-28 18:15:53 +01:00
Silent
916c82b5a4 Fun with credits 2018-01-28 14:21:27 +01:00
Silent
ae62b9f434 Fixed triangle above recruitable peds' heads (SA 1.0) 2018-01-26 18:18:52 +01:00
Silent
5ad460ff40 CPlayerInfo operator= (for SA 1.0 2018-01-26 18:18:36 +01:00
Silent
d93a5d6fc6 Mark modules as large address aware (in case it makes a difference) 2018-01-21 13:16:34 +01:00
Silent
eb2172945b Different version numbers for Master and pre-release 2018-01-15 23:02:30 +01:00
Silent
78e4e3f414 Fix Master compilation 2018-01-15 23:01:57 +01:00
Silent
e021dfe53f extra assertion 2018-01-15 01:51:36 +01:00
Silent
883b0dde94 Supply Lines/Beefy Baron SCM fix (player is placed under the building and not high in the sky) 2018-01-14 02:04:38 +01:00
Silent
5679c66311 Refactored gym glitch fix to please Danny 2018-01-14 01:13:27 +01:00
Silent
62ed9242bc Supply Lines streaming fix (SA 1.0) 2018-01-11 21:45:59 +01:00
Silent
f30ebc487d Revert "Parametrized vehiclegrunge256, carplate and carpback"
This reverts commit 5af56db8d4.
2018-01-09 12:36:27 +01:00
Silent
5af56db8d4 Parametrized vehiclegrunge256, carplate and carpback 2018-01-08 23:15:59 +01:00
Silent
89e2a8d121 Small scope fix 2018-01-06 16:20:35 +01:00
Silent
63ba94e547 Re-added fallback code if SHGetFolderPathA fails (like in stock code, falls back to "data" directory) 2018-01-06 16:04:11 +01:00
Silent
dfb46efa88 Return predicate instead of meaningless pointer in rwpred functions 2018-01-06 15:48:47 +01:00
Silent
47cd773c46 Copyright year updated 2018-01-02 11:26:32 +01:00
Silent
b22bed5802 This code can be reused (and gets reused very fine) 2017-12-30 12:45:12 +01:00
Silent
88664b2279 Re-added missing lunar64 to resources 2017-12-30 12:37:30 +01:00
Silent
482686151e 6 extra directionals fix for SA newsteam 2017-12-29 00:41:22 +01:00
Silent
c136734bd2 Replaced asmy fix with normal code based fix 2017-12-26 01:59:22 +01:00
Silent
157a99f0c1 Big update to MemoryMgr - streamlined, removed code duplication, addresses now in one place 2017-12-26 00:14:39 +01:00
Silent
b454985d8b Use make_range_pattern where applicable 2017-12-25 01:57:44 +01:00
Silent
1e9d526c7c Thin templates for Memory 2017-12-23 18:25:58 +01:00
Silent
b7cf823ee7 Move initializer list instead of copying
Use make_checked_array_iterator properly where applicable
2017-12-23 14:14:21 +01:00
Silent
01f7c39d1e Modulo over CLoadingScreen::m_currDisplayedSplash - imfast compatible 2017-12-22 01:07:51 +01:00
Silent
b0439be77c Stricter compilation options (strict strings) 2017-12-22 00:16:18 +01:00
Silent
69d9e4744f Misc changes 2017-12-22 00:13:28 +01:00
Silent
ce0fe83e66 Fixes for C++17 conformance 2017-12-22 00:13:16 +01:00
Silent
70efc863c8 Tidied up 2017-11-30 18:19:43 +01:00
Silent
ff823f1eb9 Exposed ColouredZoneNames to debug menu (on 1.0 only) 2017-11-15 00:20:17 +01:00
Silent
2272250483 DirectionalFromSun exposed to INI
Debug menu even in Master builds
2017-11-15 00:06:36 +01:00
Silent
fbe5c6c6bf Corrected zone name colour blending 2017-11-10 00:24:27 +01:00
Silent
7c831ee2a9 Use structured bindings instead of std::tie 2017-11-09 12:31:03 +01:00
Silent
a76b06a400 Make CAEDataStream methods pure virtual so intellisense doesn't complain (and those methods shouldn't be used anyway) 2017-10-23 00:25:37 +02:00
Silent
771fd96ba7 "number_type - The numbering scheme used for the frame. As a convenience, the decoder will always convert a frame number to a sample number because the rules are complex." 2017-10-20 01:12:17 +02:00
Silent
71ebe0d9eb Stricter constness
Marked AE decoder classes as final to encourage devirtualization
2017-10-20 00:58:06 +02:00
Silent
4827c94a98 Use kernel32 export in ModuleList if possible
Make ModuleList a local variable
2017-10-04 19:12:33 +02:00
Silent
e8b07f9f50 Cleaned up imports
Delay load shlwapi/shell32/psapi as we don't need those in DllMain (shell32 is used MUCH later) and stock game doesn't link them so we may speed up startup
2017-10-03 23:32:14 +02:00
Silent
080cc24f34 Unnamed CdStream semaphore (allows to run III/VC/SA all at once) 2017-10-03 22:24:01 +02:00
Silent
4b2c145028 Replaced GetASIModuleHandle with ModuleList (locate modules matching only by name without extension) 2017-10-03 21:34:21 +02:00
Silent
f35b637b9e Unsupported 3.0 message 2017-09-28 23:48:08 +02:00
Silent
53debb778b Removed two pass rendering 2017-09-28 21:43:16 +02:00