This commit is contained in:
nephacks
2025-06-04 03:22:50 +02:00
parent f234f23848
commit f12416cffd
14243 changed files with 6446499 additions and 26 deletions

70
hammer/mapinfodlg.h Normal file
View File

@@ -0,0 +1,70 @@
//========= Copyright <20> 1996-2005, 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