Go to file
Elias Fleckenstein 8e5a653efb Implement MapBlock mesh generation 2021-03-27 20:35:06 +01:00
deps Add linmath submodule 2021-03-24 16:05:08 +01:00
shaders Add shaders 2021-03-27 18:36:43 +01:00
src Implement MapBlock mesh generation 2021-03-27 20:35:06 +01:00
.gitattributes Add .gitattributes 2021-03-24 13:56:44 +01:00
.gitignore Add release script 2021-03-24 13:44:36 +01:00
.gitmodules Add linmath submodule 2021-03-24 16:05:08 +01:00
BUILDING.md Re-add float types 2021-03-25 20:21:50 +01:00
README.md Document singleplayer script in README.md 2021-03-27 19:33:31 +01:00
release.sh Update release script to include subdirectories recursively 2021-03-27 19:30:14 +01:00
singleplayer.sh Add singleplayer script 2021-03-27 19:32:13 +01:00

README.md

Dragonblocks alpha

Usage

./DragonblocksServer <port>
./Dragonblocks <address> <port>

or alternatively:

./singleplayer.sh

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.

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.

Dependencies

The client depends on GLFW3, OpenGL and GLEW.

sudo apt install libgl1-mesa-dri libglfw3 libglew2.1