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

Function editfocusdetails

source/src/rendercubes.cpp:146–155  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

144void mipstats(const int a[]) { if(showmipstats && !showeditfocus) hudeditf(HUDMSG_MIPSTATS, "1x1/2x2/4x4/8x8: %d / %d / %d / %d", a[0], a[1], a[2], a[3]); }
145
146bool editfocusdetails(sqr *s)
147{
148 if(showeditfocus)
149 {
150 const char *g = SOLID(s) ? "\f4" : "";
151 hudeditf(HUDMSG_EDITFOCUS, "%s: \fs%s%d..%d\fr W:%d \fs%sU:%d F:%d C:%d v:%d t:0x%X (%02X%02X%02X)\fr", cubetypename(s->type), g, s->floor, s->ceil, s->wtex, g, s->utex, s->ftex, s->ctex, s->vdelta, s->tag, s->r, s->g, s->b);
152 return true;
153 }
154 return false;
155}
156
157VAR(mergestrips, 0, 1, 1);
158

Callers 1

editinfoFunction · 0.85

Calls 2

hudeditfFunction · 0.85
cubetypenameFunction · 0.85

Tested by

no test coverage detected