Elaztek Developer Hub
Blamite Game Engine - Guerilla (Library)  00390.07.02.23.1947.blamite
The tag editor for the Blamite Game Engine.
tags.cpp File Reference
#include "tags.h"
#include <Strings/components/resources/strings/strings.h>
#include <Strings/components/logger/logger.h>
#include <Strings/components/utils/string/string.h>
#include "components/tags/fields/block/block.h"
#include "components/projects/projects.h"
+ Include dependency graph for tags.cpp:

Functions

BlamTagFieldGetMissingFieldsComment ()
 Creates a new comment field containing a message about missing fields. More...
 
BlamTagFieldLinkField (BlamTagField *tag_field, BlamPluginField *plugin_field, BlamTag *tag)
 Links a given field with its associated plugin data, if available. More...
 

Function Documentation

◆ GetMissingFieldsComment()

BlamTagField* GetMissingFieldsComment ( )

Creates a new comment field containing a message about missing fields.

This is used to inform the user if any fields within the tag do not exist within the plugin file, and thus, would not be available when the tag is compiled.

Returns
Pointer to the new comment field.
+ Here is the caller graph for this function:

◆ LinkField()

BlamTagField* LinkField ( BlamTagField tag_field,
BlamPluginField plugin_field,
BlamTag tag 
)

Links a given field with its associated plugin data, if available.

Parameters
tag_field- The tag field to link. If this is nullptr, a new field is created from the plugin field.
plugin_field- The plugin field to link with the tag field.
tag- The tag associated with the tag field.
Returns
Pointer to the final field.
+ Here is the call graph for this function:
+ Here is the caller graph for this function: