character: rename CharacterCallback macro to CHARACTER_CALLBACK

This commit is contained in:
Sebastian Krzyszkowiak 2019-08-28 04:17:57 +02:00
parent b5b938ef28
commit 02650dfb4f
No known key found for this signature in database
GPG key ID: E8F235CF3BDBC3FF

View file

@ -75,7 +75,7 @@ struct Spritesheet {
struct Character;
typedef void CharacterCallback(struct Game*, struct Character*, struct Spritesheet* newAnim, struct Spritesheet* oldAnim, void*);
#define CharacterCallback(x) void x(struct Game* game, struct Character* character, struct Spritesheet* new, struct Spritesheet* old, void* data)
#define CHARACTER_CALLBACK(x) void x(struct Game* game, struct Character* character, struct Spritesheet* new, struct Spritesheet* old, void* data)
typedef void CharacterDestructor(struct Game*, struct Character*);
/*! \brief Structure representing one visible character. */