Elaztek Developer Hub
Blamite Game Engine - blam!  00398.09.22.23.2015.blamite
The core library for the Blamite Game Engine.
Blam::World Namespace Reference

Namespace containing functions for interacting with the current world state. More...

Functions

BLAM void InitializeWorldState ()
 Initializes a new world state. More...
 
BLAM void InitializeEmptyWorldState ()
 Initializes a new world state with no default objects. More...
 
BLAM void DestroyWorldState ()
 Destroys the current world state. More...
 
BLAM_EXT_API BlamWorldStateGetWorldState ()
 Retrieves the current world state. More...
 
BLAM_EXT_API Blam3DPrimitiveType ConvertStringToPrimitiveType (std::string text)
 
BLAM_EXT_API std::string ConvertPrimitiveTypeToString (Blam3DPrimitiveType type)
 
BLAM_EXT_API std::vector< std::string > GetPrimitiveTypeStringList ()
 

Detailed Description

Namespace containing functions for interacting with the current world state.

Function Documentation

◆ ConvertPrimitiveTypeToString()

std::string Blam::World::ConvertPrimitiveTypeToString ( Blam3DPrimitiveType  type)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ConvertStringToPrimitiveType()

Blam3DPrimitiveType Blam::World::ConvertStringToPrimitiveType ( std::string  text)
+ Here is the call graph for this function:

◆ DestroyWorldState()

void Blam::World::DestroyWorldState ( )

Destroys the current world state.

+ Here is the caller graph for this function:

◆ GetPrimitiveTypeStringList()

std::vector< std::string > Blam::World::GetPrimitiveTypeStringList ( )
+ Here is the call graph for this function:

◆ GetWorldState()

BlamWorldState * Blam::World::GetWorldState ( )

Retrieves the current world state.

Returns
Pointer to the current world state, or nullptr if the world state is not initialized.
+ Here is the caller graph for this function:

◆ InitializeEmptyWorldState()

void Blam::World::InitializeEmptyWorldState ( )

Initializes a new world state with no default objects.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ InitializeWorldState()

void Blam::World::InitializeWorldState ( )

Initializes a new world state.

+ Here is the call graph for this function:
+ Here is the caller graph for this function: