# Add -archivebuild mode to generate .zip files for releases, with automatic compression of textures.

Fix terrain manager to understand .cached.dds files.
Fix IArchiveWriter so you can pass it absolute paths of files to load,
and different relative paths for storing inside the archive.
Fix fs_util::ForEachFile when called on the VFS root.

This was SVN commit r8130.
This commit is contained in:
Ykkrosh
2010-09-18 18:21:00 +00:00
parent 3a47d3b51b
commit 0d172264f8
12 changed files with 279 additions and 9 deletions
+8
View File
@@ -100,6 +100,14 @@ public:
*/
bool MakeProgress();
/**
* Synchronously converts and compresses and saves the texture,
* and returns the output path (minus a "cache/" prefix). This
* is intended for pre-caching textures in release archives.
* @return true on success
*/
bool GenerateCachedTexture(const VfsPath& path, VfsPath& outputPath);
private:
CTextureManagerImpl* m;
};