Commit graph

145 commits

Author SHA1 Message Date
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
0fa88b0260
Small SVF refactor 2024-02-01 19:07:51 +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
c9d7a0dcba
Bump up version numbers 2019-12-28 12:16:49 +01:00
Silent
7c79495174
III: Fix chopper's search light placement
VC: Typo fix
2019-12-27 16:24:35 +01:00
Silent
c1ccfba2ec
III/VC: Added EnableVehicleCoronaFixes INI option 2019-12-27 11:06:26 +01:00
Silent
4679873c3a
VC: Make drive-by one shot sounds owned by the driver instead of the car 2019-12-25 17:40:59 +01:00
Silent
f3f9004322
III/VC: Made vehicle ID-based fixes data driven 2019-12-25 16:02:42 +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
fe37cd7c88
III/VC: Corrected Ambulance siren pos again to reduce clipping 2019-12-23 21:00:38 +01:00
Silent
7d94694d5a
VC: Corrected siren coronas in FBI Rancher and Vice Cheetah, added siren to FBI Washington 2019-12-23 19:56:30 +01:00
Silent
7aebe3f355
III/VC: Moved taxi corona fix to shared code 2019-12-15 18:54:53 +01:00
Silent
330f1e3072
VC: Fixed corona placements on Police, Fire truck, Ambulance, Enforcer and Police Maverick 2019-12-15 17:25:09 +01:00
Silent
9b26855d3d
Unified math functions 2019-12-15 13:44:20 +01:00
Silent
3319f9df00
VC: Corrected FBI Washington sirens sound 2019-12-08 20:15:25 +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
df012b84cf
Add RWGTA - wrappers for III/VC RW where macros would be used in SA 2019-12-07 16:24:41 +01:00
Silent
77140a8ef6
Use proper RW versions for all 3 games 2019-12-07 14:47:08 +01:00
Silent
d549eb4682
Bump up version number 2019-09-22 14:46:05 +02:00
Silent
bb02824c91
Metric/Imperial check based on Windows locale settings and on INI/debug menu override (III/VC) 2019-08-24 22:35:35 +02:00
Silent
da5b5b1e12
Set up facilities for delayed patching in III/VC 2019-08-24 17:05:32 +02:00
Silent
4d02505521
Moved shared stuff to a submodule 2019-06-28 23:53:05 +02:00
Silent
5b8ad59097
Project fixes 2019-03-02 16:17:29 +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
2e02450995
Credits for III, VC and SA newsteam 2018-04-28 17:45:32 +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
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
2614f4d1b0
Decreased keyboard input latency - III, VC, SA 1.0/newsteam 2018-03-28 21:23:16 +02:00
Silent
b95f77224f
Attach extras to chassis only on vehicles which have this in hierarchy 2018-03-28 19:47:35 +02:00
Silent
fcc799645f
Extras working correctly on bikes - VC 2018-03-27 22:28:45 +02:00
Silent
f853e96918
Added RW dependency to SPVC 2018-03-27 22:25:59 +02:00
Silent
4653e4f00c Fixed ammo granting from SCM - III/VC 2018-01-28 18:15:38 +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
2d1c7f97e6 Refactor version checking in III/VC to new method 2018-01-14 12:04:22 +01:00
Silent
75b512764b Updated RsMouseSetPos call fix 2018-01-10 01:08:41 +01:00
Silent
47cd773c46 Copyright year updated 2018-01-02 11:26:32 +01:00
Silent
59374848d3 014C cargen counter fix (by spaceeinstein) - III/VC 2017-12-29 00:41:00 +01:00
Silent
344d70800f Thin templates for margin fixes for III/VC 2017-12-23 18:38:45 +01:00
Silent
b0439be77c Stricter compilation options (strict strings) 2017-12-22 00:16:18 +01: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
32fa0c9e51 Bomb ownership bug fix in III/VC + small corrections
Project fixes
2017-09-27 23:12:05 +02:00
Silent
cab60502f3 Removed censorship - III/VC 2017-09-26 22:21:52 +02:00
Silent
b60c4dbfcf FILE_FLAG_NO_BUFFERING fix moved to fixes-shared-with-ddraw 2017-09-18 23:11:19 +02:00
Silent
bf8f58970d Unified code between ddraw and ASIs 2017-09-18 22:13:02 +02:00
Silent
fb672f079b Simplified ScopedUnprotect selection
Made SA use safer ScopedUnprotect
2017-09-18 12:52:35 +02:00
Silent
29cea98c70 Fixup patterns for UPX executables
Adapted ScopedUnprotect for UPX executables
2017-09-16 23:32:17 +02:00
Silent
de35275f8d PickNextNodeToChaseCarXYZ for VC 2017-09-13 21:56:06 +02:00
Silent
e3fe830843 Extra constness where applicable 2017-09-12 22:57:30 +02:00
Silent
51fa496658 III/VC can use non-serializable (local session only) hints 2017-09-12 22:53:20 +02:00
Silent
4b934419bf Proper metric-imperial conversion constants 2017-09-12 22:35:45 +02:00
Silent
eb27f34143 FuckCarCompletely fixed in III and VC 2017-09-12 18:01:02 +02:00
Silent
61fb1af2ce Alt+F4 fix for III/VC 2017-09-12 15:36:58 +02:00
Silent
9cb66601f8 Master builds (Release = optimizations + assertions) 2017-09-12 13:48:15 +02:00
Silent
f0a53778ee Remove FILE_FLAG_NO_BUFFERING from CdStreams - III (all), VC (all), SA (1.0) 2017-09-12 13:31:57 +02:00
Silent
94fa223e8c Patterns for timers fix for VC 2017-09-11 15:18:32 +02:00
Silent
c58f8ceef6 First version of new timer fix for III/VC - VC only so far 2017-09-11 00:39:46 +02:00
Silent
6c30863136 Merge branch 'master' into 'master'
Fixed autopilot timer bug in III and VC

See merge request !1
2017-09-10 16:02:10 +00:00
Silent
fb679617de Disabled C++ exceptions and RTTI 2017-09-07 22:43:10 +02:00
Nikolay Korolev
5f78ed97d1 Fixed crash related to autopilot timing calculations for VC 2017-06-15 15:45:51 +00:00
Silent
b8bbf7ba26 don't unload III/VC asis if they fail to load 2017-06-05 14:22:35 +02:00
Silent
f39c7c8d2c more security improvements 2017-04-09 20:25:19 +02:00
Silent
6bdd02ffdd Fully migrate on utf-16 strings where possible 2017-04-09 18:43:54 +02:00
Silent
550841b60a std::string_view 2017-04-02 21:08:57 +02:00
Silent
72542d521e Update version info 2017-03-20 20:27:41 +01:00
Silent
c8eddf93f8 add versioninfo 2017-03-11 14:37:36 +01:00
Silent
2e82d001e1 Update to VS2017 (with fixes) 2017-03-08 16:34:00 +01:00
Silent
3d730fd42c fix timers return value (hopefully never affected anything) 2017-03-06 22:44:06 +01:00
Silent
943a3acc24 add Patternies 2017-03-05 22:25:46 +01:00
Silent
f845ceb25f Move III/VC to v140_xp 2017-03-05 22:25:09 +01:00
Silent
afd6fc49ea Misc changes 2016-09-12 00:11:17 +02:00
Silent
b27ec3a264 Adapted for new Memory version 2016-09-12 00:09:21 +02:00
Silent
e78ff41605 Update code for new Memory 2016-08-10 22:27:58 +02:00
Silent
2420d0f7e9 Fixed ammo for melee weapons in cheats -VC 2016-07-27 02:19:11 +02:00
Silent
e96bd3e91c Reinit CGarages::RespraysAreFree - III/VC 2016-05-29 22:59:15 +02:00
Silent
0b2fc37d06 Reinit CCarCtrl fields (firetruck and ambulance generation) - III/VC 2016-05-29 19:17:44 +02:00
Silent
5eb6f432cb Corrected crime codes - VC 2016-05-29 16:52:25 +02:00
Silent
10492cd289 FLA donation window block for III/VC 2016-05-29 15:01:57 +02:00
Silent
86a8a00349 ~x~ as cyan blip - VC 2016-05-21 16:14:34 +02:00
Silent
b906331d15 More generic Memory defines 2016-04-22 20:54:20 +02:00
Silent
d13d8dc05c Scan for A and B drives looking for audio files - VC 2016-03-31 22:51:52 +02:00
Silent
7441e28d41 Don't lock mouse Y axis during fadeins - VC 2016-03-31 22:29:31 +02:00
Silent
b64fb9b389 safe sprintfs 2016-03-31 19:51:14 +02:00
Silent
0b87f0e2ee Y axis sensitivity fix - Japanese VC 2016-03-11 20:48:14 +01:00
Silent
6a02617a83 VC - Y axis sensitivity fix 2016-03-10 23:14:25 +01:00
Silent
f3311da509 % new paths 2016-03-07 18:59:19 +01:00
Silent
f8258b61d5 Mouse recentering fix for VC 2015-09-20 22:25:10 +02:00
Silent
4d459e0ad4 More stable framelimiter - VC 2015-06-29 00:53:49 +02:00
Silent
3c3a25933b SSE instructions disallowed 2015-06-21 00:44:55 +02:00
Silent
49e73bd130 Project files updated for MSVC2013 2015-05-02 00:27:30 +02:00
Silent
2d24b6fee5 III version of User Files fix 2015-04-22 15:47:56 +02:00
Silent
785ad0d3ad Updated project files 2015-04-22 15:20:40 +02:00