2020-01-17 20:43:28 +00:00
|
|
|
#include "voxel_string_names.h"
|
|
|
|
|
|
|
|
VoxelStringNames *VoxelStringNames::g_singleton;
|
|
|
|
|
|
|
|
void VoxelStringNames::create_singleton() {
|
|
|
|
CRASH_COND(g_singleton != nullptr);
|
|
|
|
g_singleton = memnew(VoxelStringNames);
|
|
|
|
}
|
|
|
|
|
|
|
|
void VoxelStringNames::destroy_singleton() {
|
|
|
|
CRASH_COND(g_singleton == nullptr);
|
|
|
|
memdelete(g_singleton);
|
|
|
|
g_singleton = nullptr;
|
|
|
|
}
|
|
|
|
|
|
|
|
VoxelStringNames::VoxelStringNames() {
|
|
|
|
|
|
|
|
emerge_block = StaticCString::create("emerge_block");
|
|
|
|
immerge_block = StaticCString::create("immerge_block");
|
2020-01-26 22:34:26 +00:00
|
|
|
generate_block = StaticCString::create("generate_block");
|
2020-02-15 03:12:13 +08:00
|
|
|
get_used_channels_mask = StaticCString::create("get_used_channels_mask");
|
2020-01-17 20:43:28 +00:00
|
|
|
|
|
|
|
u_transition_mask = StaticCString::create("u_transition_mask");
|
|
|
|
}
|