archeus/include/arc/graphics/sdl/sprite.h

19 lines
355 B
C
Raw Normal View History

#ifndef ARC_SDL_SPRITE_H_
#define ARC_SDL_SPRITE_H_
2024-02-08 16:53:31 -07:00
#ifdef ARC_SDL2_GRAPHICS
#include "arc/graphics/sprite.h"
2023-03-11 01:21:36 -07:00
#include <SDL.h>
struct ARC_Sprite {
ARC_Spritesheet *spritesheet;
ARC_Array *frames;
uint32_t *frameIndex;
2023-09-20 02:24:15 -06:00
//TODO: temp
uint8_t opacity;
};
2024-02-08 16:53:31 -07:00
#endif // !ARC_SDL2_GRAPHICS
2023-03-10 17:34:22 -07:00
#endif // !ARC_SDL_SPRITE_H_