1.1 --- a/core/HalfLife2.h Sun May 27 11:39:50 2012 -0400
1.2 +++ b/core/HalfLife2.h Sun May 27 16:08:03 2012 -0400
1.3 @@ -45,6 +45,9 @@
1.4 #include <datamap.h>
1.5 #include <ihandleentity.h>
1.6 #include <tier0/icommandline.h>
1.7 +#if SOURCE_ENGINE >= SE_PORTAL2
1.8 +#include <string_t.h>
1.9 +#endif
1.10
1.11 class CCommand;
1.12
1.13 @@ -88,6 +91,7 @@
1.14 char buffer[384];
1.15 };
1.16
1.17 +// copy from game/shared/entitylist_base.h
1.18 class CEntInfo
1.19 {
1.20 public:
1.21 @@ -95,6 +99,10 @@
1.22 int m_SerialNumber;
1.23 CEntInfo *m_pPrev;
1.24 CEntInfo *m_pNext;
1.25 +#if SOURCE_ENGINE >= SE_PORTAL2
1.26 + string_t m_iName;
1.27 + string_t m_iClassName;
1.28 +#endif
1.29 };
1.30
1.31 class CHalfLife2 :