VERSIÓ 1.4.6
-[NEW] font.load() -[NEW] font.current() -[NEW] font.spacing() -[NEW] font.DEFAULT -[NEW] surf.SCREEN
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
mini = {}
|
||||
|
||||
---@class surf
|
||||
---@field surf.SCREEN number
|
||||
surf = {}
|
||||
|
||||
---@param w number
|
||||
@@ -72,6 +73,9 @@ function surf.pixel(x, y) end
|
||||
---Set the color for pixel (x,y) on the target surface.
|
||||
function surf.pixel(x, y, color) end
|
||||
|
||||
surf.SCREEN = 0
|
||||
|
||||
|
||||
---@class map
|
||||
map = {}
|
||||
|
||||
@@ -543,6 +547,34 @@ function config.key(key) end
|
||||
function config.folder() end
|
||||
|
||||
|
||||
---@class font
|
||||
---@field font.DEFAULT number
|
||||
font = {}
|
||||
|
||||
---@param filename string
|
||||
---@return number fnt
|
||||
---Loads a font from a file
|
||||
function font.load(filename) end
|
||||
|
||||
---@return number fnt
|
||||
---Gets the currently selected font
|
||||
function font.current() end
|
||||
|
||||
---@param fnt number
|
||||
---Sets the specified font as selected
|
||||
function font.current(fnt) end
|
||||
|
||||
---@return number value
|
||||
---Gets the currently selected font's spacing
|
||||
function font.spacing() end
|
||||
|
||||
---@param value number
|
||||
---Sets the currently selected font's spacing
|
||||
function font.spacing(value) end
|
||||
|
||||
font.DEFAULT = 0
|
||||
|
||||
|
||||
---@class mouse
|
||||
---@field mouse.LEFT number
|
||||
---@field mouse.MIDDLE number
|
||||
|
||||
Reference in New Issue
Block a user