Loading...
Searching...
No Matches
spritesheet.c
Go to the documentation of this file.
#ifdef ARC_NONE_GRAPHICS
#include "arc/graphics/spritesheet.h"
#include "arc/math/point.h"
#include <stdio.h>
void ARC_Spritesheet_RenderArea(ARC_Spritesheet *spritesheet, ARC_Rect *sheetBounds, ARC_Renderer *renderer, ARC_Rect *renderBounds){
printf("No Graphics Backend Selected\n");
}
ARC_Point ARC_Spritesheet_GetSize(ARC_Spritesheet *spritesheet){
printf("No Graphics Backend Selected\n");
return (ARC_Point){ 0, 0 };
}
uint32_t *ARC_Spritesheet_GetTileSize(ARC_Spritesheet *spritesheet){
printf("No Graphics Backend Selected\n");
return NULL;
}
#endif // !ARC_NONE_GRAPHICS
ARC_Renderer
struct ARC_RendererType ARC_Renderer
Definition renderer.h:16
spritesheet.h
ARC_Spritesheet_GetTileSize
uint32_t * ARC_Spritesheet_GetTileSize(ARC_Spritesheet *spritesheet)
Definition spritesheet.c:46
ARC_Spritesheet_GetSize
ARC_Point ARC_Spritesheet_GetSize(ARC_Spritesheet *spritesheet)
Definition spritesheet.c:40
ARC_Spritesheet_RenderArea
void ARC_Spritesheet_RenderArea(ARC_Spritesheet *spritesheet, ARC_Rect *sheetBounds, ARC_Renderer *renderer, ARC_Rect *renderBounds)
Definition spritesheet.c:36
point.h
ARC_Point
Definition point.h:10
ARC_Rect
Definition rectangle.h:12
ARC_Spritesheet
Definition spritesheet.h:7