still working on adding frames to config
This commit is contained in:
parent
3fa74e8f9e
commit
0591b6ca6e
10 changed files with 199 additions and 53 deletions
|
|
@ -4,11 +4,13 @@
|
|||
#ifdef ARC_SDL
|
||||
|
||||
#include <SDL.h>
|
||||
#include "arc/graphics/spritesheet.h"
|
||||
#include "arc/graphics/sprite.h"
|
||||
|
||||
struct ARC_Sprite {
|
||||
ARC_Spritesheet *spritesheet;
|
||||
SDL_Rect *bounds;
|
||||
ARC_Rect *frames;
|
||||
uint32_t *frameSize;
|
||||
uint32_t *frameIndex;
|
||||
};
|
||||
|
||||
#endif // ARC_SDL
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue