 |
Blamite Game Engine - Sapien (Library)
00411.04.21.24.0017.blamite
The level editor application for the Blamite Game Engine.
|
Go to the documentation of this file.
3 #include <HEKGuerilla/components/tags/tags.h>
4 #include <HEKGuerilla/components/projects/projects.h>
6 #ifdef SAPIEN_LIB_EXPORTS
7 #define SAPIEN_LIB_API __declspec(dllexport)
9 #define SAPIEN_LIB_API __declspec(dllimport)
BlamScenarioHierarchyNode * parent_node
The parent node, if any, of this hierarchy node.
Definition: hierarchy.h:43
BlamWorldObject * world_object
The world object that this node refers to.
Definition: hierarchy.h:169
SAPIEN_LIB_API BlamTag * GetActiveScenarioTag()
Retrieves the currently active scenario tag.
Definition: scenario.cpp:26
#define SAPIEN_LIB_API
Definition: scenario.h:9
void Refresh()
Rebuilds the entire hierarchy data from world state and active scenario, cleaning up old data in the ...
Definition: BlamScenarioHierarchy.cpp:24
BlamTag * active_scenario
Definition: scenario.cpp:18
std::map< int, BlamScenarioHierarchyNode_Group * > folder_ids
A map containing a list of all folder IDs, and their respective node groups.
Definition: hierarchy.h:231
BlamScenarioHierarchyNodeType GetType()
Retrieves the type of this node.
Definition: BlamScenarioHierarchyNode.cpp:20
SAPIEN_LIB_API BlamProject * GetActiveProject()
Retrieves the currently active project.
Definition: scenario.cpp:21
std::string GetName()
Retrieves the display name of the hierarchy node.
Definition: BlamScenarioHierarchyNode_Object.cpp:42
int folder_id
The folder ID of this group. This number should be unique within the hierarchy.
Definition: hierarchy.h:88
SAPIEN_LIB_API bool LoadScenario(std::string project_name, std::string tag_path)
Loads a scenario tag.
Definition: scenario.cpp:165
SAPIEN_LIB_API bool LoadScenario_Stage2(std::string project_name, std::string tag_path)
Performs stage 2 of loading a scenario tag.
Definition: scenario.cpp:52
SAPIEN_LIB_API bool LoadScenario_Stage3(std::string project_name, std::string tag_path)
Performs stage 3 of loading a scenario tag.
Definition: scenario.cpp:88
SAPIEN_LIB_API void PrepareHierarchy()
Prepares a new scenario hierarchy.
Definition: hierarchy.cpp:7
Namespace containing functions for interacting with a scenario.
Definition: scenario.h:18
Class representing a scenario hierarchy.
Definition: hierarchy.h:214
virtual std::string GetName()
Retrieves the display name of the hierarchy node.
Definition: BlamScenarioHierarchyNode.cpp:15
SAPIEN_LIB_API bool LoadScenario_Stage5(std::string project_name, std::string tag_path)
Performs stage 5 of loading a scenario tag.
Definition: scenario.cpp:142
Base class for hierarchy nodes.
Definition: hierarchy.h:27
int GetChildCount()
Retrieves the total number of child nodes.
Definition: BlamScenarioHierarchyNode_Group.cpp:69
Class representing an object hierarchy node.
Definition: hierarchy.h:166
BlamScenarioHierarchyNode * GetChildAt(int index)
Retrieves the child node at the specified index.
Definition: BlamScenarioHierarchyNode_Group.cpp:59
Class representing a group hierarchy node.
Definition: hierarchy.h:82
SAPIEN_LIB_API void SaveScenario()
Attempts to save any changes back to the scenario tag.
Definition: scenario.cpp:217
SAPIEN_LIB_API BlamScenarioHierarchy * GetHierarchy()
Retrieves the current scenario hierarchy.
Definition: hierarchy.cpp:24
BlamProject * active_project
Definition: scenario.cpp:19
SAPIEN_LIB_API bool LoadScenario_Stage4(std::string project_name, std::string tag_path)
Performs stage 4 of loading a scenario tag.
Definition: scenario.cpp:120
@ Object
Indicates the hierarchy node is a BlamScenarioHierarchyNode_Object.
SAPIEN_LIB_API bool LoadScenario_Stage1(std::string project_name, std::string tag_path)
Performs stage 1 of loading a scenario tag.
Definition: scenario.cpp:31