Tweaked how the graphics mode setting is read

Changed all checks with Graphics::mode in the same way as 4.x.
Added a couple of notes to ddraw.ini.
Minor code edits.
This commit is contained in:
NovaRain
2022-05-27 13:18:29 +08:00
parent 205602d85d
commit e3628232c5
11 changed files with 32 additions and 18 deletions
+2 -1
View File
@@ -38,6 +38,7 @@ SpeedMultiInitial=100
;Set to 6 for DX9 fullscreen windowed (the resolution in f2_res.ini should be set to the same aspect ratio as your desktop resolution)
;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
;This option will always be read from the main ini file (i.e. ddraw.ini) when using the hi-res patch by Mash
Mode=0
;If using a DX9 mode, this changes the resolution
@@ -796,7 +797,7 @@ DisableSpecialAreas=0
;XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
[Debugging]
;Extra sfall configuration settings that can be used by modders
;This section is not effected by the 'UseCommandLine' option. It will always be read from the main ini
;This section is not affected by the 'UseCommandLine' option. It will always be read from the main ini file (i.e. ddraw.ini)
;Set to 1 to enable sfall debugging mode
Enable=0