|
@ -3,6 +3,8 @@ |
|
|
|
|
|
|
|
|
#include <stdint.h> |
|
|
#include <stdint.h> |
|
|
|
|
|
|
|
|
|
|
|
#include "mob.h" |
|
|
|
|
|
|
|
|
typedef enum { |
|
|
typedef enum { |
|
|
ANIM_STAND, |
|
|
ANIM_STAND, |
|
|
ANIM_WALK, |
|
|
ANIM_WALK, |
|
@ -44,7 +46,7 @@ void actor_reset(void); |
|
|
* @param id The ID of the mob to create |
|
|
* @param id The ID of the mob to create |
|
|
* @return A pointer to the new actor or NULL if one could not be created |
|
|
* @return A pointer to the new actor or NULL if one could not be created |
|
|
*/ |
|
|
*/ |
|
|
actor_t *actor_create_mob(uint8_t id); |
|
|
|
|
|
|
|
|
actor_t *actor_create_mob(mob_id_t id); |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
* @brief Remove an actor from the screen. |
|
|
* @brief Remove an actor from the screen. |
|
|