From 78ed4873aa88ac0b0f489773617cdea5e55212c3 Mon Sep 17 00:00:00 2001 From: davidovski Date: Tue, 27 Jul 2021 10:28:29 +0100 Subject: Initial commit --- src/main.c | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 src/main.c (limited to 'src') diff --git a/src/main.c b/src/main.c new file mode 100644 index 0000000..73ec76c --- /dev/null +++ b/src/main.c @@ -0,0 +1,22 @@ +#include "raylib.h" + +const int screenWidth = 800; +const int screenHeight = 450; + +int main(void) { + InitWindow(screenWidth, screenHeight, "dungeon generation"); + SetTargetFPS(60); + + while (!WindowShouldClose()) { + + BeginDrawing(); + ClearBackground(GRAY); + + EndDrawing(); + + } + + CloseWindow(); + + return 0; +} -- cgit v1.2.1