poor mans syntax highlighting

This commit is contained in:
zongor 2025-08-03 20:38:08 -04:00
parent f6484ff378
commit 70b9a82a97
3 changed files with 6 additions and 5 deletions

1
.gitattributes vendored Normal file
View File

@ -0,0 +1 @@
*.zrl linguist-language=fortran

View File

@ -1,11 +1,11 @@
use "common.ztl";
fn main(argc i32, argv str[]) {
u32 screen_width = 800;
u32 screen_height = 450;
function main(argc int, argv str[]) {
nat screen_width = 800;
nat screen_height = 450;
str username = argv[1];
ste password = argv[2];
str password = argv[2];
Player me(username, [0.0, 1.0, 2.0], PURPLE);

View File

@ -1,6 +1,6 @@
use "common.ztl";
fn main(i32 argc, str[] argv) {
function main(int argc, str[] argv) {
Server s("tcp://0.0.0.0:25565");
bool running = true;
Player[] players = [Player("user", [0., 0., 0.], RED)];