sourcemm/concommands.cpp
changeset 98 4c46acf7e76f
parent 97 7d3a2a8d5bf5
child 114 6dcc66e9c3cc
     1.1 --- a/sourcemm/concommands.cpp	Fri Aug 12 17:33:59 2005 +0000
     1.2 +++ b/sourcemm/concommands.cpp	Fri Aug 12 17:44:53 2005 +0000
     1.3 @@ -12,8 +12,8 @@
     1.4  #include "CSmmAPI.h"
     1.5  #include "concommands.h"
     1.6  #include "CPlugin.h"
     1.7 -#include "smm_string.h"
     1.8 -#include "smm_list.h"
     1.9 +#include "sh_string.h"
    1.10 +#include "sh_list.h"
    1.11  
    1.12  /**
    1.13   * @brief Console Command Implementations
    1.14 @@ -50,7 +50,7 @@
    1.15  
    1.16  void SMConVarAccessor::MarkCommandsAsGameDLL()
    1.17  {
    1.18 -	for (List<ConCommandBase*>::iterator iter = m_RegisteredCommands.begin();
    1.19 +	for (SourceHook::List<ConCommandBase*>::iterator iter = m_RegisteredCommands.begin();
    1.20  		iter != m_RegisteredCommands.end(); ++iter)
    1.21  	{
    1.22  		(*iter)->AddFlags(FCVAR_GAMEDLL);
    1.23 @@ -203,7 +203,7 @@
    1.24  					CONMSG("Plugin %d is not loaded.\n", id);
    1.25  				} else {
    1.26  					CONMSG("Console commands for %s:\n", pl->m_API->GetName());
    1.27 -					List<ConCommandBase *>::iterator ci;
    1.28 +					SourceHook::List<ConCommandBase *>::iterator ci;
    1.29  					size_t count = 0;
    1.30  
    1.31  					for (ci=pl->m_Cmds.begin(); ci!=pl->m_Cmds.end(); ci++)
    1.32 @@ -234,7 +234,7 @@
    1.33  					CONMSG("Plugin %d is not loaded.\n", id);
    1.34  				} else {
    1.35  					CONMSG("Registered cvars for %s:\n", pl->m_API->GetName());
    1.36 -					List<ConCommandBase *>::iterator ci;
    1.37 +					SourceHook::List<ConCommandBase *>::iterator ci;
    1.38  					size_t count = 0;
    1.39  
    1.40  					for (ci=pl->m_Cvars.begin(); ci!=pl->m_Cvars.end(); ci++)