init
This commit is contained in:
commit
2f372ede93
212 changed files with 50289 additions and 0 deletions
15
include/texture.hpp
Normal file
15
include/texture.hpp
Normal 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);
|
Loading…
Add table
Add a link
Reference in a new issue