Remove useless includes.

This commit is contained in:
Ulysse Cura 2026-08-14 16:41:15 +02:00
parent 9d06fa7877
commit 46f13015d5
6 changed files with 3 additions and 6 deletions

View File

@ -4,6 +4,7 @@
#include <stdlib.h>
#include "asset_manager.h"
#include "game.h"
#include "texture.h"
#include "errors.h"
SDL_Window *window = NULL;

View File

@ -2,7 +2,6 @@
#define EVENT_BUS_H
#include <stdarg.h>
#include "ecs.h"
#include "linked_list.h"
typedef int (*callback_t)(va_list event_args, void *subscribtion_args);

View File

@ -21,7 +21,7 @@ typedef struct game_t {
asset_manager_t asset_manager;
entity_manager_t entity_manager;
event_bus_t event_bus;
inputs_t events;
inputs_t inputs;
float delta_time_ms;
bool is_running;

View File

@ -2,7 +2,6 @@
#define KEYBOARD_H
#include <SDL3/SDL_events.h>
#include "vector2d.h"
#include "keycodes.h"
#define INPUT_EVENT_KEY_UP SDL_EVENT_KEY_UP

View File

@ -3,8 +3,7 @@
#include <stdbool.h>
#include <stdarg.h>
#include <stddef.h>
#include <stdint.h>
#include <stdlib.h>
/**
* @brief Element struct for linked lists.

View File

@ -3,7 +3,6 @@
#include <SDL3/SDL_rect.h>
#include <math.h>
#include <stdbool.h>
/**
* @brief Point struct. (int)