Got the suite rebuilding, most tests pass, actor and sprite are failing
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
#define _SPRITE_H_
|
||||
|
||||
#include <SDL3/SDL_properties.h>
|
||||
#include <SDL3/SDL.h>
|
||||
#include <akerror.h>
|
||||
|
||||
|
||||
@@ -35,9 +36,9 @@ typedef struct {
|
||||
} sprite;
|
||||
|
||||
// initializes a new sprite to use the given sheet and otherwise sets to zero
|
||||
ErrorContext ERROR_NOIGNORE *sprite_initialize(sprite *spr, char *name, spritesheet *sheet);
|
||||
akerr_ErrorContext AKERR_NOIGNORE *sprite_initialize(sprite *spr, char *name, spritesheet *sheet);
|
||||
// loads a given image file into a new spritesheet
|
||||
ErrorContext ERROR_NOIGNORE *spritesheet_initialize(spritesheet *sheet, int sprite_w, int sprite_h, char *filename);
|
||||
ErrorContext ERROR_NOIGNORE *sprite_load_json(char *filename);
|
||||
akerr_ErrorContext AKERR_NOIGNORE *spritesheet_initialize(spritesheet *sheet, int sprite_w, int sprite_h, char *filename);
|
||||
akerr_ErrorContext AKERR_NOIGNORE *sprite_load_json(char *filename);
|
||||
|
||||
#endif //_SPRITE_H_
|
||||
|
||||
Reference in New Issue
Block a user