This commit is contained in:
Hunter 2023-05-27 10:08:01 -04:00
commit 2f372ede93
212 changed files with 50289 additions and 0 deletions

15
include/texture.hpp Normal file
View file

@ -0,0 +1,15 @@
#pragma once
#include "config.hpp"
#include <SDL.h>
#include <string>
#include <vector>
struct PhoenixTexture {
SDL_Texture *texture;
};
PhoenixTexture PLoadTexture(std::string filePath);
void PRenderTexture(PhoenixTexture *texture, int x, int y);
void PDestroyTexture(PhoenixTexture *texture);