oh wait
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
local raster = {util = {}}
|
local raster = {}
|
||||||
|
|
||||||
local ocelot = component.proxy(component.list("ocelot")())
|
local ocelot = component.proxy(component.list("ocelot")())
|
||||||
local gpu = component.proxy(component.list("gpu")())
|
local gpu = component.proxy(component.list("gpu")())
|
||||||
@@ -12,13 +12,11 @@ function raster.drawPixel(x, y, bg, fg)
|
|||||||
-- bitwise or
|
-- bitwise or
|
||||||
-- print the thing
|
-- print the thing
|
||||||
-- i do NOT need to convert the thing.
|
-- i do NOT need to convert the thing.
|
||||||
ocelot.log(char)
|
|
||||||
char = utf8.codepoint(char)
|
char = utf8.codepoint(char)
|
||||||
if char < 0x2800 or char > 0x28ff then -- check if char is not a braille character
|
if char < 0x2800 or char > 0x28ff then -- check if char is not a braille character
|
||||||
char = 0 -- yes
|
char = 0 -- yes
|
||||||
end
|
end
|
||||||
-- now i just need to print the character + the new character but i forgot how to do it plus its late gn
|
-- now i just need to print the character + the new character but i forgot how to do it plus its late gn
|
||||||
ocelot.log(char)
|
|
||||||
end
|
end
|
||||||
|
|
||||||
return raster
|
return raster
|
||||||
Reference in New Issue
Block a user