| 29 | VARP(radarentsize, 4, 12, 64); |
| 30 | |
| 31 | void drawradaricon(float x, float y, float s, int col, int row) |
| 32 | { |
| 33 | static Texture *tex = NULL; |
| 34 | if(!tex) tex = textureload("packages/misc/radaricons.png", 3); |
| 35 | if(tex) |
| 36 | { |
| 37 | glEnable(GL_BLEND); |
| 38 | drawicon(tex, x, y, s, col, row, 1/4.0f); |
| 39 | glDisable(GL_BLEND); |
| 40 | } |
| 41 | } |
| 42 | |
| 43 | void drawctficon(float x, float y, float s, int col, int row, float ts, int alpha) |
| 44 | { |
no test coverage detected