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

Function sqrdefault

source/src/world.cpp:666–677  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

664}
665
666void sqrdefault(sqr *s)
667{
668 if(!s) return;
669 s->r = s->g = s->b = 150;
670 s->ftex = DEFAULT_FLOOR;
671 s->ctex = DEFAULT_CEIL;
672 s->wtex = s->utex = DEFAULT_WALL;
673 s->type = SOLID;
674 s->floor = 0;
675 s->ceil = 16;
676 s->vdelta = s->defer = s->tag = 0;
677}
678
679bool worldbordercheck(int x1, int x2, int y1, int y2, int z1, int z2) // check for solid world border
680{

Callers 3

loopFunction · 0.85
rldecodecubesFunction · 0.85
loopFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected