diff options
| author | FluorescentCIAAfricanAmerican <[email protected]> | 2020-04-22 12:56:21 -0400 |
|---|---|---|
| committer | FluorescentCIAAfricanAmerican <[email protected]> | 2020-04-22 12:56:21 -0400 |
| commit | 3bf9df6b2785fa6d951086978a3e66f49427166a (patch) | |
| tree | 2c0f1f0c63c4832882bc93814ebd2c2b1c6224e5 /hammer/mapinfodlg.h | |
| download | archived-source-engine-2018-hl2-src-master.tar.xz archived-source-engine-2018-hl2-src-master.zip | |
Diffstat (limited to 'hammer/mapinfodlg.h')
| -rw-r--r-- | hammer/mapinfodlg.h | 70 |
1 files changed, 70 insertions, 0 deletions
diff --git a/hammer/mapinfodlg.h b/hammer/mapinfodlg.h new file mode 100644 index 0000000..35f4cd0 --- /dev/null +++ b/hammer/mapinfodlg.h @@ -0,0 +1,70 @@ +//========= Copyright Valve Corporation, All rights reserved. ============// +// +// Purpose: +// +// $Workfile: $ +// $Date: $ +// +//----------------------------------------------------------------------------- +// $Log: $ +// +// $NoKeywords: $ +//=============================================================================// + +#ifndef MAPINFODLG_H +#define MAPINFODLG_H +#pragma once + + +class CMapInfoDlg : public CDialog +{ + // Construction + public: + CMapInfoDlg(CMapWorld *, CWnd* pParent = NULL); // standard constructor + + void CountEntity(CMapEntity *pEntity); + void CountFace(CMapFace *pFace); + void CountSolid(CMapSolid *pSolid); + void CountTexture(IEditorTexture *pTex); + + // Dialog Data + //{{AFX_DATA(CMapInfoDlg) + enum { IDD = IDD_MAPINFO }; + CStatic m_Faces; + CStatic m_Solids; + CStatic m_SolidEntities; + CStatic m_PointEntities; + CStatic m_TextureMemory; + CStatic m_UniqueTextures; + CListBox m_WadsUsed; + //}}AFX_DATA + + CMapWorld *pWorld; + + // Overrides + // ClassWizard generated virtual function overrides + //{{AFX_VIRTUAL(CMapInfoDlg) + protected: + virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support + //}}AFX_VIRTUAL + + UINT m_uSolidCount; + UINT m_uPointEntityCount; + UINT m_uSolidEntityCount; + UINT m_uFaceCount; + UINT m_uUniqueTextures; + UINT m_uTextureMemory; + + IEditorTexture *m_pTextures[1024]; + + // Implementation + protected: + + // Generated message map functions + //{{AFX_MSG(CMapInfoDlg) + virtual BOOL OnInitDialog(); + //}}AFX_MSG + DECLARE_MESSAGE_MAP() +}; + +#endif // MAPINFODLG_H |