archivehpi.h
来自「这是整套横扫千军3D版游戏的源码」· C头文件 代码 · 共 25 行
H
25 行
#ifndef __ARCHIVE_HPI_H
#define __ARCHIVE_HPI_H
#include "ArchiveBase.h"
#include "ArchiveBuffered.h"
#include "lib/hpiutil2/hpiutil.h"
class CArchiveHPI :
public CArchiveBuffered
{
protected:
hpiutil::hpifile *hpi;
int curSearchHandle;
map<string, int> fileSizes; // hpiutil doesn't provide a way to determine this for a given file
map<int, map<string, int>::iterator> searchHandles;
virtual ABOpenFile_t* GetEntireFile(const string& fileName);
public:
CArchiveHPI(const string& name);
virtual ~CArchiveHPI(void);
virtual bool IsOpen();
virtual int FindFiles(int cur, string* name, int* size);
};
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?