Giter VIP home page Giter VIP logo

engine-4's Introduction

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.

engine-4's People

Contributors

mgerhardy avatar anthraxx avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.