Add menu option for auto camera rotation
This commit is contained in:
@@ -12,6 +12,7 @@ module Dodge.Config.Data (
|
||||
, resolution_factor
|
||||
, windowX
|
||||
, windowY
|
||||
, rotate_to_wall
|
||||
) where
|
||||
|
||||
import Data.Aeson
|
||||
@@ -27,6 +28,7 @@ data Configuration = Configuration
|
||||
, _resolution_factor :: Int -- ^ Higher values divide screen size, i.e. make the resolution worse
|
||||
, _windowX :: Float
|
||||
, _windowY :: Float
|
||||
, _rotate_to_wall :: Bool
|
||||
}
|
||||
deriving (Generic, Show)
|
||||
makeLenses ''Configuration
|
||||
@@ -46,4 +48,5 @@ defaultConfig = Configuration
|
||||
, _resolution_factor = 1
|
||||
, _windowX = 800
|
||||
, _windowY = 600
|
||||
, _rotate_to_wall = True
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user