2023-01-06 19:12:24 -05:00
|
|
|
-- Load a sprite stored in a .txt file
|
|
|
|
function load_termbox_sprite(file_name)
|
|
|
|
file = io.open(file_name, "r");
|
|
|
|
io.input(file);
|
|
|
|
local contents = io.read("*a");
|
|
|
|
io.close(file);
|
|
|
|
return contents;
|
|
|
|
end
|
2023-05-21 18:47:35 -04:00
|
|
|
|
2023-05-28 23:42:23 -04:00
|
|
|
OCT_NEEDS_NETWORKING = 1;
|
|
|
|
OCT_NOT_NEEDS_NETWORKING = 0;
|
2023-05-26 19:43:18 -04:00
|
|
|
OCT_NEEDS_TERMBOX = 1;
|
|
|
|
OCT_NOT_NEEDS_TERMBOX = 0;
|
|
|
|
|