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

Function noteditmode

source/src/editing.cpp:90–98  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

88}
89
90bool noteditmode(const char* func)
91{
92 if(!editmode)
93 {
94 if(func && func[0]!='\0') conoutf("\f4[\f3%s\f4]\f5 is only allowed in edit mode", func);
95 else conoutf("this function is only allowed in edit mode");
96 }
97 return !editmode;
98}
99
100inline bool selset()
101{

Callers 14

closestentFunction · 0.85
undelentFunction · 0.85
nextplayerstartFunction · 0.85
empty_worldFunction · 0.85
edittextureslotFunction · 0.85
editmapmodelslotFunction · 0.85
worldlight.cppFile · 0.85
water.cppFile · 0.85
worldio.cppFile · 0.85
setvantagepointFunction · 0.85
editmapsoundslotFunction · 0.85
gotoentityFunction · 0.85

Calls 1

conoutfFunction · 0.70

Tested by

no test coverage detected