1 |
ol = outline ? 2 : 0; |
2 |
draw_set_color(outline ? c_black : c_white); |
3 |
draw_circle(x, y, 24 + ol, 0); |
4 |
if (ol == 2) |
5 |
ol++; |
6 |
tailx = x + lengthdir_x(36 + ol, direction + 180); |
7 |
taily = y + lengthdir_y(36 + ol, direction + 180); |
8 |
tailbx = lengthdir_x(16 + ol, direction + 90); |
9 |
tailby = lengthdir_y(16 + ol, direction + 90); |
10 |
tailcx = lengthdir_x(16 + ol, direction - 90); |
11 |
tailcy = lengthdir_y(16 + ol, direction - 90); |
12 |
draw_triangle(tailx, taily, x + tailbx, y + tailby, x + tailcx, y + tailcy, 0); |