21 lines
392 B
C++
21 lines
392 B
C++
#ifndef WORLD_H
|
|
#define WORLD_H
|
|
|
|
#include "world/trunk.h"
|
|
#include "world/block.h"
|
|
#include <vector>
|
|
#include <mutex>
|
|
|
|
enum WorldRequire
|
|
{
|
|
NoneReq,
|
|
BlockReq,
|
|
ExitReq,
|
|
};
|
|
|
|
|
|
void world_simulator(std::vector<WorldRequire> &require_pipe, std::mutex &require_pipe_lock,
|
|
std::vector<std::vector<std::tuple<glm::ivec3, Block &>>> &blocks_pipe, std::mutex &blocks_pipe_lock);
|
|
|
|
#endif
|