Go to file
Martin Gerhardy b87ef7cdac CMAKE: allow to disable unity builds 2019-02-15 17:16:57 +01:00
cmake CMAKE: allow to disable unity builds 2019-02-15 17:16:57 +01:00
contrib UI: moved turbobadger into own source tree 2019-02-06 14:32:57 +01:00
data UI: implemented save support for file dialog 2019-02-05 21:05:22 +01:00
docs DOCS: removed docs 2018-06-19 20:22:34 +02:00
src ALL: fixed missing header includes 2019-02-15 17:16:57 +01:00
tools TOOLS: added iqm exporter 2018-11-30 07:38:16 +01:00
.dockerignore DOCKER: ignore the git directory 2018-11-20 20:22:01 +01:00
.gitignore CMAKE: support for local cmake settings 2018-10-22 17:37:37 +02:00
.gitlab-ci.yml CI: collect gtest results 2018-10-27 11:17:35 +02:00
.travis.yml CI: disable rcon and qt related stuff on travis 2017-10-11 12:22:06 +02:00
CMakeLists.txt CMAKE: allow to disable unity builds 2019-02-15 17:16:57 +01:00
Doxyfile.in DOXYGEN: updated doxygen template 2018-01-28 19:20:34 +01:00
LICENSE LICENSE: added license notes 2018-10-27 17:48:09 +02:00
Makefile TURBOBADGER: use stb_image.h from image module 2019-02-06 16:00:00 +01:00
README.md UI: replaced nativefiledialog with turbobadger implementation 2018-12-14 20:37:44 +01:00
TODO.md UI: replaced nativefiledialog with turbobadger implementation 2018-12-14 20:37:44 +01:00
appveyor.yml APPVEYOR: renamed files 2018-11-16 20:29:29 +01:00

README.md

Build status Build Status

About

Voxel MMO RPG engine.

Dependencies

  • cmake
  • postgre
  • development headers/libs for
    • glm
    • assimp
    • lua >= 5.3
    • sdl2 > 2.0.4
    • libcurl
    • postgresql-server-dev >= 9.5
    • libpq
    • enet
    • zlib
    • libuv
    • turbobadger
    • gtest
    • opencl
    • libuuid
    • qt (for the rcon tool)

Some of these dependencies might not be available as packages in your toolchain - most of them are also bundled with the application. But local installed headers always have the higher priority.

Debian

apt-get install libglm-dev libassimp-dev lua5.3 liblua5.3-dev libsdl2-dev postgresql-server-dev-10 libpq-dev libenet-dev libgtk-3-dev qt5-default qttools5-dev qttools5-dev-tools opencl-c-headers wayland-protocols pkg-config uuid-dev

If you want to run the database server locally, you have to install the postgres server package:

apt-get install postgresql-10 postgresql-contrib

CREATE EXTENSION pgcrypto;

Arch Linux

pacman [...]

MacPorts

port install qt5 postgresql95-server

Windows

vcpkg install sdl2 curl libuv zlib libpq lua glm glslang gtest qt5

Building

You can just run make in the project root folder.

Running the tests

The tests need a postgres database named engine and a user named engine with the password.... engine (you can modify them via cvars). If no OpenGL or OpenCL context is available, the related tests are skipped.

Setup

PostgreSQL

first sudo as postgres default superuser 'postgres' on bash

sudo -i -u postgres

adding an new new user by typing

createuser -s engine

create a new database

createdb engine

now start postgres and add password for these user

psql

write this statement

ALTER USER engine WITH PASSWORD 'engine';

For the tests you need a different database called enginetest.

More information

For more information, please check out the wiki or the doxygen documentation.