![]() |
Blamite Game Engine - Guerilla
00308.02.02.21.2032.blamite
The tag editor for the Blamite Game Engine.
|
#include "tags.h"#include <fstream>#include <Strings/components/utils/io/io.h>#include <Strings/components/utils/converters/converters.h>#include <Strings/components/utils/xml/xml.h>#include <blam/version_data.h>#include "fields/ascii/ascii.h"#include "fields/enum/enum.h"#include "fields/int/int.h"#include "fields/float32/float32.h"#include "fields/bitfield/bitfield.h"#include "fields/block/block.h"#include "components/logger/logger.h"Macros | |
| #define | ENGINE_VERSION "00308.02.02.21.2032.blamite" |
Functions | |
| std::vector< BlamTagField * > | decompile_tag_segment (BlamTag *tag, std::vector< BlamPluginField * > fields, int base_size, std::ifstream *tag_file) |
| Decompiles a compiled tag segment. More... | |
| std::vector< char > | build_tag_data_segment (int start_offset, int base_size, std::vector< BlamTagField * > fields) |
| Compiles a list of tag fields into a binary format. More... | |
| #define ENGINE_VERSION "00308.02.02.21.2032.blamite" |
| std::vector<char> build_tag_data_segment | ( | int | start_offset, |
| int | base_size, | ||
| std::vector< BlamTagField * > | fields | ||
| ) |
Compiles a list of tag fields into a binary format.
| start_offset | - The start offset for the fields, used when fixing up tag block offsets. |
| base_size | - The base size of the list of fields. |
| fields | - The list of fields to compile. |
| std::vector<BlamTagField*> decompile_tag_segment | ( | BlamTag * | tag, |
| std::vector< BlamPluginField * > | fields, | ||
| int | base_size, | ||
| std::ifstream * | tag_file | ||
| ) |
Decompiles a compiled tag segment.
This is used to decompile tag data for use within Guerilla. A "segment" in this case simply refers to either the base tag data, or a tag block's entry data.
| tag | - The tag being decompiled. |
| fields | - The list of plugin fields associated with this segment. |
| base_size | - The size of the tag segment. |
| tag_file | - The input file stream to read data from. |