Elaztek Developer Hub
Blamite Game Engine - Guerilla (Library)  00420.05.12.24.2119.blamite
The tag editor for the Blamite Game Engine.
Guerilla::Projects Namespace Reference

Namespace containing functions for working with project files. More...

Functions

GUERILLA_LIB_API BlamProjectGetCurrentProject ()
 
GUERILLA_LIB_API void SetCurrentProject (BlamProject *project)
 
GUERILLA_LIB_API BlamProjectLoadProject (std::string file_path)
 Loads a project file from disk and prepares it for use. More...
 
GUERILLA_LIB_API void LoadProjects ()
 Attempts to load all available project folders. More...
 
GUERILLA_LIB_API void UnloadProjects ()
 Releases all project data loaded into memory. More...
 
GUERILLA_LIB_API std::vector< BlamProject * > GetLoadedProjects ()
 Retrieves the list of loaded projects. More...
 

Detailed Description

Namespace containing functions for working with project files.

Function Documentation

◆ GetCurrentProject()

BlamProject * Guerilla::Projects::GetCurrentProject ( )
+ Here is the caller graph for this function:

◆ GetLoadedProjects()

std::vector< BlamProject * > Guerilla::Projects::GetLoadedProjects ( )

Retrieves the list of loaded projects.

Returns
The list of loaded projects.

◆ LoadProject()

BlamProject * Guerilla::Projects::LoadProject ( std::string  file_path)

Loads a project file from disk and prepares it for use.

Parameters
file_path- The path to the project file to load.
Returns
Pointer to the loaded project, or nullptr if the project failed to load.
+ Here is the caller graph for this function:

◆ LoadProjects()

void Guerilla::Projects::LoadProjects ( )

Attempts to load all available project folders.

This will attempt to load all projects within the Editing Kit projects folder, as well as any configured tag paths.

+ Here is the call graph for this function:

◆ SetCurrentProject()

void Guerilla::Projects::SetCurrentProject ( BlamProject project)

◆ UnloadProjects()

void Guerilla::Projects::UnloadProjects ( )

Releases all project data loaded into memory.

Should be called at shutdown.