creat color.h i color.cpp i llevat de utils.h i utils.cpp
This commit is contained in:
@@ -2,7 +2,6 @@
|
||||
#include "texture.h"
|
||||
|
||||
#include <SDL3/SDL.h> // Para SDL_LogError, SDL_LogCategory, Uint8, SDL_...
|
||||
|
||||
#include <cstdint> // Para uint32_t
|
||||
#include <cstring> // Para memcpy
|
||||
#include <fstream> // Para basic_ifstream, basic_istream, basic_ios
|
||||
@@ -12,9 +11,10 @@
|
||||
#include <utility>
|
||||
#include <vector> // Para vector
|
||||
|
||||
#include "color.h" // Para getFileName, Color, printWithDots
|
||||
#include "external/gif.h" // Para Gif
|
||||
#include "stb_image.h" // Para stbi_image_free, stbi_load, STBI_rgb_alpha
|
||||
#include "utils.h" // Para getFileName, Color, printWithDots
|
||||
#include "utils.h"
|
||||
|
||||
// Constructor
|
||||
Texture::Texture(SDL_Renderer *renderer, std::string path)
|
||||
|
||||
Reference in New Issue
Block a user