finally compiling and running, text still needs rework
This commit is contained in:
@ -1,16 +1,16 @@
|
||||
#ifndef TWN_TEXTURES_H
|
||||
#define TWN_TEXTURES_H
|
||||
#ifndef TWN_TEXTURES_C_H
|
||||
#define TWN_TEXTURES_C_H
|
||||
|
||||
#include "twn_util.h"
|
||||
#include "twn_texture_modes.h"
|
||||
#include "twn_engine_api.h"
|
||||
#include "twn_gpu_texture.h"
|
||||
#include "rendering/twn_gpu_texture_c.h"
|
||||
|
||||
#include <SDL2/SDL.h>
|
||||
#include <stb_rect_pack.h>
|
||||
|
||||
#include <stdbool.h>
|
||||
|
||||
|
||||
struct texture {
|
||||
t_frect srcrect; /* position in atlas */
|
||||
SDL_Surface *data; /* original image data */
|
||||
|
Reference in New Issue
Block a user