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

Function loadxmap

source/src/worldio.cpp:1632–1641  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1630}
1631
1632void loadxmap(const char *nick)
1633{
1634 DELETEP(xmjigsaw);
1635 xmjigsaw = new xmap();
1636 copystring(xmjigsaw->nick, nick);
1637 hexbinenabled = true;
1638 execfile(xmapfilename(nick));
1639 hexbinenabled = false;
1640 hexbin.setsize(0); // just to make sure
1641}
1642
1643int loadallxmaps() // at game start, load all xmaps from mapediting/xmaps
1644{

Callers 1

loopvFunction · 0.85

Calls 4

copystringFunction · 0.85
execfileFunction · 0.85
xmapfilenameFunction · 0.85
setsizeMethod · 0.80

Tested by

no test coverage detected