123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- DEDICATED = arg[2] == '--dedicated'
- function love.conf(t)
- t.identity = "GridCars" -- The name of the save directory (string)
- t.version = "11.1" -- The LÖVE version this game was made for (string)
- t.console = false -- Attach a console (boolean, Windows only)
- if not DEDICATED then
- t.window.title = "Grid Cars" -- The window title (string)
- t.window.icon = nil -- Filepath to an image to use as the window's icon (string)
- t.window.width = 1000 -- The window width (number)
- t.window.height = 800 -- The window height (number)
- t.window.borderless = false -- Remove all border visuals from the window (boolean)
- t.window.resizable = false -- Let the window be user-resizable (boolean)
- t.window.minwidth = 1 -- Minimum window width if the window is resizable (number)
- t.window.minheight = 1 -- Minimum window height if the window is resizable (number)
- t.window.fullscreen = false -- Enable fullscreen (boolean)
- t.window.fullscreentype = "desktop"-- Standard fullscreen or desktop fullscreen mode (string)
- t.window.vsync = true -- Enable vertical sync (boolean)
- t.window.fsaa = 0 -- The number of samples to use with multi-sampled antialiasing (number)
- t.window.display = 1 -- Index of the monitor to show the window in (number)
- t.window.highdpi = false -- Enable high-dpi mode for the window on a Retina display (boolean). Added in 0.9.1
- t.window.srgb = false -- Enable sRGB gamma correction when drawing to the screen (boolean). Added in 0.9.1
- t.modules.audio = true -- Enable the audio module (boolean)
- t.modules.graphics = true -- Enable the graphics module (boolean)
- t.modules.image = true -- Enable the image module (boolean)
- t.modules.keyboard = true -- Enable the keyboard module (boolean)
- t.modules.mouse = true -- Enable the mouse module (boolean)
- t.modules.sound = true -- Enable the sound module (boolean)
- t.modules.window = true -- Enable the window module (boolean)
- else
- t.window = nil
- t.modules.audio = false
- t.modules.graphics = false
- t.modules.image = false
- t.modules.keyboard = false
- t.modules.mouse = false
- t.modules.sound = false
- t.modules.window = false
- end
- t.modules.event = true -- Enable the event module (boolean)
- t.modules.joystick = false -- Enable the joystick module (boolean)
- t.modules.math = false -- Enable the math module (boolean)
- t.modules.physics = false -- Enable the physics module (boolean)
- t.modules.system = false -- Enable the system module (boolean)
- t.modules.timer = true -- Enable the timer module (boolean)
- t.modules.thread = true -- Enable the thread module (boolean)
- end
|