 |
Blamite Game Engine - Sapien (Library)
00433.02.16.25.2127.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:22
#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:199
SAPIEN_LIB_API int ReserveFolderIndex()
Reserves a new folder index within the current scenario.
Definition: scenario.cpp:291
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 BlamTagField_Block * GetPalette(BlamTag *scenario, std::string type)
Retrieves a palette block from a scenario tag.
Definition: scenario.cpp:207
SAPIEN_LIB_API bool LoadScenario_Stage2(std::string tag_path)
Performs stage 2 of loading a scenario tag.
Definition: scenario.cpp:71
SAPIEN_LIB_API bool LoadScenario(std::string tag_path)
Loads a scenario tag.
Definition: scenario.cpp:146
SAPIEN_LIB_API void PrepareHierarchy()
Prepares a new scenario hierarchy.
Definition: hierarchy.cpp:7
SAPIEN_LIB_API bool LoadScenario_Stage3(std::string tag_path)
Performs stage 3 of loading a scenario tag.
Definition: scenario.cpp:91
SAPIEN_LIB_API bool LoadScenario_Stage1(std::string tag_path)
Performs stage 1 of loading a scenario tag.
Definition: scenario.cpp:32
Namespace containing functions for interacting with a scenario.
Definition: scenario.h:19
Class representing a scenario hierarchy.
Definition: hierarchy.h:223
SAPIEN_LIB_API void PreScenarioLoad()
Performs tasks that must be run prior to loading a new scenario tag.
Definition: scenario.cpp:27
Class representing an object hierarchy node.
Definition: hierarchy.h:175
SAPIEN_LIB_API bool LoadScenario_Stage4(std::string tag_path)
Performs stage 4 of loading a scenario tag.
Definition: scenario.cpp:114
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
SAPIEN_LIB_API BlamTagField_Block * GetPaletteItems(BlamTag *scenario, std::string type)
Retrieves a palette items block from a scenario tag.
Definition: scenario.cpp:217
SAPIEN_LIB_API bool PlaceNewInstance(BlamVector3 position, std::string type, int index, int folder_index)
Places a new instance of a tag within the scenario.
Definition: scenario.cpp:227