Blamite Game Engine - blam!  00296.01.12.21.0102.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 [6]
 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...
 
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...
 

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.

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[6]

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.


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