![]() |
Blamite Game Engine - blam!
00346.12.11.21.0529.blamite
The core library for the Blamite Game Engine.
|
#include <Windows.h>
#include <string>
#include <vector>
#include "components/diagnostics/errors/errors.h"
Go to the source code of this file.
Classes | |
struct | BlamCachedDataFile |
Structure to contain a cached data file. More... | |
Namespaces | |
Blam | |
Namespace surrounding all major engine components. | |
Blam::Cache | |
Namespace containing functions related to caching. | |
Macros | |
#define | BLAM |
#define | CACHE_FOLDER Blam::Settings::Paths::GetUserDataPath(BlamUserDataFolder::Cache) |
The directory where cached data should be stored. More... | |
Functions | |
std::string | Blam::Cache::WriteFileToCache (void *data, int length, std::string id) |
Writes a block of data to the cache as a file. More... | |
BlamResult | Blam::Cache::ReadFileFromCache (void **data, int *length, std::string id) |
Reads a file from the cache into memory. More... | |
BlamResult | Blam::Cache::DeleteFileFromCache (std::string id) |
Deletes a file from the local cache storage. More... | |
void | Blam::Cache::ClearCachedFiles () |
Clears all files from the cache. More... | |
#define BLAM |
#define CACHE_FOLDER Blam::Settings::Paths::GetUserDataPath(BlamUserDataFolder::Cache) |
The directory where cached data should be stored.
Blam::Settings::Path::GetUserDataPath()
instead.