Pasaeta de include-what-you-use
Acabada de perfilar la classe PathSprite Menjeades declaracions de utils.h als fitxers que toca
This commit is contained in:
@@ -1,15 +1,16 @@
|
||||
|
||||
#include "texture.h"
|
||||
#include "utils.h"
|
||||
#include <SDL2/SDL_error.h> // para SDL_GetError
|
||||
#include <SDL2/SDL_surface.h> // para SDL_CreateRGBSurfaceWithFormatFrom
|
||||
#include <fcntl.h> // para SEEK_END, SEEK_SET
|
||||
#include <stdio.h> // para fseek, fclose, fopen, fread, ftell, NULL
|
||||
#include <stdlib.h> // para malloc, free, exit
|
||||
#include <iostream> // para basic_ostream, operator<<, cout, endl
|
||||
#include <fstream>
|
||||
#include <sstream>
|
||||
#include "gif.c" // para LoadGif, LoadPalette
|
||||
#include <SDL2/SDL_error.h> // Para SDL_GetError
|
||||
#include <SDL2/SDL_surface.h> // Para SDL_CreateRGBSurfaceWithFormatFrom
|
||||
#include <fcntl.h> // Para SEEK_END, SEEK_SET
|
||||
#include <stdio.h> // Para fseek, fclose, fopen, fread, ftell, FILE
|
||||
#include <stdlib.h> // Para free, malloc
|
||||
#include <fstream> // Para basic_ostream, operator<<, basic_ifstream
|
||||
#include <iostream> // Para cerr, cout
|
||||
#include <stdexcept> // Para runtime_error
|
||||
#include "gif.c" // Para LoadGif, LoadPalette
|
||||
#include "utils.h" // Para getFileName, printWithDots
|
||||
|
||||
#define STB_IMAGE_IMPLEMENTATION
|
||||
#include "stb_image.h" // para stbi_failure_reason, stbi_image_free
|
||||
|
||||
|
||||
Reference in New Issue
Block a user