summaryrefslogtreecommitdiff
path: root/meta/3rd/love2d
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-02-22 17:35:37 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-02-22 17:35:37 +0800
commitb37ebceffe695defd7e7976e653ce127618614c0 (patch)
tree29c55e44d76263fe032658dfc06af969a3126ce0 /meta/3rd/love2d
parentc05582295d16a9077c70f2f62c6948f6a58c89e2 (diff)
downloadlua-language-server-b37ebceffe695defd7e7976e653ce127618614c0.zip
update love-api
Diffstat (limited to 'meta/3rd/love2d')
-rw-r--r--meta/3rd/love2d/library/love.graphics.lua12
-rw-r--r--meta/3rd/love2d/library/love.lua1
2 files changed, 10 insertions, 3 deletions
diff --git a/meta/3rd/love2d/library/love.graphics.lua b/meta/3rd/love2d/library/love.graphics.lua
index d2f8c7d8..056cfef1 100644
--- a/meta/3rd/love2d/library/love.graphics.lua
+++ b/meta/3rd/love2d/library/love.graphics.lua
@@ -92,7 +92,9 @@ function love.graphics.discard(discardcolor, discardstencil) end
---
---The right and bottom edges of the object are shifted at an angle defined by the shearing factors.
---
----When using the default shader anything drawn with this function will be tinted according to the currently selected color. Set it to pure white to preserve the object's original colors.
+---When using the default shader anything drawn with this function will be tinted according to the currently selected color.
+---
+---Set it to pure white to preserve the object's original colors.
---
---@overload fun(texture: love.Texture, quad: love.Quad, x: number, y: number, r: number, sx: number, sy: number, ox: number, oy: number, kx: number, ky: number)
---@overload fun(drawable: love.Drawable, transform: love.Transform)
@@ -418,7 +420,9 @@ function love.graphics.getTextureTypes() end
function love.graphics.getWidth() end
---
----Sets the scissor to the rectangle created by the intersection of the specified rectangle with the existing scissor. If no scissor is active yet, it behaves like love.graphics.setScissor.
+---Sets the scissor to the rectangle created by the intersection of the specified rectangle with the existing scissor.
+---
+---If no scissor is active yet, it behaves like love.graphics.setScissor.
---
---The scissor limits the drawing area to a specified rectangle. This affects all graphics calls, including love.graphics.clear.
---
@@ -718,7 +722,9 @@ function love.graphics.present() end
---
---Draws text on screen. If no Font is set, one will be created and set (once) if needed.
---
----As of LOVE 0.7.1, when using translation and scaling functions while drawing text, this function assumes the scale occurs first. If you don't script with this in mind, the text won't be in the right position, or possibly even on screen.
+---As of LOVE 0.7.1, when using translation and scaling functions while drawing text, this function assumes the scale occurs first.
+---
+---If you don't script with this in mind, the text won't be in the right position, or possibly even on screen.
---
---love.graphics.print and love.graphics.printf both support UTF-8 encoding. You'll also need a proper Font for special characters.
---
diff --git a/meta/3rd/love2d/library/love.lua b/meta/3rd/love2d/library/love.lua
index c1c55c69..8c2e3f18 100644
--- a/meta/3rd/love2d/library/love.lua
+++ b/meta/3rd/love2d/library/love.lua
@@ -1,6 +1,7 @@
---@meta
-- version: 11.4
+
---@class love
love = {}