Go to file
Dorian Wouters 559d4e39de
Add a few words to CoC
2018-09-09 15:49:35 +02:00
assets Move Lua modules; remove goodform 2017-10-14 12:39:36 +02:00
cmake Findmeiose.cmake: replace left MPACK with MEIOSE 2018-08-14 08:30:33 +02:00
doc Replace goodform with meiose; refactor game state management 2018-01-11 20:04:15 +01:00
ext Replace lzfx with lzo 2018-08-18 22:14:41 +02:00
include Support for multiple OpenGL Loaders: epoxy, glbinding, glad, glew 2017-02-25 15:43:24 -05:00
src Fix ambiguous LogInput::operator<<(size_t) on macOS 2018-08-18 23:39:47 +02:00
.gitignore Asset & Mod management base; PlayerUpdate->MsgTypes; add basic crypto 2016-08-28 10:51:39 +02:00
.gitmodules Update ENet (fix IPv6-related Windows issue) 2018-01-14 23:39:16 +01:00
CMakeLists.txt Shut GLM up about experimental extensions 2018-08-18 23:39:52 +02:00
CODE_OF_CONDUCT.md Add a few words to CoC 2018-09-09 15:49:35 +02:00
LICENSE.txt LICENSE: upgrade to AGPLv3 2017-03-18 13:44:51 -04:00
Mantra.txt Fix round-down division bug causing issues with block position 2016-01-02 20:03:37 +01:00
README.md README: fix typo 2018-09-09 15:49:09 +02:00

README.md

Diggler

A game of cubes and the like.

Obtaining source

This repository uses git submodules, do not download it using the "Download ZIP" option!

Instead, install git and your machine, and

git clone https://github.com/ElementW/Diggler.git
cd Diggler
git submodule update --init

Compiling

Diggler uses CMake to generate its build files. If you have an IDE that supports CMake, import the project. If you want to compile it using the command line:

mkdir build
cd build
cmake ..
make -j$(nproc)

Important note: Diggler does not support in-source builds, i.e. running CMake in the top level directory, due to 1. the impossibility to have multiple builds that way, and 2. because of the frequent build structure fuckery it causes. Make sure to configure your IDE/run CMake to have the build directory elsewhere. Disregarding this will have CMake bail out instantly as well as remind you of this one more time.

Dependencies

Diggler is written in C++14, so you need GCC 7+/clang 3.4+.

You need GLM, OpenAL, OpenGL (ES 2.0), libepoxy, glfw3, LuaJIT, sqlite3 and libsodium.

Linux

You should already have OpenGL available thanks to Mesa or proprietary drivers.

Arch: pacman -S glm openal libepoxy glfw luajit sqlite libsodium

Debian (Jessie w/ testing, or up) & derivatives: apt-get install libglm-dev libopenal-dev libepoxy-dev libglfw3-dev libx{i,randr}-dev libluajit-5.1-dev libsqlite3-dev libsodium-dev

Fedora (tested on F24): dnf install glm-devel openal-soft-devel libepoxy-devel glfw-devel luajit-devel sqlite-devel libsodium-devel

MinGW

MinGW64: pacman -S cmake gdb git make mingw-w64-x86_64-{gcc,glfw,glm,lib{epoxy,sodium},luajit-git,openal,sqlite3} unzip