 |
Blamite Game Engine - Sapien (Library)
00423.10.27.24.0533.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/tags/fields/block/block.h>
5 #include <HEKGuerilla/components/projects/projects.h>
7 #ifdef SAPIEN_LIB_EXPORTS
8 #define SAPIEN_LIB_API __declspec(dllexport)
10 #define SAPIEN_LIB_API __declspec(dllimport)
BlamWorldObject * world_object
The world object that this node refers to.
Definition: hierarchy.h:178
SAPIEN_LIB_API BlamTag * GetActiveScenarioTag()
Retrieves the currently active scenario tag.
Definition: scenario.cpp:28
#define SAPIEN_LIB_API
Definition: scenario.h:10
void Refresh()
Rebuilds the entire hierarchy data from world state and active scenario, cleaning up old data in the ...
Definition: BlamScenarioHierarchy.cpp:24
SAPIEN_LIB_API std::vector< std::string > GetPaletteTypes()
Retrieves a list of available scenario palette types, where each item is a string representing a long...
Definition: scenario.cpp:219
BlamTag * active_scenario
Definition: scenario.cpp:20
std::map< int, BlamScenarioHierarchyNode_Group * > folder_ids
A map containing a list of all folder IDs, and their respective node groups.
Definition: hierarchy.h:240
SAPIEN_LIB_API BlamProject * GetActiveProject()
Retrieves the currently active project.
Definition: scenario.cpp:23
SAPIEN_LIB_API BlamTagField_Block * GetPalette(BlamTag *scenario, std::string type)
Retrieves a palette block from a scenario tag.
Definition: scenario.cpp:227
SAPIEN_LIB_API bool LoadScenario(std::string project_name, std::string tag_path)
Loads a scenario tag.
Definition: scenario.cpp:167
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:54
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:90
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:19
Class representing a scenario hierarchy.
Definition: hierarchy.h:223
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:144
Class representing an object hierarchy node.
Definition: hierarchy.h:175
SAPIEN_LIB_API void SaveScenario()
Attempts to save any changes back to the scenario tag.
Definition: scenario_save.cpp:249
SAPIEN_LIB_API BlamScenarioHierarchy * GetHierarchy()
Retrieves the current scenario hierarchy.
Definition: hierarchy.cpp:24
BlamProject * active_project
Definition: scenario.cpp:21
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:122
SAPIEN_LIB_API BlamTagField_Block * GetPaletteItems(BlamTag *scenario, std::string type)
Retrieves a palette items block from a scenario tag.
Definition: scenario.cpp:237
SAPIEN_LIB_API bool PlaceNewInstance(BlamVector3 position, std::string type, int index, int folder_index)
Definition: scenario.cpp:247
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:33