summaryrefslogtreecommitdiffstats
path: root/src/game/server/world/universe.hh
blob: 31d37214d69e2c7065cb3ed2e9e7614bcc2f3766 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#pragma once

#include "shared/types.hh"

class Chunk;
class Dimension;

struct Session;

namespace universe
{
void init(void);
void init_late(void);
void shutdown(void);
} // namespace universe

namespace universe
{
Chunk* load_chunk(Dimension* dimension, const chunk_pos& cpos);
void save_chunk(Dimension* dimension, const chunk_pos& cpos);
void save_all_chunks(Dimension* dimension);
} // namespace universe