⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 stormhelp.h

📁 mpq文件的格式就是一种压缩格式
💻 H
字号:
/*****************************************************************************/
/* StormHelp.h                            Copyright (c) Ladislav Zezula 2003 */
/*---------------------------------------------------------------------------*/
/* Helps with some MPQ operations                                            */
/*---------------------------------------------------------------------------*/
/*   Date    Ver   Who  Comment                                              */
/* --------  ----  ---  -------                                              */
/* 05.04.03  1.00  Lad  The first version of StormHelp.h                     */
/*****************************************************************************/

#ifndef __STORMHELP_H__
#define __STORMHELP_H__

//-----------------------------------------------------------------------------
// Helper functions

// Returns TRUE of the file name appears to be a Mac file name
BOOL IsMacFileName(const char * szFileName);

// Retrieves Blizzard-specific file type
int    GetBlizzardFileTypeName(const char * szFileName, SHFILEINFO & sfi);

// Gets pointer to plain file name and to ext
char * GetPlainName(const char * szFileName);
char * GetFileExt(const char * szFileName);

// Ensures that the path exists.
int ForcePathExist(const char * szPathName);

// Creates the name of a local file from archived file name
CString GetLocalFileName(const char * szArchivedName, BOOL bKeepPath);

// Creates the name of a temporary file
CString GetTempFileName(const char * szFileName);
     
// Adds/removes backslash to path
void RemoveBackslash(char * szPathName);
void AddBackslash(char * szPathName);

// Deletes the string list
void FreeStringList(CPtrList *& pList);

// Fills a combobox with supported locales
void FillLocalesAndSelect(CComboBox * pCombo, LCID lcID);

// Converts hexa string to 32-bit integer
int StrToInt(const char * ptr, char ** end, int root);

// Retrieves flags for adding a file into archive
int GetAddFlagsByName(TAddFlags * pFlags, int nFlags, const char * szName, DWORD & dwFlags, DWORD & dwQuality);

#endif // __STORMHELP_H__

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -