2021-03-24 03:53:17 -07:00
# Dragonblocks alpha
## Usage
```bash
./DragonblocksServer < port >
./Dragonblocks < address > < port >
```
2021-03-24 05:27:59 -07:00
The server will save the map to a file named "map" in the directory it is run in. It will also load the map from there at startup, given that the file exists.
2021-03-24 03:53:17 -07:00
## Nodes:
- `unloaded` : used for nodes in unloaded mapblocks
- `air` : default node in newly generated mapblocks
- `dirt`
- `grass`
- `stone`
- `invalid` : unknown nodes received from server
Interrupt handlers for SIGINT und SIGTERM are implemented.
2021-03-24 08:05:08 -07:00
## Dependencies
The client depends on GLFW3, OpenGL and GLEW.
```bash
sudo apt install libgl1-mesa-dri libglfw3 libglew2.1
```