MCPcopy Create free account
hub / github.com/assaultcube/AC / drawradaricon

Function drawradaricon

source/src/renderhud.cpp:31–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29VARP(radarentsize, 4, 12, 64);
30
31void 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
43void drawctficon(float x, float y, float s, int col, int row, float ts, int alpha)
44{

Callers 1

drawradarentFunction · 0.85

Calls 2

textureloadFunction · 0.85
drawiconFunction · 0.85

Tested by

no test coverage detected