conf.lua 1.2 KB

12345678910111213141516171819202122232425262728293031323334
  1. --[===================================================================[--
  2. Copyright © 2016 Pedro Gimeno Fortea. All rights reserved.
  3. Permission is hereby granted to everyone to copy and use this file,
  4. for any purpose, in whole or in part, free of charge, provided this
  5. single condition is met: The above copyright notice, together with
  6. this permission grant and the disclaimer below, should be included
  7. in all copies of this software or of a substantial portion of it.
  8. THIS SOFTWARE COMES WITHOUT ANY WARRANTY, EXPRESS OR IMPLIED.
  9. --]===================================================================]--
  10. -- LÖVE configuration file
  11. function love.conf(c)
  12. -- Module overrides - there's a lot we don't need
  13. c.modules.audio = false
  14. c.modules.joystick = false
  15. c.modules.math = false
  16. c.modules.mouse = false
  17. c.modules.physics = false
  18. c.modules.sound = false
  19. c.modules.system = false
  20. c.modules.touch = false
  21. c.modules.video = false
  22. c.modules.thread = false
  23. -- Disable window and graphics, so the window isn't created
  24. -- until we're about to load the gif (e.g. --help won't
  25. -- show a window)
  26. c.modules.window = false
  27. c.modules.graphics = false
  28. end