Pasaeta de "include-what-you-use" per arreglar els includes

Renombrats alguns fitxers per consistencia
This commit is contained in:
2024-09-29 06:24:11 +02:00
parent ac3340c39f
commit 28df97ea94
82 changed files with 616 additions and 350 deletions

View File

@@ -1,13 +1,21 @@
#include "screen.h"
#include "options.h"
#include <string>
#include <iostream>
#include <fstream>
#include <streambuf>
#include <SDL2/SDL_events.h> // for SDL_DISABLE, SDL_ENABLE
#include <SDL2/SDL_mouse.h> // for SDL_ShowCursor
#include <SDL2/SDL_pixels.h> // for SDL_PIXELFORMAT_RGBA8888
#include <SDL2/SDL_timer.h> // for SDL_GetTicks
#include <algorithm> // for max, min
#include <fstream> // for basic_ifstream, ifstream
#include <iterator> // for istreambuf_iterator, operator!=
#include <string> // for basic_string, operator+, to_string, cha...
#include "asset.h" // for Asset
#include "dbgtxt.h" // for dbg_print
#include "input.h" // for Input, inputs_e, INPUT_DO_NOT_ALLOW_REPEAT
#include "notify.h" // for Notify
#include "options.h" // for options
#ifndef NO_SHADERS
#include "jshader.h"
#include "jail_shader.h" // for init, render
#endif
#include "dbgtxt.h"
// [SINGLETON] Hay que definir las variables estáticas, desde el .h sólo la hemos declarado
Screen *Screen::screen = nullptr;