From 29d736aecc5db0deb67053931e5b1cf03a9defc3 Mon Sep 17 00:00:00 2001 From: Mitya Selivanov Date: Sun, 12 Jan 2025 12:13:56 +0100 Subject: f32 colors; g_ prefix --- examples/labyrinth.c | 29 +---------------------------- 1 file changed, 1 insertion(+), 28 deletions(-) mode change 100755 => 100644 examples/labyrinth.c (limited to 'examples/labyrinth.c') diff --git a/examples/labyrinth.c b/examples/labyrinth.c old mode 100755 new mode 100644 index 28ca0da..54bed19 --- a/examples/labyrinth.c +++ b/examples/labyrinth.c @@ -1,30 +1,3 @@ -#if 0 /* -#/ ================================================================ -#/ -#/ labyrinth.c -#/ -#/ ================================================================ -#/ -#/ Self-compilation shell script -#/ -SRC=${0##*./} -BIN=${SRC%.*} -gcc \ - -Wall -Wextra -Werror -pedantic \ - -Wno-old-style-declaration \ - -Wno-missing-braces \ - -Wno-unused-variable \ - -Wno-unused-but-set-variable \ - -Wno-unused-parameter \ - -Wno-overlength-strings \ - -O3 \ - -fsanitize=undefined,address,leak \ - -lX11 -lm -lasound \ - -o $BIN $SRC && \ - ./$BIN $@ && rm $BIN -exit $? # */ -#endif - #include "../reduced_system_layer.c" void update_and_render_frame(void) { @@ -37,7 +10,7 @@ i32 main(i32 argc, c8 **argv) { (void) argc; (void) argv; - platform = (Platform) { + g_platform = (Platform) { .title = "Labyrinth", .frame_width = 960, .frame_height = 720, -- cgit v1.2.3