![]() |
Blamite Game Engine - blam!
00346.12.11.21.0529.blamite
The core library for the Blamite Game Engine.
|
Structure representing a tag block. More...
#include <tags.h>
Public Member Functions | |
tag_block () | |
Initializes a new tag_block. More... | |
entry_structure * | GetEntry (int entry_index) |
Retrieves an entry from the tag block. More... | |
Public Attributes | |
char | block_identifier [8] |
Special variable that is used for saving tag data to a file from within the engine. Should always be tbfd . More... | |
int | entry_size = 0 |
The size of each block entry. More... | |
int | reserved_0 = 0 |
4 reserved bytes for future use. More... | |
void * | entry_data_address |
The address of the blocks' entry data. More... | |
int | entry_count = 0 |
The number of entries within the tag block. More... | |
int | reserved_1 = 0 |
4 reserved bytes for future use. More... | |
Structure representing a tag block.
This is used to define a tag block in tag data.
entry_structure | - |
Initializes a new tag_block.
|
inline |
Retrieves an entry from the tag block.
entry_index | - The index of the desired entry. |
nullptr
if the index was out of range. char tag_block< entry_structure >::block_identifier[8] |
Special variable that is used for saving tag data to a file from within the engine. Should always be tbfd
.
int tag_block< entry_structure >::entry_count = 0 |
The number of entries within the tag block.
void* tag_block< entry_structure >::entry_data_address |
The address of the blocks' entry data.
int tag_block< entry_structure >::entry_size = 0 |
The size of each block entry.
int tag_block< entry_structure >::reserved_0 = 0 |
4 reserved bytes for future use.
int tag_block< entry_structure >::reserved_1 = 0 |
4 reserved bytes for future use.