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

Function mmshortname

source/src/rendermodel.cpp:110–110  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

108vector<mapmodelinfo> mapmodels;
109const char *mmpath = "mapmodels/";
110const char *mmshortname(const char *name) { return !strncmp(name, mmpath, strlen(mmpath)) ? name + strlen(mmpath) : name; }
111
112void mapmodel(int *rad, int *h, int *zoff, char *scale, char *name, char *flags)
113{

Callers 5

rendermodel.cppFile · 0.85
editmapmodelslotFunction · 0.85
getcurrentmapconfigFunction · 0.85
editinfoFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected