|
|
PixelBullet
0.0.1
A C++ game engine
|
Public Member Functions | |
| bool | Open (const VirtualPath &archivePath) |
| Opens the archive at the given path and reads the index. | |
| std::vector< uint8_t > | GetAsset (const std::string &assetName) |
| std::vector< uint8_t > PixelBullet::Archive::GetAsset | ( | const std::string & | assetName | ) |
Returns the decompressed asset data for the given asset name. If decompression fails, a warning is logged and an empty vector is returned.
| bool PixelBullet::Archive::Open | ( | const VirtualPath & | archivePath | ) |
Opens the archive at the given path and reads the index.