mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-01-31 03:12:41 +00:00
Remove: officially mark Vista as no longer supported (#11531)
It is very likely Vista hasn't been working for years, but the amount of users that use an OS that has been EoL for over 11 years is very small, so reports happen rarely.
This commit is contained in:
parent
a258833aee
commit
b866e52b17
@ -19,14 +19,14 @@ your operating system:
|
|||||||
- Windows:
|
- Windows:
|
||||||
- `C:\My Documents\OpenTTD` (95, 98, ME)
|
- `C:\My Documents\OpenTTD` (95, 98, ME)
|
||||||
- `C:\Documents and Settings\<username>\My Documents\OpenTTD` (2000, XP)
|
- `C:\Documents and Settings\<username>\My Documents\OpenTTD` (2000, XP)
|
||||||
- `C:\Users\<username>\Documents\OpenTTD` (Vista, 7, 8.1, 10, 11)
|
- `C:\Users\<username>\Documents\OpenTTD` (7, 8.1, 10, 11)
|
||||||
- macOS: `~/Documents/OpenTTD`
|
- macOS: `~/Documents/OpenTTD`
|
||||||
- Linux: `$XDG_DATA_HOME/openttd` which is usually `~/.local/share/openttd`
|
- Linux: `$XDG_DATA_HOME/openttd` which is usually `~/.local/share/openttd`
|
||||||
when built with XDG base directory support, otherwise `~/.openttd`
|
when built with XDG base directory support, otherwise `~/.openttd`
|
||||||
3. The shared directory
|
3. The shared directory
|
||||||
- Windows:
|
- Windows:
|
||||||
- `C:\Documents and Settings\All Users\Shared Documents\OpenTTD` (2000, XP)
|
- `C:\Documents and Settings\All Users\Shared Documents\OpenTTD` (2000, XP)
|
||||||
- `C:\Users\Public\Documents\OpenTTD` (Vista, 7, 8.1, 10, 11)
|
- `C:\Users\Public\Documents\OpenTTD` (7, 8.1, 10, 11)
|
||||||
- macOS: `/Library/Application Support/OpenTTD`
|
- macOS: `/Library/Application Support/OpenTTD`
|
||||||
- Linux: not available
|
- Linux: not available
|
||||||
4. The binary directory (where the OpenTTD executable is)
|
4. The binary directory (where the OpenTTD executable is)
|
||||||
|
@ -15,8 +15,6 @@
|
|||||||
</application>
|
</application>
|
||||||
<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
|
<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
|
||||||
<application>
|
<application>
|
||||||
<!--This Id value indicates the application supports Windows Vista functionality -->
|
|
||||||
<supportedOS Id="{e2011457-1546-43c5-a5fe-008deee3d3f0}"/>
|
|
||||||
<!--This Id value indicates the application supports Windows 7 functionality-->
|
<!--This Id value indicates the application supports Windows 7 functionality-->
|
||||||
<supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}"/>
|
<supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}"/>
|
||||||
<!--This Id value indicates the application supports Windows 8 functionality-->
|
<!--This Id value indicates the application supports Windows 8 functionality-->
|
||||||
|
@ -70,7 +70,7 @@ const char *SoundDriver_Win32::Start(const StringList &parm)
|
|||||||
wfex.nAvgBytesPerSec = wfex.nSamplesPerSec * wfex.nBlockAlign;
|
wfex.nAvgBytesPerSec = wfex.nSamplesPerSec * wfex.nBlockAlign;
|
||||||
|
|
||||||
/* Limit buffer size to prevent overflows. */
|
/* Limit buffer size to prevent overflows. */
|
||||||
_bufsize = GetDriverParamInt(parm, "bufsize", IsWindowsVistaOrGreater() ? 8192 : 4096);
|
_bufsize = GetDriverParamInt(parm, "bufsize", 8192);
|
||||||
_bufsize = std::min<int>(_bufsize, UINT16_MAX);
|
_bufsize = std::min<int>(_bufsize, UINT16_MAX);
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
@ -1258,7 +1258,7 @@ static const char *SelectPixelFormat(HDC dc)
|
|||||||
0, 0, 0, 0 // Ignored/reserved.
|
0, 0, 0, 0 // Ignored/reserved.
|
||||||
};
|
};
|
||||||
|
|
||||||
if (IsWindowsVistaOrGreater()) pfd.dwFlags |= PFD_SUPPORT_COMPOSITION; // Make OpenTTD compatible with Aero.
|
pfd.dwFlags |= PFD_SUPPORT_COMPOSITION; // Make OpenTTD compatible with Aero.
|
||||||
|
|
||||||
/* Choose a suitable pixel format. */
|
/* Choose a suitable pixel format. */
|
||||||
int format = ChoosePixelFormat(dc, &pfd);
|
int format = ChoosePixelFormat(dc, &pfd);
|
||||||
|
Loading…
Reference in New Issue
Block a user