Go to file
Martin Gerhardy 9d268e1d16 CMAKE: added sanitizers 2018-10-13 12:21:02 +02:00
cmake CMAKE: fixed installation order to allow to override provided files 2018-10-03 14:52:33 +02:00
contrib CMAKE: added sanitizers 2018-10-13 12:21:02 +02:00
data TESTCORE: enable esc relative-mouse-mode switching 2018-10-03 14:52:33 +02:00
docs DOCS: removed docs 2018-06-19 20:22:34 +02:00
src CMAKE: added sanitizers 2018-10-13 12:21:02 +02:00
tools TOOLS: updated flextGL 2018-10-04 15:48:23 +02:00
.clang-tidy CMAKE: added sanitizers 2018-10-13 12:21:02 +02:00
.gitignore TESTGLSLGEOM: added geometry shader test application 2018-04-13 21:32:50 +02:00
.gitlab-ci.yml CI: use postgres service, shift env settings and cache settings 2018-06-22 16:04:46 +02:00
.travis.yml CI: disable rcon and qt related stuff on travis 2017-10-11 12:22:06 +02:00
CMakeLists.txt CMAKE: added sanitizers 2018-10-13 12:21:02 +02:00
Doxyfile.in DOXYGEN: updated doxygen template 2018-01-28 19:20:34 +01:00
Makefile MAKE: allow to run make without target 2018-09-09 11:04:47 +02:00
README.md README: added missing wayland package to apt-get command 2018-07-12 16:57:04 +02:00
TODO.md TODO: updated todo entries 2018-10-07 12:37:15 +02:00
appveyor.yml CI: download sdl2 for appveyor 2017-10-15 20:48:57 +02: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
    • nativefiledialog (+gtk3 or qt on linux)
    • enet
    • zlib
    • libuv
    • turbobadger
    • gtest
    • opencl
    • 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

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.