mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2024-11-14 22:04:53 +00:00
53 lines
1.7 KiB
Lua
53 lines
1.7 KiB
Lua
|
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
|
||
|
getBackgroundColour = getBackgroundColour
|
||
|
function blit(text, text_colours, background_colours) end
|
||
|
function setPaletteColour(colour, ...) end
|
||
|
setPaletteColour = setPaletteColour
|
||
|
function getPaletteColour(colour, ...) end
|
||
|
getPaletteColour = getPaletteColour
|
||
|
function nativePaletteColour(colour) end
|
||
|
nativePaletteColour = nativePaletteColour
|
||
|
|
||
|
--- @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
|