bool TWBaseScript::get_scriptparam_bool(const char* design_note, const char* param, bool def_val) { std::string namestr = Name(); namestr += param; return GetParamBool(design_note, namestr.c_str(), def_val); }
bool GetObjectParamBool(int iObject, const char* pszParam, bool bDefault) { char* params = GetObjectParams(iObject); if (!params) return bDefault; bool bRet = GetParamBool(params, pszParam, bDefault); g_pMalloc->Free(params); return bRet; }