Added a new "fullscreen windowed" DX9 mode

Added saving the position of the game window to ddraw.ini
This commit is contained in:
NovaRain
2020-03-20 12:30:41 +08:00
parent ab11c0422a
commit e479609581
4 changed files with 59 additions and 32 deletions
+5
View File
@@ -54,6 +54,7 @@ AffectPlayback=0
;Set to 0 for 8 bit fullscreen
;Set to 4 for DX9 fullscreen
;Set to 5 for DX9 windowed
;Set to 6 for DX9 fullscreen windowed
;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
Mode=0
@@ -64,6 +65,10 @@ Mode=0
GraphicsWidth=0
GraphicsHeight=0
;Window position data. Do not modify
;Set to 0 to reset if the window position is incorrect
WindowData=0
;Uncomment the option to use a hardware shader (requires DX9 graphics mode 4 or 5)
;The shader file <name>.fx must be placed in <GameRoot>\<master_patches>\shaders\ and must contain one technique with one or more passes
;GlobalShaderFile=global.fx