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

Function filterunrenderables

source/src/rendertext.cpp:447–459  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

445}
446
447bool filterunrenderables(char *s)
448{
449 bool res = false;
450 char *d = s;
451 while(*s)
452 {
453 if(!curfont->chars.inrange(*s - curfont->skip) && *s != ' ') res = true;
454 else *d++ = *s;
455 s++;
456 }
457 *d = '\0';
458 return res;
459}
460
461// animated inlined graphics
462

Callers 1

sayMethod · 0.85

Calls 1

inrangeMethod · 0.80

Tested by

no test coverage detected