Files
firestorm/Gameleap/code/mw4/Tools/ImageGrinder/TextureLibDiag.h
T
Cyd 2b8ca921cb Initial full mirror of c:\VWE (source + assets + toolchain + outputs) via Git LFS
Complete disaster-recovery snapshot: engine/game source, game data assets,
VC6 toolchain + DX SDKs, build outputs, deployed game, and _UNUSED archive.
Large binaries in Git LFS; text preserved byte-for-byte (core.autocrlf=false,
no eol attributes). See RECOVERY.md for the one-clone rebuild procedure.
2026-06-24 21:28:16 -05:00

68 lines
1.8 KiB
C++

#if !defined(AFX_TEXTURELIBDIAG_H__1B275D1F_0C5E_11D3_A5F1_00902712C9AE__INCLUDED_)
#define AFX_TEXTURELIBDIAG_H__1B275D1F_0C5E_11D3_A5F1_00902712C9AE__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// TextureLibDiag.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CTextureLibDiag dialog
#define MAXTEXTURES 2048
#define PREVIEWSZE 32
class CTextureLibDiag : public CDialog
{
// Construction
public:
BOOL OnIdle();
void RefreshList();
CTextureLibDiag(CWnd* pParent = NULL); // standard constructor
CImageList ImgLst;
CBitmap UnLoadedBmp;
CString ImageName[MAXTEXTURES];
bool ImgLoaded[MAXTEXTURES];
int ImgTot;
int AddImage(CString fname);
int GetIndex(CString fname);
bool LoadNextImage();
// Dialog Data
//{{AFX_DATA(CTextureLibDiag)
enum { IDD = IDD_TLDIALOG };
CListCtrl m_TextureList;
CString m_TexturePath;
CString m_TSpace;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CTextureLibDiag)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CTextureLibDiag)
virtual void OnOK();
virtual void OnCancel();
afx_msg void OnAdd();
virtual BOOL OnInitDialog();
afx_msg void OnBegindragTexturelist(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnChangepath();
afx_msg void OnDelete();
afx_msg void OnAdd1bit();
afx_msg void OnAddmipmask();
afx_msg void OnUpdate();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_TEXTURELIBDIAG_H__1B275D1F_0C5E_11D3_A5F1_00902712C9AE__INCLUDED_)