working on getting ARC_Spritesheet and ARC_Sprite for SDL moved over from old ARC_SDL
This commit is contained in:
parent
845b80329e
commit
81b3ed9144
6 changed files with 341 additions and 0 deletions
16
include/arc/graphics/sdl/sprite.h
Normal file
16
include/arc/graphics/sdl/sprite.h
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
#ifndef ARC_SDL_SPRITE_H_
|
||||
#define ARC_SDL_SPRITE_H_
|
||||
|
||||
#ifdef ARC_SDL
|
||||
|
||||
#include <SDL.h>
|
||||
#include "arc/graphics/spritesheet.h"
|
||||
|
||||
struct ARC_Sprite {
|
||||
ARC_Spritesheet *spritesheet;
|
||||
SDL_Rect *bounds;
|
||||
};
|
||||
|
||||
#endif // ARC_SDL
|
||||
|
||||
#endif // ARC_SDL_SPRITE_H_
|
||||
Loading…
Add table
Add a link
Reference in a new issue