Counter Strike : Global Offensive Source Code
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

54 lines
1.2 KiB

  1. //========= Copyright � 1996-2005, Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. // $Workfile: $
  6. // $Date: $
  7. //
  8. //-----------------------------------------------------------------------------
  9. // $Log: $
  10. //
  11. // $NoKeywords: $
  12. //=============================================================================//
  13. #pragma once
  14. #include "MapClass.h" // dvs: For CMapObjectList
  15. class CSelectEntityDlg : public CDialog
  16. {
  17. // Construction
  18. public:
  19. CSelectEntityDlg(const CMapObjectList *pList,
  20. CWnd* pParent = NULL); // standard constructor
  21. // Dialog Data
  22. //{{AFX_DATA(CSelectEntityDlg)
  23. enum { IDD = IDD_SELECTENTITY };
  24. CListBox m_cEntities;
  25. //}}AFX_DATA
  26. const CMapObjectList *m_pEntityList;
  27. CMapEntity *m_pFinalEntity;
  28. // Overrides
  29. // ClassWizard generated virtual function overrides
  30. //{{AFX_VIRTUAL(CSelectEntityDlg)
  31. protected:
  32. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  33. //}}AFX_VIRTUAL
  34. // Implementation
  35. protected:
  36. // Generated message map functions
  37. //{{AFX_MSG(CSelectEntityDlg)
  38. afx_msg void OnSelchangeEntities();
  39. virtual BOOL OnInitDialog();
  40. virtual void OnOK();
  41. //}}AFX_MSG
  42. DECLARE_MESSAGE_MAP()
  43. };