working on getting ARC_Spritesheet and ARC_Sprite for SDL moved over from old ARC_SDL

This commit is contained in:
herbglitch 2022-11-03 21:29:08 -06:00
parent 845b80329e
commit 81b3ed9144
6 changed files with 341 additions and 0 deletions

View file

@ -0,0 +1,16 @@
#ifndef ARC_SDL_SPRITESHEET_H_
#define ARC_SDL_SPRITESHEET_H_
#ifdef ARC_SDL
#include <SDL.h>
#include "arc/graphics/spritesheet.h"
struct ARC_Spritesheet {
SDL_Texture *texture;
uint32_t *size;
};
#endif // ARC_SDL
#endif // ARC_SDL_SPRITESHEET_H_