mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-05 07:38:19 +00:00
hands.
This commit is contained in:
parent
77b0c51bbf
commit
f8884ded02
|
@ -568,6 +568,8 @@ sprites {
|
|||
tee_body_outline 4 0 4 4
|
||||
tee_foot 8 3 2 1
|
||||
tee_foot_outline 13 2 2 1
|
||||
tee_hand 8 0 2 2
|
||||
tee_hand_outline 10 0 2 2
|
||||
|
||||
tee_eye_normal 10 2 1 1
|
||||
tee_eye_pain 11 3 1 1
|
||||
|
|
|
@ -847,6 +847,11 @@ static void render_tee(animstate *anim, int skin, int emote, vec2 dir, vec2 pos)
|
|||
gfx_quads_draw(position.x-4+direction.x*4, position.y-8+direction.y*3, basesize, h);
|
||||
gfx_quads_draw(position.x+4+direction.x*4, position.y-8+direction.y*3, -basesize, h);
|
||||
}
|
||||
|
||||
// draw hands
|
||||
select_sprite(outline?SPRITE_TEE_HAND_OUTLINE:SPRITE_TEE_HAND, 0, 0, shift*4);
|
||||
gfx_quads_draw(position.x, position.y);
|
||||
|
||||
}
|
||||
|
||||
// draw feet
|
||||
|
|
Loading…
Reference in a new issue