4 #define setmodel(e, m) _setmodel((e), (m).model_str())
7 ATTRIB(Model, m_id, int, 0)
8 ATTRIB(Model, model_str, string(), func_null)
9 CONSTRUCTOR(Model, string() path)
12 this.model_str = path;
14 METHOD(Model, model_precache, void(Model this))
17 string s = this.model_str();
18 if (s != "" && s != "null" && !fexists(s)) {
19 LOG_WARNINGF("Missing model: \"%s\"\n", s);
22 LOG_DEBUGF("precache_model(\"%s\")\n", s);