1.1 --- a/core/systems/PluginSys.cpp Thu Feb 08 20:37:24 2007 +0000
1.2 +++ b/core/systems/PluginSys.cpp Thu Feb 08 21:41:28 2007 +0000
1.3 @@ -504,11 +504,26 @@
1.4 return m_PhraseFiles.size();
1.5 }
1.6
1.7 -unsigned int CPlugin::GetFileByIndex(unsigned int index) const
1.8 +unsigned int CPlugin::GetLangFileByIndex(unsigned int index) const
1.9 {
1.10 return m_PhraseFiles.at(index);
1.11 }
1.12
1.13 +void CPlugin::AddConVar(ConVar *convar)
1.14 +{
1.15 + m_ConVarList.push_back(convar);
1.16 +}
1.17 +
1.18 +size_t CPlugin::GetConVarCount() const
1.19 +{
1.20 + return m_ConVarList.size();
1.21 +}
1.22 +
1.23 +ConVar *CPlugin::GetConVarByIndex(size_t index) const
1.24 +{
1.25 + return m_ConVarList.at(index);
1.26 +}
1.27 +
1.28 /*******************
1.29 * PLUGIN ITERATOR *
1.30 *******************/