2020-04-10 09:27:53 +00:00
|
|
|
function write(text) end
|
|
|
|
function scroll(lines) end
|
|
|
|
function setCursorPos(x, y) end
|
|
|
|
function setCursorBlink(blink) end
|
|
|
|
function getCursorPos() end
|
|
|
|
function getSize() end
|
|
|
|
function clear() end
|
|
|
|
function clearLine() end
|
|
|
|
function setTextColour(colour) end
|
|
|
|
setTextColor = setTextColour
|
|
|
|
function setBackgroundColour(colour) end
|
|
|
|
setBackgroundColor = setBackgroundColour
|
|
|
|
function isColour() end
|
|
|
|
isColor = isColour
|
|
|
|
function getTextColour() end
|
|
|
|
getTextColor = getTextColor
|
|
|
|
function getBackgroundColour() end
|
2020-04-28 08:42:34 +00:00
|
|
|
getBackgroundColor = getBackgroundColour
|
2020-04-10 09:27:53 +00:00
|
|
|
function blit(text, text_colours, background_colours) end
|
|
|
|
function setPaletteColour(colour, ...) end
|
2020-04-28 08:42:34 +00:00
|
|
|
setPaletteColor = setPaletteColour
|
2020-04-10 09:27:53 +00:00
|
|
|
function getPaletteColour(colour, ...) end
|
2020-04-28 08:42:34 +00:00
|
|
|
getPaletteColor = getPaletteColour
|
2020-04-10 09:27:53 +00:00
|
|
|
function nativePaletteColour(colour) end
|
2020-04-28 08:42:34 +00:00
|
|
|
nativePaletteColor = nativePaletteColour
|
2020-04-10 09:27:53 +00:00
|
|
|
|
|
|
|
--- @type Redirect
|
|
|
|
local Redirect = {}
|
|
|
|
|
|
|
|
Redirect.write = write
|
|
|
|
Redirect.scroll = scroll
|
|
|
|
Redirect.setCursorPos = setCursorPos
|
|
|
|
Redirect.setCursorBlink = setCursorBlink
|
|
|
|
Redirect.getCursorPos = getCursorPos
|
|
|
|
Redirect.getSize = getSize
|
|
|
|
Redirect.clear = clear
|
|
|
|
Redirect.clearLine = clearLine
|
|
|
|
Redirect.setTextColour = setTextColour
|
|
|
|
Redirect.setTextColor = setTextColor
|
|
|
|
Redirect.setBackgroundColour = setBackgroundColour
|
|
|
|
Redirect.setBackgroundColor = setBackgroundColor
|
|
|
|
Redirect.isColour = isColour
|
|
|
|
Redirect.isColor = isColor
|
|
|
|
Redirect.getTextColour = getTextColour
|
|
|
|
Redirect.getTextColor = getTextColor
|
|
|
|
Redirect.getBackgroundColour = getBackgroundColour
|
|
|
|
Redirect.getBackgroundColor = getBackgroundColor
|
|
|
|
Redirect.blit = blit
|
|
|
|
Redirect.setPaletteColour = setPaletteColour
|
|
|
|
Redirect.setPaletteColor = setPaletteColor
|
|
|
|
Redirect.getPaletteColour = getPaletteColour
|
|
|
|
Redirect.getPaletteColor = getPaletteColor
|