Unify config files, add capability to remember window position
This commit is contained in:
@@ -15,6 +15,8 @@ data Configuration = Configuration
|
||||
, _resolution_factor :: Int -- ^ Higher values divide screen size, i.e. make the resolution worse
|
||||
, _windowX :: Float
|
||||
, _windowY :: Float
|
||||
, _windowPosX :: Int
|
||||
, _windowPosY :: Int
|
||||
, _rotate_to_wall :: Bool
|
||||
, _show_sound :: Bool
|
||||
, _debug_seconds_frame :: Bool
|
||||
@@ -41,6 +43,8 @@ defaultConfig = Configuration
|
||||
, _resolution_factor = 1
|
||||
, _windowX = 800
|
||||
, _windowY = 600
|
||||
, _windowPosX = 0
|
||||
, _windowPosY = 0
|
||||
, _rotate_to_wall = True
|
||||
, _show_sound = False
|
||||
, _debug_seconds_frame = True
|
||||
|
||||
Reference in New Issue
Block a user