initial screen size is read from the config

This commit is contained in:
minjaesong
2019-01-22 20:56:16 +09:00
parent 07373e13d2
commit ea1fd31c24
4 changed files with 44 additions and 27 deletions

View File

@@ -15,7 +15,8 @@ object DefaultConfig {
jsonObject.addProperty("displayfps", 0) // 0: no limit, non-zero: limit
jsonObject.addProperty("usevsync", false)
jsonObject.addProperty("forcedevbuild", false)
jsonObject.addProperty("screenwidth", AppLoader.defaultW)
jsonObject.addProperty("screenheight", AppLoader.defaultH)
jsonObject.addProperty("imtooyoungtodie", false) // no perma-death