22 lines
558 B
C++
22 lines
558 B
C++
#pragma once
|
|
|
|
namespace deerith
|
|
{
|
|
struct atlas_builder_t;
|
|
struct texture_atlas_t;
|
|
struct voxel_cluster_t;
|
|
|
|
struct world_settings_t
|
|
{
|
|
int port = 8080;
|
|
|
|
std::function<void(atlas_builder_t &)> define_voxel_texture_atlas_function;
|
|
std::function<void(texture_atlas_t *)> define_voxels_materials_function;
|
|
std::function<void()> define_voxels_types_function;
|
|
|
|
std::function<void(voxel_cluster_t *)> generate_voxel_cluster;
|
|
};
|
|
|
|
void run_world(const world_settings_t &);
|
|
void shutdown_world();
|
|
} |