From e49e3073c67af785447ddb0ecbdc521b68cf3ea9 Mon Sep 17 00:00:00 2001 From: Xavier Del Campo Romero Date: Sat, 27 Jan 2024 17:53:11 +0100 Subject: Add unit sprites --- src/unit/inc/unit.h | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'src/unit/inc') diff --git a/src/unit/inc/unit.h b/src/unit/inc/unit.h index d86704d..8d3e1bf 100644 --- a/src/unit/inc/unit.h +++ b/src/unit/inc/unit.h @@ -76,16 +76,17 @@ const char *unit_str(const struct unit *u); enum { - UNIT_SPRITE_N, - UNIT_SPRITE_NE, - UNIT_SPRITE_E, - UNIT_SPRITE_SE, - UNIT_SPRITE_S, - - MAX_UNIT_SPRIES + UNIT_1_SPRITE, + UNIT_2_SPRITE, + UNIT_3_SPRITE, + UNIT_4_SPRITE, + UNIT_5_SPRITE, + UNIT_6_SPRITE, + + MAX_UNIT_SPRITES }; -extern struct sprite unit_sprites[MAX_UNIT_SPRIES]; +extern struct sprite unit_sprites[MAX_UNIT_SPRITES]; enum unit_sound { -- cgit v1.2.3