| 697 | } |
| 698 | |
| 699 | void drawteamicons(int w, int h, bool spect) |
| 700 | { |
| 701 | glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA); |
| 702 | glColor3f(1, 1, 1); |
| 703 | static Texture *icons = NULL; |
| 704 | if(!icons) icons = textureload("packages/misc/teamicons.png", 3); |
| 705 | if(player1->team < TEAM_SPECT || spect) quad(icons->id, VIRTW-VIRTH/12-10, 10, VIRTH/12, team_base(spect ? players[player1->followplayercn]->team : player1->team) ? 0.5f : 0, 0, 0.49f, 1.0f); |
| 706 | } |
| 707 | |
| 708 | int damageblendmillis = 0; |
| 709 | void *damageblendplayer = NULL; |
no test coverage detected