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

Function scripterr

source/src/command.cpp:1715–1724  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1713const char *curcontext = NULL, *curinfo = NULL;
1714
1715void scripterr()
1716{
1717 ASSERT(execcontext >= 0 && execcontext < IEXC_NUM);
1718 if(curcontext) conoutf("(%s: %s [%s])", curcontext, curinfo, contextnames[execcontext]);
1719 else conoutf("(from console or builtin [%s])", contextnames[execcontext]);
1720#ifndef STANDALONE
1721 clientlogf("exec nesting level: %d", executionstack.length());
1722 clientlogf("%s", executionstack.length() ? executionstack.last() : ":::nevermind:::");
1723#endif
1724}
1725
1726void setcontext(const char *context, const char *info)
1727{

Callers 15

checktexturefilenameFunction · 0.85
texture.cppFile · 0.85
loadnotextureFunction · 0.85
mapmodelFunction · 0.85
md2animFunction · 0.85
md2tagFunction · 0.85
md2emitFunction · 0.85
pushaFunction · 0.85
popFunction · 0.85
delaliasFunction · 0.85
aliasFunction · 0.85
parseexpFunction · 0.85

Calls 3

clientlogfFunction · 0.85
conoutfFunction · 0.70
lengthMethod · 0.45

Tested by

no test coverage detected