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

Method servermap

source/src/serverfiles.h:105–105  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

103 #endif
104
105 servermap(const char *mname, const char *mpath) { memset(&fname, 0, sizeof(struct servermap)); fname = newstring(mname); fpath = mpath; }
106 ~servermap() { delstring(fname); DELETEA(cgzraw); DELETEA(cfgrawgz); DELETEA(enttypes); DELETEA(entpos_x); DELETEA(entpos_y); DELETEA(layoutgz); DELETEA(hx_modeinfo); DELETEA(hx_mapartist); }
107
108 bool isro() { return fpath == servermappath_off || fpath == servermappath_serv; }

Callers

nothing calls this directly

Calls 1

newstringFunction · 0.85

Tested by

no test coverage detected