25 lines
581 B
C++
25 lines
581 B
C++
#pragma once
|
|
#include <deerith/world/world_core.h>
|
|
#include <deerith/world/environment.h>
|
|
#include <deerith/client/graphics/texture.h>
|
|
#include <deerith/client/graphics/shader.h>
|
|
#include <glm/glm.hpp>
|
|
|
|
namespace deerith
|
|
{
|
|
struct client_t;
|
|
|
|
bool connect_to_world(const char *address, int port);
|
|
void shutdown_world();
|
|
|
|
bool is_world_running();
|
|
void render_world();
|
|
|
|
void generate_cluster(voxel_cluster_t *_cluster);
|
|
void load_clusters_to_gpu();
|
|
|
|
shader_t *get_voxel_shader();
|
|
texture_t *get_voxel_texture();
|
|
|
|
client_t *get_server_client();
|
|
} |