3434#include " modules/conversions/conversions_wrap.h"
3535
3636// ----------------------------------------------------------------------------
37- // EntityGenerator Constructor.
37+ // CEntityGenerator Constructor.
3838// ----------------------------------------------------------------------------
39- EntityGenerator::EntityGenerator ( PyObject* self ):
39+ CEntityGenerator::CEntityGenerator ( PyObject* self ):
4040 IPythonGenerator<edict_t>(self),
4141 m_iEntityIndex(0 ),
4242 m_szClassName(NULL ),
@@ -46,9 +46,9 @@ EntityGenerator::EntityGenerator( PyObject* self ):
4646}
4747
4848// ----------------------------------------------------------------------------
49- // EntityGenerator Copy-Constructor.
49+ // CEntityGenerator Copy-Constructor.
5050// ----------------------------------------------------------------------------
51- EntityGenerator::EntityGenerator ( PyObject* self, const EntityGenerator & rhs ):
51+ CEntityGenerator::CEntityGenerator ( PyObject* self, const CEntityGenerator & rhs ):
5252 IPythonGenerator<edict_t>(self),
5353 m_iEntityIndex(rhs.m_iEntityIndex),
5454 m_uiClassNameLen(rhs.m_uiClassNameLen),
@@ -58,9 +58,9 @@ EntityGenerator::EntityGenerator( PyObject* self, const EntityGenerator& rhs ):
5858}
5959
6060// ----------------------------------------------------------------------------
61- // EntityGenerator Constructor (takes a filter string).
61+ // CEntityGenerator Constructor (takes a filter string).
6262// ----------------------------------------------------------------------------
63- EntityGenerator::EntityGenerator (PyObject* self, const char * szClassName):
63+ CEntityGenerator::CEntityGenerator (PyObject* self, const char * szClassName):
6464 IPythonGenerator<edict_t>(self),
6565 m_iEntityIndex(0 ),
6666 m_uiClassNameLen(strlen(szClassName)),
@@ -70,9 +70,9 @@ EntityGenerator::EntityGenerator(PyObject* self, const char* szClassName):
7070}
7171
7272// ----------------------------------------------------------------------------
73- // EntityGenerator Constructor (takes a filter string and a boolean flag).
73+ // CEntityGenerator Constructor (takes a filter string and a boolean flag).
7474// ----------------------------------------------------------------------------
75- EntityGenerator::EntityGenerator (PyObject* self, const char * szClassName, bool bExactMatch):
75+ CEntityGenerator::CEntityGenerator (PyObject* self, const char * szClassName, bool bExactMatch):
7676 IPythonGenerator<edict_t>(self),
7777 m_iEntityIndex(0 ),
7878 m_uiClassNameLen(strlen(szClassName)),
@@ -82,17 +82,17 @@ EntityGenerator::EntityGenerator(PyObject* self, const char* szClassName, bool b
8282}
8383
8484// ----------------------------------------------------------------------------
85- // EntityGenerator Destructor.
85+ // CEntityGenerator Destructor.
8686// ----------------------------------------------------------------------------
87- EntityGenerator ::~EntityGenerator ()
87+ CEntityGenerator ::~CEntityGenerator ()
8888{
8989 delete[] m_szClassName;
9090}
9191
9292// ----------------------------------------------------------------------------
9393// Returns the next valid edict_t instance.
9494// ----------------------------------------------------------------------------
95- edict_t * EntityGenerator ::getNext ()
95+ edict_t * CEntityGenerator ::getNext ()
9696{
9797 edict_t * pEdict = NULL ;
9898 while (m_iEntityIndex < gpGlobals->maxEntities )
@@ -125,7 +125,7 @@ edict_t* EntityGenerator::getNext()
125125// ---------------------------------------------------------------------------------
126126// Private function, creates a copy of the class name string.
127127// ---------------------------------------------------------------------------------
128- void EntityGenerator ::makeStringCopy (const char * szClassName, unsigned int uiClassNameLen)
128+ void CEntityGenerator ::makeStringCopy (const char * szClassName, unsigned int uiClassNameLen)
129129{
130130 if (uiClassNameLen > 0 )
131131 {
0 commit comments