Elaztek Developer Hub
Blamite Game Engine - blam!  00310.02.05.21.0336.blamite
The core library for the Blamite Game Engine.
tag_block< entry_structure > Struct Template Reference

Structure representing a tag block. More...

#include <tags.h>

Public Member Functions

 tag_block ()
 
entry_structure * GetEntry (int entry_index)
 

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...
 

Detailed Description

template<typename entry_structure>
struct tag_block< entry_structure >

Structure representing a tag block.

This is used to define a tag block in tag data.

Template Parameters
entry_structure-

Constructor & Destructor Documentation

◆ tag_block()

template<typename entry_structure >
tag_block< entry_structure >::tag_block ( )
inline

Member Function Documentation

◆ GetEntry()

template<typename entry_structure >
entry_structure* tag_block< entry_structure >::GetEntry ( int  entry_index)
inline

Member Data Documentation

◆ block_identifier

template<typename entry_structure >
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.

◆ entry_count

template<typename entry_structure >
int tag_block< entry_structure >::entry_count = 0

The number of entries within the tag block.

◆ entry_data_address

template<typename entry_structure >
void* tag_block< entry_structure >::entry_data_address

The address of the blocks' entry data.

◆ entry_size

template<typename entry_structure >
int tag_block< entry_structure >::entry_size = 0

The size of each block entry.

◆ reserved_0

template<typename entry_structure >
int tag_block< entry_structure >::reserved_0 = 0

4 reserved bytes for future use.

◆ reserved_1

template<typename entry_structure >
int tag_block< entry_structure >::reserved_1 = 0

4 reserved bytes for future use.


The documentation for this struct was generated from the following file: