Tweaked how the graphics mode setting is read

Added a couple of notes to ddraw.ini.
Minor code edits.
This commit is contained in:
NovaRain
2022-05-27 13:18:09 +08:00
parent 73ec85b01d
commit 9667b522a8
6 changed files with 23 additions and 9 deletions
+3 -1
View File
@@ -4,6 +4,7 @@
[Main]
;Set to 1 to enable the built-in High Resolution Patch mode that is similar to the hi-res patch by Mash
;The required settings will be read from the f2_res.ini configuration file of the original hi-res patch
;This option is always read from the main ini file (i.e. ddraw.ini)
HiResMode=1
;Set to 1 if you want to use command line arguments to tell sfall to use another ini file
@@ -57,6 +58,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
@@ -821,7 +823,7 @@ GlobalScriptPaths=scripts\gl*.int,scripts\sfall\gl*.int
;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