Most texure work
This commit is contained in:
@@ -38,7 +38,6 @@ extern bool itemViewing;
|
||||
extern bool renderAtlas;
|
||||
|
||||
typedef struct Animation {
|
||||
SDL_Texture *textures[TILE_SIZE];
|
||||
SDL_Rect atlasRects[TILE_SIZE];
|
||||
unsigned char frameCount;
|
||||
unsigned char divisor;
|
||||
@@ -46,10 +45,10 @@ typedef struct Animation {
|
||||
|
||||
|
||||
typedef struct OrientedAnimation {
|
||||
SDL_Texture *textures[ORIENT_DIRECTION_COUNT][TILE_SIZE * 2];
|
||||
SDL_Rect atlasRects[ORIENT_DIRECTION_COUNT][TILE_SIZE * 2];
|
||||
unsigned char frameCount;
|
||||
unsigned char divisor;
|
||||
char startFrame;
|
||||
} OrientedAnimation;
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user