Team Fortress 2 Source Code as on 22/4/2020
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.

55 lines
1.2 KiB

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. //=============================================================================
  6. #include "BoundBox.h"
  7. class CPasteSpecialDlg : public CDialog
  8. {
  9. // Construction
  10. public:
  11. CPasteSpecialDlg(CWnd* pParent, BoundBox*);
  12. void SaveToIni();
  13. // Dialog Data
  14. //{{AFX_DATA(CPasteSpecialDlg)
  15. enum { IDD = IDD_WC_PASTESPECIAL };
  16. int m_iCopies;
  17. BOOL m_bGroup;
  18. int m_iOffsetX;
  19. int m_iOffsetY;
  20. int m_iOffsetZ;
  21. float m_fRotateX;
  22. float m_fRotateZ;
  23. float m_fRotateY;
  24. BOOL m_bCenterOriginal;
  25. BOOL m_bMakeEntityNamesUnique;
  26. BOOL m_bAddPrefix;
  27. CString m_strPrefix;
  28. //}}AFX_DATA
  29. BoundBox ObjectsBox;
  30. // Overrides
  31. // ClassWizard generated virtual function overrides
  32. //{{AFX_VIRTUAL(CPasteSpecialDlg)
  33. protected:
  34. virtual BOOL OnInitDialog();
  35. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  36. //}}AFX_VIRTUAL
  37. // Implementation
  38. protected:
  39. void GetOffset(int iAxis, int iEditCtrl);
  40. // Generated message map functions
  41. //{{AFX_MSG(CPasteSpecialDlg)
  42. afx_msg void OnGetoffsetx();
  43. afx_msg void OnGetoffsety();
  44. afx_msg void OnGetoffsetz();
  45. afx_msg void OnCheckUncheckAddPrefix();
  46. //}}AFX_MSG
  47. DECLARE_MESSAGE_MAP()
  48. };