mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-09-21 20:06:40 +00:00
# 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:
@@ -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;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user