Go to file
Martin Gerhardy b4f0a8f4d5 CORE: updated doxygen 2018-06-22 16:04:46 +02:00
cmake CMAKE: converted some update libs targets and added debugger support 2018-06-22 15:48:58 +02:00
contrib DATA: refactored the way the assets are installed 2018-06-22 15:48:58 +02:00
data DATA: refactored the way the assets are installed 2018-06-22 15:48:58 +02:00
docs DOCS: removed docs 2018-06-19 20:22:34 +02:00
src CORE: updated doxygen 2018-06-22 16:04:46 +02:00
tools CMAKE: moved flextgl from shell to cmake 2018-06-19 20:22:08 +02:00
.gitignore TESTGLSLGEOM: added geometry shader test application 2018-04-13 21:32:50 +02:00
.gitlab-ci.yml CI: use xml files for cppcheck and valgrind 2017-11-18 15:08:01 +01:00
.travis.yml CI: disable rcon and qt related stuff on travis 2017-10-11 12:22:06 +02:00
CMakeLists.txt CMAKE: converted some update libs targets and added debugger support 2018-06-22 15:48:58 +02:00
Doxyfile.in DOXYGEN: updated doxygen template 2018-01-28 19:20:34 +01:00
Makefile MAKE: removed targets 2018-06-22 15:48:58 +02:00
README.md README: added postgres information 2018-02-25 20:17:08 +01:00
TODO.md DATA: refactored the way the assets are installed 2018-06-22 15:48:58 +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

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.