diff options
author | Mitya Selivanov <automainint@guattari.tech> | 2025-01-12 12:13:56 +0100 |
---|---|---|
committer | Mitya Selivanov <automainint@guattari.tech> | 2025-01-12 12:13:56 +0100 |
commit | 29d736aecc5db0deb67053931e5b1cf03a9defc3 (patch) | |
tree | 50caf18887aeda07b24bee5d4143130f8546aff7 /examples/game_of_life.c | |
parent | 464575c72a8a20b5e565f91cebfeb470edc8542e (diff) | |
download | reduced_system_layer-29d736aecc5db0deb67053931e5b1cf03a9defc3.zip |
f32 colors; g_ prefix
Diffstat (limited to 'examples/game_of_life.c')
-rw-r--r--[-rwxr-xr-x] | examples/game_of_life.c | 29 |
1 files changed, 1 insertions, 28 deletions
diff --git a/examples/game_of_life.c b/examples/game_of_life.c index 540251d..fdd3d54 100755..100644 --- a/examples/game_of_life.c +++ b/examples/game_of_life.c @@ -1,30 +1,3 @@ -#if 0 /* -#/ ================================================================ -#/ -#/ game_of_life.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 = "Conway's Game of Life", .frame_width = 960, .frame_height = 720, |