3333#include " boost/python/iterator.hpp"
3434
3535// ----------------------------------------------------------------------------
36- // CEntityGenerator Constructor.
36+ // EntityGenerator Constructor.
3737// ----------------------------------------------------------------------------
38- CEntityGenerator::CEntityGenerator ( PyObject* self ):
38+ EntityGenerator::EntityGenerator ( PyObject* self ):
3939 IPythonGenerator<edict_t>(self),
4040 m_iEntityIndex(0 ),
4141 m_szClassName(NULL ),
@@ -45,9 +45,9 @@ CEntityGenerator::CEntityGenerator( PyObject* self ):
4545}
4646
4747// ----------------------------------------------------------------------------
48- // CEntityGenerator Copy-Constructor.
48+ // EntityGenerator Copy-Constructor.
4949// ----------------------------------------------------------------------------
50- CEntityGenerator::CEntityGenerator ( PyObject* self, const CEntityGenerator & rhs ):
50+ EntityGenerator::EntityGenerator ( PyObject* self, const EntityGenerator & rhs ):
5151 IPythonGenerator<edict_t>(self),
5252 m_iEntityIndex(rhs.m_iEntityIndex),
5353 m_uiClassNameLen(rhs.m_uiClassNameLen),
@@ -57,9 +57,9 @@ CEntityGenerator::CEntityGenerator( PyObject* self, const CEntityGenerator& rhs
5757}
5858
5959// ----------------------------------------------------------------------------
60- // CEntityGenerator Constructor (takes a filter string).
60+ // EntityGenerator Constructor (takes a filter string).
6161// ----------------------------------------------------------------------------
62- CEntityGenerator::CEntityGenerator (PyObject* self, const char * szClassName):
62+ EntityGenerator::EntityGenerator (PyObject* self, const char * szClassName):
6363 IPythonGenerator<edict_t>(self),
6464 m_iEntityIndex(0 ),
6565 m_uiClassNameLen(strlen(szClassName)),
@@ -69,9 +69,9 @@ CEntityGenerator::CEntityGenerator(PyObject* self, const char* szClassName):
6969}
7070
7171// ----------------------------------------------------------------------------
72- // CEntityGenerator Constructor (takes a filter string and a boolean flag).
72+ // EntityGenerator Constructor (takes a filter string and a boolean flag).
7373// ----------------------------------------------------------------------------
74- CEntityGenerator::CEntityGenerator (PyObject* self, const char * szClassName, bool bExactMatch):
74+ EntityGenerator::EntityGenerator (PyObject* self, const char * szClassName, bool bExactMatch):
7575 IPythonGenerator<edict_t>(self),
7676 m_iEntityIndex(0 ),
7777 m_uiClassNameLen(strlen(szClassName)),
@@ -81,17 +81,17 @@ CEntityGenerator::CEntityGenerator(PyObject* self, const char* szClassName, bool
8181}
8282
8383// ----------------------------------------------------------------------------
84- // CEntityGenerator Destructor.
84+ // EntityGenerator Destructor.
8585// ----------------------------------------------------------------------------
86- CEntityGenerator ::~CEntityGenerator ()
86+ EntityGenerator ::~EntityGenerator ()
8787{
8888 delete[] m_szClassName;
8989}
9090
9191// ----------------------------------------------------------------------------
9292// Returns the next valid edict_t instance.
9393// ----------------------------------------------------------------------------
94- edict_t * CEntityGenerator ::getNext ()
94+ edict_t * EntityGenerator ::getNext ()
9595{
9696 edict_t * pEdict = NULL ;
9797 while (m_iEntityIndex < gpGlobals->maxEntities )
@@ -124,7 +124,7 @@ edict_t* CEntityGenerator::getNext()
124124// ---------------------------------------------------------------------------------
125125// Private function, creates a copy of the class name string.
126126// ---------------------------------------------------------------------------------
127- void CEntityGenerator ::makeStringCopy (const char * szClassName, unsigned int uiClassNameLen)
127+ void EntityGenerator ::makeStringCopy (const char * szClassName, unsigned int uiClassNameLen)
128128{
129129 if (uiClassNameLen > 0 )
130130 {
0 commit comments