hlsdk

hlsdk

Jan 19th, 2010
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.65 KB | None | 0 0
  1. struct playerstate
  2. {
  3.     int entNum;
  4.     Vector vOrigin;
  5.     bool valid;
  6. };
  7.  
  8. class CPanel
  9. {
  10. public:
  11.     CPanel(vgui::ISurface* pSurface, IVEngineClient* pEngineClient, IClientEntityList* pClientEntList, int x, int y, int w, int h);
  12.     ~CPanel(void);
  13.     void Think(void);
  14.     void Draw(void);
  15.    
  16.     inline bool ScreenTransform(const Vector& point, Vector& screen);
  17.     bool WorldToScreen(const Vector& origin, Vector& screen);
  18.  
  19.     vgui::ISurface* m_pSurface;
  20.     IVEngineClient* m_pEngineClient;
  21.     IClientEntityList* m_pClientEntList;
  22.    
  23.     Color m_backColor;
  24.     Color m_outlineColor;
  25.  
  26.     int m_xPos;
  27.     int m_yPos;
  28.     int m_Width;
  29.     int m_Height;
  30.     playerstate m_playerList[32];
  31. };
Advertisement
Add Comment
Please, Sign In to add comment