Commit Graph

454 Commits

Author SHA1 Message Date
John Doe fc5eeb11a3 Fix copyright notice date 2026-01-21 18:49:11 +00:00
John Doe 062c5e8e2a Refactor var name to show its used internally 2025-11-22 22:48:00 +00:00
John Doe 9e55b14695 Add drag & drop game to start into nogame 2025-11-22 22:45:35 +00:00
John Doe 6f08eb94c6 Update copyright notice with correct year 2025-07-12 23:19:22 +01:00
Sasha Szpakowski 19681f1a75 nogame: resizing doesn't change existing cloud shapes 2025-02-08 20:25:27 -04:00
Sasha Szpakowski b20a0b81a4 nogame: fix duckloon disappearing for a short time after a resize 2025-02-04 23:12:56 -04:00
Sasha Szpakowski b61b35d5fb move gammacorrect, renderers, and excluderenderers love.conf options to a new t.graphics table. 2024-12-20 20:40:53 -04:00
Sasha Szpakowski 64a30f177f Merge branch 'main' into 12.0-development 2024-02-10 12:24:48 -04:00
Sasha Szpakowski 94d5864144 update year for copyright notice 2024-02-10 12:13:22 -04:00
Sasha Szpakowski 112a09ceb7 Shape:setDensity no longer needs Body:resetMassData unless the Body already has custom mass data.
Add Body:hasCustomMassData.
If the Body has custom mass data, attaching a Shape to it doesn't automatically reset its mass data.
2023-10-08 12:43:27 -03:00
Sasha Szpakowski 1396e26626 auto.lua: fix consistency on Windows 2023-10-08 12:32:10 -03:00
Sasha Szpakowski 5b4758819e nogame screen uses non-deprecated APIs 2023-10-07 15:35:00 -03:00
Sasha Szpakowski f6cdbdc868 Merge branch 'main' into 12.0-development 2022-12-31 22:46:34 -04:00
Sasha Szpakowski c823dbca96 Update copyright year for 2023 2022-12-31 22:25:49 -04:00
Alex Szpakowski d51e012812 Merge branch '12.0-development' into metal 2022-01-05 21:12:22 -04:00
Alex Szpakowski 7f3538d2ba Merge branch 'main' into 12.0-development 2022-01-05 21:10:27 -04:00
Alex Szpakowski 8e7fd10b6f Update copyright year for 2022 2021-12-31 18:33:40 -04:00
Alex Szpakowski 3d8117ccbb Merge branch '12.0-development' into metal 2021-12-24 15:35:18 -04:00
Alex Szpakowski e63025b74f Merge branch '12.0-development' into metal 2021-12-24 15:34:05 -04:00
Alex Szpakowski 8a48f1b733 Merge branch 'main' into 12.0-development 2021-10-19 21:50:19 -03:00
Alex Szpakowski e27a71f798 Move boot.lua to src/modules/love/ with raw string literal format.
Split it up into 3 files to keep under VS2013's raw string literal character limit.
Now boot.lua doesn't need a regeneration step when it's modified.
2021-10-19 21:22:26 -03:00
Alex Szpakowski 199632e791 Add love.parsedGameArguments and love.rawGameArguments tables.
They're the same as the global arg table and the result of love.arg.parseGameArguments, respectively. They only exist on the main thread.
2021-06-06 18:04:58 -03:00
Alex Szpakowski 21f5ba86d3 Merge branch 'master' into 12.0-development 2021-04-07 20:33:44 -03:00
Alex Szpakowski f89aabb0bb Update copyright year for 2021 2021-04-04 16:14:45 -03:00
Alex Szpakowski 20a92a4106 Merge branch '12.0-development' into metal 2020-12-22 22:37:17 -04:00
Alex Szpakowski 905e5baf06 Replace highdpi window flag with t.highdpi in love.conf 2020-11-01 21:36:15 -04:00
Alex Szpakowski 27897b4af1 Merge branch '12.0-development' into metal 2020-10-24 00:36:33 -03:00
Alex Szpakowski 26326a01e0 Merge branch 'master' into 12.0-development 2020-09-21 22:35:19 -03:00
Cartread da644085e4 Update boot.lua.h 2020-08-15 22:57:30 -04:00
Cartread e1d491b7c5 Update boot.lua
Removing the alpha variable allows anyone who overwrote the setColor function to see errorhandler's print.
e.g. I'm overwriting the setColor function to accommodate 0-255 values and the error message is being printed with 1/255 alpha (invisible).
Removing the 1 will print the message in black.

P.S. I'm currently overwriting errorhandler for this, but I assume others are also overwriting setColor and see no error messages.
2020-08-13 00:26:17 -04:00
Alex Szpakowski 5b4de2308d show the renderer name in the no-game's title 2020-07-29 19:42:38 -03:00
Alex Szpakowski d6566c865c Merge branch 'master' into 12.0-development 2020-03-03 19:41:54 -04:00
Andrew West 0efb49dc5f Changed to set the window title before creation rather than after 2020-03-02 20:51:46 +00:00
Alex Szpakowski 8478a870a9 Add new*Texture variants which don't require image files.
Update the no-game screen to avoid deprecated functions.
2020-02-12 20:07:35 -04:00
Alex Szpakowski 5f9b5a21d0 Merge default into minor
--HG--
branch : minor
2020-01-03 22:45:36 -04:00
Alex Szpakowski fc4847c69d Update copyright for the new year 2020-01-03 22:40:36 -04:00
Alex Szpakowski b001b2e1d5 Add love.event.restart(optionalvalue) as a shorthand for love.event.quit("restart", optionalvalue). If a Lua value is provided as an argument, a new love.restart field will contain the value after restarting.
--HG--
branch : minor
2019-12-28 22:43:39 -05:00
Miku AuahDark 5d63211b93 Fix t.audio.mixwithsystem defaults to false when absent from conf.lua
--HG--
branch : androidmic
2019-09-29 16:21:17 +08:00
Miku AuahDark 051f1e9830 Add t.audio.mic (boolean) setting to conf.lua
--HG--
branch : androidmic
2019-09-29 12:18:47 +08:00
Alex Szpakowski 37472d6f5e Add 'usedpiscale' boolean (true by default) to love.window.setMode's settings table and love.conf's t.window table. Add love.window.getNativeDPIScale.
When usedpiscale=false, love will no longer automatically scale coordinates by the screen's DPI scale factor (so all coordinates will be in pixels), even when highdpi=true. love.window.getDPIScale will return 1, love.graphics.newCanvas will default to a dpi scale of 1 instead of the screen's dpi scale, etc.

love.window.getNativeDPIScale() will return the screen's DPI scale as reported by the OS no matter what usedpiscale is set to.
2019-06-24 21:54:09 -03:00
Alex Szpakowski db1c982f76 boot.lua and nogame.lua line numbers match the source code once they're embedded into love (thanks, pgimeno!) 2019-04-06 13:08:25 -03:00
Alex Szpakowski 0752f27bdf Update copyright year for 2019 2019-01-03 21:09:05 -04:00
Alex Szpakowski 324a290040 The code related to t.audio.mixwithsystem=true is run before the audio module is loaded. Fixes issue #1430. 2018-12-26 11:36:23 -04:00
Alex Szpakowski d4762b4612 Add love.window.getDisplayOrientation and a love.displayrotated callback. Resolves issue #1441.
Note that this tracks screen orientation, rather than device orientation.
2018-12-17 16:19:56 -04:00
Alex Szpakowski 388c93b049 nogame screen: escape key quits love. 2018-04-01 15:05:39 -03:00
Alex Szpakowski 3fe9e51a46 nogame screen: bring back double-tap-to-exit on touch screens. 2018-04-01 13:01:02 -03:00
Bart van Strien 2f17cab3b4 Prevent out-of-bounds access in Text:add when an empty string is added (fixes #1372) 2018-01-30 17:31:44 +01:00
Bart van Strien fd514d8176 Update some more copyright notices
I am so good at using search/replace I definitely didn't need a second commit
for this.
2018-01-03 19:55:02 +01:00
Bart van Strien e80247c191 Happy new year! 2018-01-03 19:47:35 +01:00
Alex Szpakowski 1abc7b20f7 Show an error instead of the nogame screen if a nonexistant folder is passed in as a source game directory. 2017-12-26 20:17:43 -04:00