Skip to content

mzwaal/engine

 
 

Repository files navigation

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.

About

Home of a voxel game engine and its tools (like a voxel editor)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • C++ 56.8%
  • C 39.4%
  • Objective-C 1.3%
  • CMake 1.1%
  • Python 0.7%
  • Yacc 0.3%
  • Other 0.4%