summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorBoredGuy <osome3717@gmail.com>2026-03-19 09:43:11 +0300
committerBoredGuy <osome3717@gmail.com>2026-03-19 09:43:11 +0300
commit6dbd16cd920b51bc24b60d0561bd707ff8862cc5 (patch)
tree34add659f1ddb15be4a817b66dbf7c9c194c1576 /src/main.c
parent9b63c2572ee6d8b73fd0d2f298dc339335875607 (diff)
Added Walls
- And more player mechanics
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index 8187ccf..75de22f 100644
--- a/src/main.c
+++ b/src/main.c
@@ -3,6 +3,7 @@
#include "settings.h"
#include "physics.h"
#include "game.h"
+#include "wall.h"
#include "player.h"
struct settings settings;
@@ -15,6 +16,8 @@ int main() {
SetTargetFPS(settings.target_fps);
add_player(20.0, 20.0);
+ add_wall(50, 100, 200, 200);
+ add_wall(100, 200, 200, 50);
while (!WindowShouldClose()) {
update_game(GetFrameTime());