add basic text rendering

This commit is contained in:
2026-10-05 02:24:13 +02:00
parent 0faf401f67
commit 760d2abc6c
6 changed files with 168 additions and 23 deletions
+6 -1
View File
@@ -18,7 +18,7 @@ client_poll_event()
default:
break;
}
}
}
}
/**
@@ -31,6 +31,11 @@ client_update_framebuffer()
{
// single green demo pixel
game_state->framebuffer[0] = 0x00FF00;
put_rect(0, 0, 1100, 200, 0xFFFF00);
put_string("Hello, traveller. You have come\nto the right place!",
20, 20, 2, 2, 3, 0x000000, 0xFFFF00
);
}
int