Browse Source

Add a displayIndex setting to the video settings

This setting will control on which display the game window will be
shown.
Krzesimir Nowak 9 years ago
parent
commit
32f5033a4d
1 changed files with 5 additions and 1 deletions
  1. 5 1
      config/schemas/settings.json

+ 5 - 1
config/schemas/settings.json

@@ -45,7 +45,7 @@
 			"type" : "object",
 			"type" : "object",
 			"additionalProperties" : false,
 			"additionalProperties" : false,
 			"default": {},
 			"default": {},
-			"required" : [ "screenRes", "bitsPerPixel", "fullscreen", "spellbookAnimation","driver", "showIntro" ],
+			"required" : [ "screenRes", "bitsPerPixel", "fullscreen", "spellbookAnimation","driver", "showIntro", "displayIndex" ],
 			"properties" : {
 			"properties" : {
 				"screenRes" : {
 				"screenRes" : {
 					"type" : "object",
 					"type" : "object",
@@ -77,6 +77,10 @@
 					"type" : "string",
 					"type" : "string",
 					"default" : "opengl",
 					"default" : "opengl",
 					"description" : "preferred graphics backend driver name for SDL2"
 					"description" : "preferred graphics backend driver name for SDL2"
+				},
+				"displayIndex" : {
+					"type" : "number",
+					"default" : 0
 				}
 				}
 			}
 			}
 		},
 		},