 |
Blamite Game Engine - blam!
00263.10.17.20.0001.blamite
The core library for the Blamite Game Engine.
|
Namespace surrounding all major engine components.
Definition: blam_api.h:17
BLAM std::string GetApplicationDir()
Retrieves the application's working directory.
Definition: io.cpp:129
BLAM void ValidatePath(std::string path)
Validates that the specified path exists.
Definition: io.cpp:106
BLAM void OpenGameDirectory()
Opens the engine's game directory in Windows Explorer.
Definition: io.cpp:122
BLAM bool ReadBinaryFile(std::string path, void *data, int64_t *size)
Reads a file as raw binary data.
Definition: io.cpp:152
BLAM int CreateFileFromHTMLResource(std::string filename, int res_id, bool apply_placeholders)
Creates a file with the contents pulled from the specified application HTML resource.
Definition: io.cpp:65
BLAM bool FileExists(std::string name)
Checks if the specified file exists.
Definition: io.cpp:12
BLAM int CreateFileFromResource(std::string filename, int res_id, const char *res_type, bool apply_placeholders)
Creates a file with the contents pulled from the specified application resource.
Definition: io.cpp:39
#define BLAM
Definition: discord_rpc.h:8
BLAM int CreateNewFile(std::string filename, std::string file_contents)
Creates a file with the specified contents.
Definition: io.cpp:28
BLAM std::vector< std::string > GetFileContentsAsLines(std::string path)
Reads a file as a list of strings.
Definition: io.cpp:136
BLAM int CreateFileFromPNGResource(std::string filename, int res_id)
Creates a file with the contents pulled from the specified application PNG resource.
Definition: io.cpp:83