Remove useless includes.
This commit is contained in:
parent
9d06fa7877
commit
46f13015d5
|
|
@ -4,6 +4,7 @@
|
|||
#include <stdlib.h>
|
||||
#include "asset_manager.h"
|
||||
#include "game.h"
|
||||
#include "texture.h"
|
||||
#include "errors.h"
|
||||
|
||||
SDL_Window *window = NULL;
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -3,7 +3,6 @@
|
|||
|
||||
#include <SDL3/SDL_rect.h>
|
||||
#include <math.h>
|
||||
#include <stdbool.h>
|
||||
|
||||
/**
|
||||
* @brief Point struct. (int)
|
||||
|
|
|
|||
Loading…
Reference in New Issue