Blamite Game Engine - blam!  00296.01.12.21.0102.blamite
The core library for the Blamite Game Engine.
tags.h File Reference
#include <string>
#include <vector>
#include <Windows.h>
#include "components/3rdparty/imgui/imgui.h"
#include "components/diagnostics/logger/logger.h"

Go to the source code of this file.

Classes

class  tag_memory_data
 Class representing a tag's data. More...
 
struct  tag_block< entry_structure >
 Structure representing a tag block. More...
 
struct  tag_reference
 Structure representing a tag reference. More...
 

Namespaces

 Blam
 Namespace surrounding all major engine components.
 
 Blam::Content
 
 Blam::Content::Tags
 Namespace containing things related to tag data.
 

Macros

#define BLAM
 

Enumerations

enum  TagOrigin { BinaryFile, Memory, XMLFile, CacheFile }
 Enum used to specify a tag's origin. More...
 

Functions

BLAM void Blam::Content::Tags::ShowImPropertyEditor (void *tag, std::string tag_class)
 Shows an ImGUI editor for a given tag. More...
 
BLAM std::string Blam::Content::Tags::RegisterCreatedTag (void *tag, std::string tag_class)
 
BLAM HRESULT Blam::Content::Tags::LoadTagFromFile (std::string tag_path)
 Loads a tag from the engine's tag directory (default is '. More...
 
BLAM HRESULT Blam::Content::Tags::SaveTag (void *tag_data, std::string tag_class, int tag_size, std::string tag_path)
 Saves a tag data to a file. More...
 
BLAM tag_memory_dataBlam::Content::Tags::GetTagData (std::string tag_path)
 Retrieves information for a given tag. More...
 
BLAM void Blam::Content::Tags::CleanupTagData ()
 
BLAM std::vector< tag_memory_data > * Blam::Content::Tags::GetLoadedTags ()
 Retrieves the list of loaded tag data. More...
 

Macro Definition Documentation

◆ BLAM

#define BLAM

Enumeration Type Documentation

◆ TagOrigin

enum TagOrigin

Enum used to specify a tag's origin.

Enumerator
BinaryFile 

Indicates the tag originated from a binary file.

Memory 

Indicates the tag originated from the engine's memory.

XMLFile 

Indicates the tag originated from an XML file. Currently unsupported.

CacheFile 

Indicates the tag originated from a Blam Cache File (.map).