MCPcopy Create free account
hub / github.com/Kenix3/libultraship / SFileAddFile

Function SFileAddFile

extern/StormLib/src/SFileAddFile.cpp:1028–1036  ·  view source on GitHub ↗

Adds a data file into the archive

Source from the content-addressed store, hash-verified

1026
1027// Adds a data file into the archive
1028bool WINAPI SFileAddFile(HANDLE hMpq, const TCHAR * szFileName, const char * szArchivedName, DWORD dwFlags)
1029{
1030 return SFileAddFileEx(hMpq,
1031 szFileName,
1032 szArchivedName,
1033 dwFlags,
1034 DefaultDataCompression,
1035 DefaultDataCompression);
1036}
1037
1038// Adds a WAVE file into the archive
1039bool WINAPI SFileAddWave(HANDLE hMpq, const TCHAR * szFileName, const char * szArchivedName, DWORD dwFlags, DWORD dwQuality)

Callers

nothing calls this directly

Calls 1

SFileAddFileExFunction · 0.85

Tested by

no test coverage detected