![]() |
Blamite Game Engine - blam!
00398.09.22.23.2015.blamite
The core library for the Blamite Game Engine.
|
Structure representing a tag block. More...
#include <tags.h>
Public Member Functions | |
entry_structure * | GetEntry (int entry_index) |
Retrieves an entry from the tag block. More... | |
Public Attributes | |
char | block_identifier [4] = {'t','b','f','d'} |
The tag block identifier. Will always be tbfd . More... | |
char | padding0 [4] |
Empty padding. 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 = nullptr |
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 | - |
|
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[4] = {'t','b','f','d'} |
The tag block identifier. Will 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 = nullptr |
The address of the blocks' entry data.
int tag_block< entry_structure >::entry_size = 0 |
The size of each block entry.
char tag_block< entry_structure >::padding0[4] |
Empty padding.
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.