GithubHelp home page GithubHelp logo

grangerhub / tremulous-game-logic Goto Github PK

View Code? Open in Web Editor NEW
12.0 7.0 8.0 49.89 MB

Game logic for Tremulous, maintained by GrangerHub

License: Other

Makefile 0.44% Assembly 0.20% C 98.33% GLSL 0.39% Objective-C 0.02% HTML 0.45% Roff 0.14% Yacc 0.03%
tremulous ioq3 idtech3 fps-game rts-game qvm foss quake3 alien scifi

tremulous-game-logic's Introduction

DEPENDENCIES:

jpeg-8c libogg-1.3.1 libspeex minizip opus-1.1 opusfile-0.5 sdl2 speexdsp zlib

(see below for additional client dependencies)

If you don't have these in your system, also clone the tremulous-dependencies repo and then make symbolic links into a directory called dep as in the following:

$ git clone <into tremulous-dependencies>
$ git clone <into tremulous-source>
$ cd tremulous-source
$ mkdir dep
$ cd dep
$ ln -s ../../tremulous-dependencies/* .

Note: libspeex is also provided in the ioQ3 repo, under code/libspeex. Download from [email protected]:ioquake/ioq3.git.

BUILDING THE SERVER:

Instead of editing GNUmakefile, make a file named GNUmakefile.local that contains macros you want to customize. A sample version has been provided in GNUmakefile.local-example. Check GNUmakefile for possible macros to control whether to build the client, server, or any other components. You can also specify whether to use any of the above provided dependencies (USE_INTERNAL_LIBS=1), or simply look for them in your system (USE_INTERNAL_LIBS=0). Finer level of control is available with macros for each dependency (see GNUmakefile).

Then, compile with:

$ make 

(You can add -j option to compile in parallel)

To compile with debug symbols:

$ make debug

BUILDING THE CLIENT:

The client has additional dependencies that need to be installed system-wide such that they can be found using the pkg-config command. These requirement are:

  • libcurl-dev(el)
  • SDL2-dev(el)
  • openal-dev(el)
  • libogg-dev(el)

RUNNING

To start a local server, run the client and issue:

/sv_pure 0
/map atcs

Clone the tremulous-dev-scripts repo for more scripts to run the server and client separately.

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.