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

#include "shared/types.hh"

namespace world
{
class Chunk;
class Dimension;
} // namespace world

class Session;

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

namespace world::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 world::universe