mirror of
https://github.com/CookiePLMonster/SilentPatch.git
synced 2025-01-31 06:57:28 +05:00
Illumination defaults to 1.0
This commit is contained in:
parent
de13ae07a1
commit
c800af990f
1 changed files with 15 additions and 0 deletions
|
@ -2367,6 +2367,11 @@ void Patch_SA_10()
|
|||
// Illumination value from timecyc.dat properly using floats
|
||||
Patch<WORD>(0x5BBFC9, 0x14EB);
|
||||
|
||||
// Illumination defaults to 1.0
|
||||
Patch<DWORD>(0x5BBB04, 0xCC2484C7);
|
||||
Patch<DWORD>(0x5BBB08, 0x00000000);
|
||||
Patch<DWORD>(0x5BBB0C, 0x903F8000);
|
||||
|
||||
// Default resolution to native resolution
|
||||
RECT desktop;
|
||||
GetWindowRect(GetDesktopWindow(), &desktop);
|
||||
|
@ -2578,6 +2583,11 @@ void Patch_SA_11()
|
|||
// Illumination value from timecyc.dat properly using floats
|
||||
Patch<WORD>(0x5BC7A9, 0x14EB);
|
||||
|
||||
// Illumination defaults to 1.0
|
||||
Patch<DWORD>(0x5BC2E4, 0xCC2484C7);
|
||||
Patch<DWORD>(0x5BC2E8, 0x00000000);
|
||||
Patch<DWORD>(0x5BC2EC, 0x903F8000);
|
||||
|
||||
// Default resolution to native resolution
|
||||
RECT desktop;
|
||||
GetWindowRect(GetDesktopWindow(), &desktop);
|
||||
|
@ -2763,6 +2773,11 @@ void Patch_SA_Steam()
|
|||
// Illumination value from timecyc.dat properly using floats
|
||||
Patch<WORD>(0x5DAF6B, 0x2CEB);
|
||||
|
||||
// Illumination defaults to 1.0
|
||||
Patch<DWORD>(0x5DA8D4, 0xD82484C7);
|
||||
Patch<DWORD>(0x5DA8D8, 0x00000000);
|
||||
Patch<DWORD>(0x5DA8DC, 0x903F8000);
|
||||
|
||||
// Default resolution to native resolution
|
||||
RECT desktop;
|
||||
GetWindowRect(GetDesktopWindow(), &desktop);
|
||||
|
|
Loading…
Reference in a new issue