colors, rotations, and more

This commit is contained in:
2024-10-11 00:58:24 -04:00
parent e29f27266a
commit 823a8f79d3
9 changed files with 367 additions and 149 deletions

View File

@@ -1,3 +1,10 @@
swap_buffer :: (screen: *Screen) {
assert(false, "No implemented");
using screen;
write_string(cast(string)buffer);
}
clear_screen :: (screen: *Screen) {
for 0..screen.height * screen.width {
print_color(" ", color = .BLACK);
}
}