1 #ifndef _AF_MOVE_H 2 #define _AF_MOVE_H 3 4 #include "resources/animation.h" 5 #include "utils/str.h" 6 7 typedef struct af_move_t { 8 int id; 9 animation ani; 10 uint8_t pos_constraints; 11 uint8_t next_move; 12 uint8_t successor_id; 13 uint8_t category; 14 uint16_t points; 15 uint8_t scrap_amount; 16 float damage; 17 str move_string; 18 str footer_string; 19 #ifdef DEBUGMODE 20 char unknown[21]; 21 #endif 22 } af_move; 23 24 void af_move_create(af_move *move, void *src, int id); 25 void af_move_free(af_move *move); 26 27 #endif // _AF_MOVE_H 28