36 lines
No EOL
758 B
Haskell
36 lines
No EOL
758 B
Haskell
-- This module should ultimately be replaced by a config file parser
|
|
module RPGEngine.Config
|
|
-- All entries are exported
|
|
where
|
|
|
|
import Graphics.Gloss
|
|
|
|
----------------------- Window configuration -------------------------
|
|
|
|
-- Dimensions for main window
|
|
winDimensions :: (Int, Int)
|
|
winDimensions = (1280, 720)
|
|
|
|
-- Offsets for main window
|
|
winOffsets :: (Int, Int)
|
|
winOffsets = (0, 0)
|
|
|
|
-- Game background color
|
|
bgColor :: Color
|
|
bgColor = white
|
|
|
|
-- Default scale
|
|
zoom :: Float
|
|
zoom = 5.0
|
|
|
|
-- Resolution of the texture
|
|
resolution :: Float
|
|
resolution = 16
|
|
|
|
-- Location of the assets folder containing all images
|
|
assetsFolder :: FilePath
|
|
assetsFolder = "assets/"
|
|
|
|
-- Location of the level folder containing all levels
|
|
levelFolder :: FilePath
|
|
levelFolder = "levels/" |