 |
Blamite Game Engine - blam!
00296.01.12.21.0102.blamite
The core library for the Blamite Game Engine.
|
Namespace surrounding all major engine components.
Definition: blam_api.h:18
void ClearCachedFiles()
Clears all files from the cache.
Definition: cache.cpp:107
std::string WriteFileToCache(void *data, int length, std::string id)
Writes a block of data to the cache as a file.
Definition: cache.cpp:21
std::string path
The path to the cached file.
Definition: cache.h:21
HRESULT DeleteFileFromCache(std::string id)
Deletes a file from the local cache storage.
Definition: cache.cpp:83
int size
The length of the data, in bytes.
Definition: cache.h:20
Structure to contain a cached data file.
Definition: cache.h:16
HRESULT ReadFileFromCache(void **data, int *length, std::string id)
Reads a file from the cache into memory.
Definition: cache.cpp:56
std::string id
The ID of the cached file.
Definition: cache.h:18
std::string old_address
The original address of the data when it was written to the cache.
Definition: cache.h:19