poor mans syntax highlighting
This commit is contained in:
parent
f6484ff378
commit
70b9a82a97
|
@ -0,0 +1 @@
|
||||||
|
*.zrl linguist-language=fortran
|
|
@ -1,11 +1,11 @@
|
||||||
use "common.ztl";
|
use "common.ztl";
|
||||||
|
|
||||||
fn main(argc i32, argv str[]) {
|
function main(argc int, argv str[]) {
|
||||||
u32 screen_width = 800;
|
nat screen_width = 800;
|
||||||
u32 screen_height = 450;
|
nat screen_height = 450;
|
||||||
|
|
||||||
str username = argv[1];
|
str username = argv[1];
|
||||||
ste password = argv[2];
|
str password = argv[2];
|
||||||
|
|
||||||
Player me(username, [0.0, 1.0, 2.0], PURPLE);
|
Player me(username, [0.0, 1.0, 2.0], PURPLE);
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
use "common.ztl";
|
use "common.ztl";
|
||||||
|
|
||||||
fn main(i32 argc, str[] argv) {
|
function main(int argc, str[] argv) {
|
||||||
Server s("tcp://0.0.0.0:25565");
|
Server s("tcp://0.0.0.0:25565");
|
||||||
bool running = true;
|
bool running = true;
|
||||||
Player[] players = [Player("user", [0., 0., 0.], RED)];
|
Player[] players = [Player("user", [0., 0., 0.], RED)];
|
||||||
|
|
Loading…
Reference in New Issue