MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / ObjInitLine

Function ObjInitLine

Descent3/ObjInit.cpp:888–894  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

886}
887#ifdef _DEBUG
888int ObjInitLine(object *objp) {
889 ASSERT(objp->type == OBJ_DEBUG_LINE);
890 objp->movement_type = MT_NONE;
891 SetObjectControlType(objp, CT_NONE);
892 objp->render_type = RT_LINE;
893 return 1;
894}
895#endif
896// Initialize a camera
897// Returns 1 if ok, 0 if error

Callers 1

ObjInitTypeSpecificFunction · 0.85

Calls 1

SetObjectControlTypeFunction · 0.85

Tested by

no test coverage detected