(define UNIT_CALARET      8)

(define_menu    MENU_CALARET
        (button 
                (icon           ICON_MOVE)
                (state          NORMAL)
                (type           BUTTON)
                (command        MOVE)
        )
        (button 
                (icon           ICON_ATACK)
                (state          NORMAL)
                (type           BUTTON)
                (command        FIGHT)
        )
        (button 
                (icon           ICON_RETREAT)
                (state          DISABLED)
                (type           BUTTON)
                (command        NONE)
        )
        (button 
                (icon           ICON_PATROL)
                (state          DISABLED)
                (type           BUTTON)
                (command        NONE)
        )
        (button 
                (icon           ICON_GUARD)
                (state          DISABLED)
                (type           BUTTON)
                (command        NONE)
        )
        (button 
                (icon           ICON_ATACK2)
                (state          DISABLED)
                (type           BUTTON)
                (command        NONE)
        )
        (button
                (icon           ICON_ACTION)
                (state          DISABLED)
                (type           BUTTON)
                (command        NONE)
        )
        (button
                (icon           ICON_LADDER)
                (state          DISABLED)
                (type           BUTTON)
                (command        NONE)
        )
        (button 
                (icon           CANCEL)
                (state          NORMAL)
                (type           BUTTON)
                (command        STOP)
        )
)

(define_unit
        (id             UNIT_CALARET)
        (ai_type        AI_HORSE)
        (name           "Calaret dac")
	(portrait	".\\data\\graphics\\dac\\portrait\\calaret_dac.bmp")
	(icon		CALARET-MIC)
        (options        (+ O_STAY O_JOY O_GROUND_ATACK))
        (price1         250)
        (price2         100)
        (price3         10)
        (view           7)
	(min_range	3)
	(max_range	7)
	(radius		24)
        (build_time     2000)
        (speed          60)
        (armor          50)
	(damage		2)
        (grp            ".\\data\\graphics\\dac\\units\\calaret.spr")
        (palette        ".\\data\\graphics\\dac\\units\\calaret.p24")
        (sounds         SOUNDS_CALARET)
        (menu           MENU_CALARET)
        (size           2)
        (directions     5)                     

        (animation ANIMATION_MOVE up        179 (seq 41 50))
        (animation ANIMATION_MOVE up-left   173 (seq 31 40))
        (animation ANIMATION_MOVE left      167 (seq 21 30))
        (animation ANIMATION_MOVE down-left 161 (seq 11 20))
        (animation ANIMATION_MOVE down      155 (seq 1  10))

        (animation ANIMATION_STAY up        (seq 179 184))
        (animation ANIMATION_STAY up-left   (seq 173 178))
        (animation ANIMATION_STAY left      (seq 167 172))
        (animation ANIMATION_STAY down-left (seq 161 166))
        (animation ANIMATION_STAY down      (seq 155 160))

        (animation ANIMATION_JOY up        (seq 51 55))
        (animation ANIMATION_JOY up-left   (seq 51 55))
        (animation ANIMATION_JOY left      (seq 51 55))
        (animation ANIMATION_JOY down-left (seq 51 55))
        (animation ANIMATION_JOY down      (seq 51 55))

        (animation ANIMATION_DIE up        (seq 146 154))
        (animation ANIMATION_DIE up-left   (seq 146 154))
        (animation ANIMATION_DIE left      (seq 146 154))
        (animation ANIMATION_DIE down-left (seq 146 154))
        (animation ANIMATION_DIE down      (seq 146 154))

        (animation ANIMATION_RIGHT_HIT  up              (seq 133 140))
        (animation ANIMATION_RIGHT_HIT  up-left         (seq 115 122))
        (animation ANIMATION_RIGHT_HIT  left            (seq 97 104))
        (animation ANIMATION_RIGHT_HIT  down-left       (seq 79 86))
        (animation ANIMATION_RIGHT_HIT  down            (seq 61 68))

        (animation ANIMATION_TOP_HIT    up              (seq 128 132))
        (animation ANIMATION_TOP_HIT    up-left         (seq 110 114))
        (animation ANIMATION_TOP_HIT    left            (seq 92 96))
        (animation ANIMATION_TOP_HIT    down-left       (seq 74 78))
        (animation ANIMATION_TOP_HIT    down            (seq 56 60))

        (animation ANIMATION_FRONT_HIT  up              (seq 141 145))
        (animation ANIMATION_FRONT_HIT  up-left         (seq 123 127))
        (animation ANIMATION_FRONT_HIT  left            (seq 105 109))
        (animation ANIMATION_FRONT_HIT  down-left       (seq 87 91))
        (animation ANIMATION_FRONT_HIT  down            (seq 69 73))

        (animation ANIMATION_DEFENSE    up              (seq 141 145))
        (animation ANIMATION_DEFENSE    up-left         (seq 123 127))
        (animation ANIMATION_DEFENSE    left            (seq 105 109))
        (animation ANIMATION_DEFENSE    down-left       (seq 87 91))
        (animation ANIMATION_DEFENSE    down            (seq 69 73))
)
