Files
firestorm/Gameleap/code/mw4/Tools/Peeper/PathManager.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

32 lines
878 B
C++

// PathManager.h: interface for the CPathManager class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_PATHMANAGER_H__BB8EF7BC_ABE5_4D19_82E4_FFAA5343F165__INCLUDED_)
#define AFX_PATHMANAGER_H__BB8EF7BC_ABE5_4D19_82E4_FFAA5343F165__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include <afxtempl.h>
class CPathManager
{
protected:
CArray<CString, CString &> PathList;
void AddPath(CString str);
bool DoesFileExist(const char *fname,const CString &path);
public:
void ScanRegistry();
bool GetFile(const char *fname,CString &path,CString &outfile);
bool GetPath(const char *fname,CString &path);
void ScanProject(CString dspfname);
CPathManager();
virtual ~CPathManager();
};
#endif // !defined(AFX_PATHMANAGER_H__BB8EF7BC_ABE5_4D19_82E4_FFAA5343F165__INCLUDED_)