Echo J
0d1694aeee
SilentPatch: Add missing cmath header include
...
It's required for the modf() function (and it isn't implicitly
included on MinGW GCC)
2024-11-10 10:01:32 +02:00
Echo J
8ed97f0e7f
SilentPatch: Move a header include in SVF
...
This makes sure the fixed-width integer types are included in SVF.h
2024-11-10 10:01:32 +02:00
Echo J
055a319374
SilentPatch: Define a replacement for _stricmp() if needed
...
MinGW GCC doesn't have this MSVC-specific function
2024-11-10 10:01:32 +02:00
Echo J
5459cbf037
SilentPatch: Simplify RwIm2DRenderLine function pointer declaration
...
MinGW GCC doesn't seem to unwind the layers of the macro define
properly (which causes it to not find the declaration type)
2024-11-10 10:01:32 +02:00
Echo J
a3f946b30f
SilentPatch: Don't define certain Rw* functions if not needed
...
Redefining them can cause strange compile errors with MinGW GCC
2024-11-10 10:01:32 +02:00
Echo J
0c377ae10e
DDraw: Cast the memcpy() source argument
...
This works around the MinGW GCC type strictness
2024-11-10 10:01:32 +02:00
Echo J
47ac4d7f2d
DDraw: Change the forwarded name for DirectDrawCreateEx
...
MinGW GCC exports this function a bit differently (which doesn't
work here)
2024-11-10 10:01:32 +02:00
Echo J
c815a407da
SilentPatchIII/VC/SA: Mark some function pointers as inline
...
MinGW GCC's linker can't find them otherwise
2024-11-10 10:01:32 +02:00
Echo J
b13b3139d6
SilentPatchIII/VC: Remove extern from ppUserFilesDir variable definitions
...
This fixes compile warnings with MinGW GCC
2024-11-10 10:01:32 +02:00
Echo J
ccfa4eda99
SilentPatchIII/VC/SA: Add GCC/Clang-compatible safebuffers equivalent
...
And switch to a common define for this attribute (this fixes
compile warnings on MinGW GCC)
2024-11-10 10:01:10 +02:00
Echo J
2b5c5b7ce0
Use reinterpret_cast for function pointer casts
...
MSVC (wrongly) allows those casts to succeed with static_cast:
https://stackoverflow.com/questions/74002657/why-cant-i-static-cast-a-void-to-a-pointer-to-function
(so adjust those casts for better compiler compatibility including MinGW GCC)
2024-11-10 09:55:18 +02:00
Echo J
33074475bd
Set Windows defines earlier
...
This avoids compile warnings on MinGW GCC (because standard C++
headers eventually import the Windows stuff)
2024-11-10 09:55:18 +02:00
Echo J
e0a0200f90
Use lowercase names for Windows headers
...
This fixes missing header issues on a case-sensitive filesystem
with MinGW GCC
2024-11-10 09:55:18 +02:00
Echo J
c7354a8ebf
Remove unused dllmain.cpp file
...
It seems to be used in the early days of SilentPatch (but it's
no longer included since the III/VC/SA code split and serves no purpose)
2024-11-10 09:55:18 +02:00
Silent
47e7ab6b1f
SA: Call the game's own User Files path getter to make device_remembered.set respect Portable GTA's changes
...
Fixes #105
2024-11-09 22:42:32 +01:00
Tomasak
202101e4f7
More backface culling models ( #30 )
...
* two more bfc objects
it never ends
* Update SilentPatchVC.ini
* Update SilentPatchVC.ini
2024-11-02 17:26:22 +01:00
Silent
52deecd5ac
VC: Fix an incorrect vertex setup for the outline of a destination blip
...
Fixes #66
2024-11-02 17:22:03 +01:00
Silent
7d055f9264
III/VC: Two more minor scaling fixes
...
III: The position of the dialog question text in the main menu now
scales to resolution correctly.
VC: The vertical offset of the weapon name text in Ammu-Nation
now scales to resolution correctly.
2024-11-01 19:44:40 +01:00
Silent
fd67cb4064
III/VC: Port the inner text box background padding fix from San Andreas
...
Fixes #48
2024-11-01 19:00:01 +01:00
Silent
7d1bd8a9ac
Fix warnings
2024-11-01 17:53:46 +01:00
Silent
75a3f16ffb
III/VC: Improve the way RwD3D8Get/SetRenderState is located
...
Improves compatibility with other mods and provides a safe fallback.
Fixes #65
2024-11-01 17:33:33 +01:00
Silent
2f79eb1c8f
SA: Fix the driving school cones fix so it doesn't leave cones from "Cone Coil" and "Burn and Lap" behind
...
Fixes #62
2024-10-31 23:27:53 +01:00
Silent
3017790d44
Fix Hydra's jet thrusters not displaying due to an uninitialized variable in RwMatrix
...
By B1ack_Wh1te
Fixes #57
2024-10-31 19:07:22 +01:00
Silent
9f705a3dc3
VC: Improve compatibility between the radar placement fix and plugin-sdk
...
plugin-sdk had to reimplement an inlined
CRadar::TransformRadarPointToScreenSpace, so we need to patch
a stock global variable so this reimplementation can be aware
of our fixes.
Fixes #43
2024-10-30 21:11:06 +01:00
Silent
5aaec719ed
Fixup logo in ReadMe
2024-10-30 19:44:38 +01:00
Silent
cdcf979a54
SA: Fix wheels detaching after they were made invisible when the car explodes
...
It was fine in the stock game, regressed once SP made the game pick
a random wheel to detach when exploding.
Fixes #47
2024-10-30 19:44:13 +01:00
Silent
2de40406d2
SA: Add even more preemptive checks
...
Since we are checking the adjacent fixes,
check this one just in case too.
2024-10-30 18:42:25 +01:00
Silent
09bb67220e
SA: Fix incompatibilities with wshps.asi
...
* Map Screen cursor fix is now split between the cursor thickness
and the cursor positioning fix. The latter gets out of the way
for the ws fix.
* Text background padding not scaling to resolution now gives
priority to the same fix in the widescreen fix.
Fixes #33
2024-10-30 18:28:53 +01:00
Silent
6a524dcf46
VC: When excluding extras from envmap fixes, also set the envmap coefficient to 0.0
...
Fixes #40
2024-10-29 21:56:38 +01:00
Silent
17baa64613
SA: Use DWLP_USER in the resolution dialog
...
GWLP_USERDATA was unlikely to cause issues, but it's technically
reserved since we didn't create the window class ourselves.
DWLP_USER is guaranteed to be free for us to use.
2024-10-28 22:36:50 +01:00
Silent
f1d85b825b
SA: Clean CVehicleModelInfo fields from ::Init so they are cleaned up after modloader loads the ASI
...
Fixes #44
2024-10-28 20:47:34 +01:00
Silent
4cb6edad7c
SA: Also scale the default size of the gamepad crosshair
...
Fixes #29
2024-10-28 19:51:57 +01:00
Silent
6e5b41c958
SA: Fix focus issues with the resolution selection dialog
...
Now requests focus the proper way from WM_INITDIALOG,
instead of a manual SetFocus call.
Fixes #49
2024-10-28 19:27:26 +01:00
Silent
a07d7936da
SA: Improve mod compatibility of the new resolution dialog
...
Should resolve compatibility issues with Renderhook
2024-10-28 18:56:52 +01:00
Silent
e8b3d3f531
SA: Fix EU 1.0 incompatibilities
2024-10-25 21:36:10 +02:00
Silent
d74b104473
Fix a typo
2024-10-25 18:03:34 +02:00
Silent
ea13429022
Update changelog
2024-10-24 09:28:41 +02:00
Silent
3218612792
SA: Fix nitrous recharging faster when reversing the car
...
By Wesser
2024-10-23 23:59:45 +02:00
Silent
1c4a08ea92
SA: Fix text background padding not scaling to resolution
...
Debugged by Wesser
2024-10-23 23:59:29 +02:00
Silent
710f1b13ad
SA: Fix Map screen boundaries and the cursor not scaling to resolution
...
Debugged by Wesser
2024-10-23 23:58:23 +02:00
Silent
97c2c8a094
Work around libflac linking issues with v141_xp
2024-10-23 21:52:50 +02:00
Silent
003b0c6bf1
Add logo to ReadMe
2024-10-23 19:28:33 +02:00
Silent
a40302a11d
Add README.md and changelogs
2024-10-23 19:17:07 +02:00
Silent
fd4fbbacef
III: Rsstore the 'brakelights' dummy as it's vanished from the III PC code
2024-10-21 22:28:52 +02:00
Silent
8e258b0ac5
VC: Reset CWeather::StreamAfterRainTimer when restarting
...
Fixes saves/new game having the "after rain stream" if you load
a save after playing in rain
2024-10-19 14:33:18 +02:00
Silent
1b3a2dd1fc
Fix UpdateUrl
2024-10-18 13:19:24 +02:00
Silent
2c998b0c9c
Remove return std::move to make use of an implicit move
2024-10-17 23:42:08 +02:00
Silent
de59add19f
SA: Fix heat seeking and gamepad crosshairs not scaling to resolution
2024-10-15 22:10:36 +02:00
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
3d205cdf95
VC/SA: Add Minimal HUD to VC, document it in SA
2024-10-12 20:28:14 +02:00