Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- struct playerstate
- {
- int entNum;
- Vector vOrigin;
- bool valid;
- };
- class CPanel
- {
- public:
- CPanel(vgui::ISurface* pSurface, IVEngineClient* pEngineClient, IClientEntityList* pClientEntList, int x, int y, int w, int h);
- ~CPanel(void);
- void Think(void);
- void Draw(void);
- inline bool ScreenTransform(const Vector& point, Vector& screen);
- bool WorldToScreen(const Vector& origin, Vector& screen);
- vgui::ISurface* m_pSurface;
- IVEngineClient* m_pEngineClient;
- IClientEntityList* m_pClientEntList;
- Color m_backColor;
- Color m_outlineColor;
- int m_xPos;
- int m_yPos;
- int m_Width;
- int m_Height;
- playerstate m_playerList[32];
- };
Advertisement
Add Comment
Please, Sign In to add comment