blob: 164ff01fc5c19e15195f22fc6d61ab298150e032 (
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
26
27
28
29
|
#ifndef SERVER_UNIVERSE_HH
#define SERVER_UNIVERSE_HH 1
#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
#endif // SERVER_UNIVERSE_HH
|