Added a note about external wrapper to ddraw.ini

This commit is contained in:
NovaRain
2024-02-22 08:35:58 +08:00
parent c09ed0565b
commit 9268776736
3 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ on:
push: push:
branches: branches:
- 'master' - 'master'
- 'cnc-loader' - 'develop'
- 'github-action' - 'github-action'
paths: paths:
- '.github/workflows/build.yml' - '.github/workflows/build.yml'
+1
View File
@@ -61,6 +61,7 @@ SpeedMultiInitial=100
;A DX9 mode is required for any graphics related script extender functions to work (i.e. fullscreen shaders) ;A DX9 mode is required for any graphics related script extender functions to work (i.e. fullscreen shaders)
;Modes 1, 2 and 3 are no longer supported ;Modes 1, 2 and 3 are no longer supported
;If using the hi-res patch by Mash, this option will always be read from the main ddraw.ini file ;If using the hi-res patch by Mash, this option will always be read from the main ddraw.ini file
;Note: When using an external DirectDraw wrapper (ddraw.dll file in <GameRoot>\wrapper\), DX9 mode will not be available
Mode=0 Mode=0
;If using a DX9 mode, this changes the resolution ;If using a DX9 mode, this changes the resolution
+1 -1
View File
@@ -1254,7 +1254,7 @@ void Graphics::init() {
if (extWrapper || Graphics::mode < 0 || Graphics::mode > 6) { if (extWrapper || Graphics::mode < 0 || Graphics::mode > 6) {
Graphics::mode = 0; Graphics::mode = 0;
} }
IsWindowedMode = (Graphics::mode == 2 || Graphics::mode == 3 || Graphics::mode >= 5); Graphics::IsWindowedMode = (Graphics::mode == 2 || Graphics::mode == 3 || Graphics::mode >= 5);
if (Graphics::mode >= 4) { if (Graphics::mode >= 4) {
dlog("Applying DX9 graphics patch.", DL_INIT); dlog("Applying DX9 graphics patch.", DL_INIT);