From 68401ca778ca0a1ee4fbb68b7be8dd47b63a2738 Mon Sep 17 00:00:00 2001 From: Charadon Date: Wed, 8 Jun 2022 22:14:20 -0400 Subject: Cleaning up clangd's bullshit --- src/ball.c | 1 - src/enemy.c | 1 - src/main.c | 1 - src/pong.h | 10 ++++------ src/versus.c | 1 - 5 files changed, 4 insertions(+), 10 deletions(-) (limited to 'src') diff --git a/src/ball.c b/src/ball.c index f49f775..d7a6b1b 100644 --- a/src/ball.c +++ b/src/ball.c @@ -1,5 +1,4 @@ #include "pong.h" -#include void ball(Rectangle *Player, Rectangle *Enemy, struct Balls *Ball, int *PlayerScore, int *EnemyScore) { diff --git a/src/enemy.c b/src/enemy.c index dce2570..0f73a55 100644 --- a/src/enemy.c +++ b/src/enemy.c @@ -1,5 +1,4 @@ #include "pong.h" -#include void enemy(struct Players *Enemy, struct Balls ball) { if (Enemy->NextTick <= SDL_AtomicGet(&Ticks)) { diff --git a/src/main.c b/src/main.c index efd6dd5..51942dd 100644 --- a/src/main.c +++ b/src/main.c @@ -1,5 +1,4 @@ #include "pong.h" -#include int Difficulty = 1; SDL_atomic_t Ticks; diff --git a/src/pong.h b/src/pong.h index f286406..25ac56b 100644 --- a/src/pong.h +++ b/src/pong.h @@ -1,24 +1,22 @@ #ifndef PONG_H #define PONG_H -#include #define MOUSE_LEFT_BUTTON MOUSE_BUTTON_LEFT -#include "raylib.h" +#include #include -#include #include #include #include #include -#include "sounds.h" -#include +#include #include #include #include #include -#include #include #include +#include "sounds.h" + #define LEFT 0 #define RIGHT 1 diff --git a/src/versus.c b/src/versus.c index ad0d27e..33fa944 100644 --- a/src/versus.c +++ b/src/versus.c @@ -1,5 +1,4 @@ #include "pong.h" -#include static void game_thread() { -- cgit 1.4.1-2-gfad0 .openstruct.html'>