17 float tkaball_alpha =
blink(0.85, 0.15, 5);
19 int stat_items =
STAT(TKA_BALLSTATUS);
28 vector tkaball_pos, tkaball_size;
30 if(mySize.x > mySize.y) {
31 tkaball_pos = pos +
eX * 0.25 * mySize.x;
32 tkaball_size =
vec2(0.5 * mySize.x, mySize.y);
34 tkaball_pos = pos +
eY * 0.25 * mySize.y;
35 tkaball_size =
vec2(mySize.x, 0.5 * mySize.y);
39 float f =
bound(0, tkaball_statuschange_elapsedtime*2, 1);
void HUD_Mod_TeamKeepaway(vector pos, vector mySize)
float tkaball_statuschange_time
void drawpic_aspect_skin_expanding(vector position, string pic, vector theScale, vector rgb, float theAlpha, float flag, float fadelerp)
#define drawpic_aspect_skin(pos, pic, sz, color, theAlpha, drawflag)
ERASEABLE float blink(float base, float range, float freq)
const float DRAWFLAG_NORMAL
const int TKA_BALL_CARRYING
const int TKA_BALL_TAKEN_YELLOW
const int TKA_BALL_TAKEN_RED
const int TKA_BALL_TAKEN_PINK
const int TKA_BALL_TAKEN_BLUE