![]() |
Blamite Game Engine - blam!
00406.12.10.23.1457.blamite
The core library for the Blamite Game Engine.
|
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 BlamWorldState * | GetWorldState () |
Retrieves the current world state. More... | |
BLAM Blam3DPrimitiveType | ConvertStringToPrimitiveType (std::string text) |
Converts a string representation of a primitive type to the equivalent Blam3DPrimitiveType value. More... | |
BLAM std::string | ConvertPrimitiveTypeToString (Blam3DPrimitiveType type) |
Converts a Blam3DPrimitiveType to a string representation. More... | |
BLAM std::vector< std::string > | GetPrimitiveTypeStringList () |
Creates a list of primitive types, represented as strings. More... | |
Namespace containing functions for interacting with the current world state.
std::string Blam::World::ConvertPrimitiveTypeToString | ( | Blam3DPrimitiveType | type | ) |
Converts a Blam3DPrimitiveType to a string representation.
type | - The primitive type to convert. |
Blam3DPrimitiveType Blam::World::ConvertStringToPrimitiveType | ( | std::string | text | ) |
Converts a string representation of a primitive type to the equivalent Blam3DPrimitiveType value.
text | - The string to convert. |
Cuboid
if the provided string did not match any primitive type. void Blam::World::DestroyWorldState | ( | ) |
Destroys the current world state.
std::vector< std::string > Blam::World::GetPrimitiveTypeStringList | ( | ) |
Creates a list of primitive types, represented as strings.
BlamWorldState * Blam::World::GetWorldState | ( | ) |
Retrieves the current world state.
nullptr
if the world state is not initialized. void Blam::World::InitializeEmptyWorldState | ( | ) |
Initializes a new world state with no default objects.
void Blam::World::InitializeWorldState | ( | ) |
Initializes a new world state.