 |
Blamite Game Engine - Keystone
00326.06.27.21.0407.blamite
A library that enables the use of Qt in Blamite's editing tools.
|
Go to the documentation of this file.
5 #include <Strings/components/diagnostics/errors/errors.h>
6 #include <Strings/components/3rdparty/rapidxml/rapidxml.hpp>
37 std::map<std::string, BlamKeystoneResource>
resources;
KEYSTONE BlamKeystoneResourceGroup * GetResourceGroup(std::string group_id)
Retrieves a resource group.
Definition: resources.cpp:150
KEYSTONE std::string GetResourcePath(std::string group_id, std::string id)
Retrieves the file path for a given resource.
Definition: resources.cpp:127
Functions used in loading and accessing Keystone resources.
Definition: resources.h:45
KEYSTONE BlamResult LoadResources(std::string resource_file)
Loads a new resource group.
Definition: resources.cpp:85
KEYSTONE BlamKeystoneResourceGroup ParseResourceGroupXML(std::string base_dir, std::string resource_file, rapidxml::xml_node<> *root_node, BlamResult *result)
Parses a resource group from the resource group's XML file.
Definition: resources.cpp:11
Structure representing a Keystone resource group.
Definition: resources.h:34
Structure representing a Keystone resource.
Definition: resources.h:21
#define KEYSTONE
Definition: resources.h:9
std::map< std::string, BlamKeystoneResource > resources
The list of resources contained within this group.
Definition: resources.h:37
std::string file_path
The path to the file associated with this resource.
Definition: resources.h:24
KEYSTONE bool ResourceExists(std::string group_id, std::string id)
Determines if a resource exists within a given group.
Definition: resources.cpp:137
std::string id
The ID of the resource.
Definition: resources.h:23
std::string group_name
The name/ID of this group.
Definition: resources.h:36