summaryrefslogtreecommitdiffstats
path: root/game/server/worldgen.hh
blob: b0127e5275f3cd73eac593b5cb910b98636186b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef SERVER_WORLDGEN_HH
#define SERVER_WORLDGEN_HH 1
#pragma once

#include "shared/types.hh"

class Dimension;
class Session;

namespace worldgen
{
void init(void);
} // namespace worldgen

namespace worldgen
{
bool is_generating(Dimension* dimension, const chunk_pos& cpos);
void request_chunk(Session* session, const chunk_pos& cpos);
} // namespace worldgen

#endif /* SERVER_WORLDGEN_HH */