This commit is contained in:
Jakob Fries 2007-08-14 13:20:33 +00:00
parent 77b0c51bbf
commit f8884ded02
2 changed files with 7 additions and 0 deletions

View file

@ -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

View file

@ -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