Elaztek Developer Hub
Blamite Game Engine - blam!  00453.06.08.26.0624.blamite
The core library for the Blamite Game Engine.
world.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <stdint.h>
4 #include <vector>
5 #include <string>
6 #include <Strings/components/classes/vector/vector.h>
7 #include <Strings/components/classes/events/events.h>
9 
10 #ifndef BLAM
11 #define BLAM
12 #endif
13 
17 namespace Blam::World
18 {
23 
28 
32  BLAM void DestroyWorldState();
33 
38 
46 
53 }
Blam::World::GetWorldState
BLAM BlamWorldState * GetWorldState()
Retrieves the current world state.
Definition: world.cpp:56
destroy_world_state
bool destroy_world_state
Definition: world.cpp:9
logger.h
BLAM
#define BLAM
Definition: world.h:11
Blam::World::MarkWorldStateForDestroy
BLAM void MarkWorldStateForDestroy()
Marks the current world state to be destroyed before rendering the next frame.
Definition: world.cpp:51
Blam::World::InitializeWorldState
BLAM void InitializeWorldState()
Initializes a new world state.
Definition: world.cpp:11
world_objects.h
world.h
rendering.h
Blam::World::DestroyWorldStateIfMarked
BLAM void DestroyWorldStateIfMarked()
Destroys the current world state if marked for destruction.
Definition: world.cpp:42
Blam::World::DestroyWorldState
BLAM void DestroyWorldState()
Destroys the current world state.
Definition: world.cpp:31
Blam::World
Namespace containing functions for interacting with the current world state.
Definition: world.h:17
Blam::World::InitializeEmptyWorldState
BLAM void InitializeEmptyWorldState()
Initializes a new world state with no default objects.
Definition: world.cpp:21
current_world_state
BlamWorldState * current_world_state
Pointer to the current world state.
Definition: world.cpp:8
BlamWorldState
Class representing a world state.
Definition: world_objects.h:715
Blam::API::v1::World::DestroyWorldState
BLAM_EXT_API void DestroyWorldState()
Destroys the current world state.
Definition: api.cpp:228