Giter Site home page Giter Site logo

quake2sdl's Introduction

Quake2 SDL

This is a port of Quake2 based on icculus quake2lnx. Changes are:

  • Switched to SDL2 from SDL1.2. This allows you to run the game on Wayland.
  • The building system is now cmake.
  • Lots of unmaintained source code removed, including the code for different platforms like Solaris, IRIX, etc. This code was almost identical to one found in src/linux. Also I removed the code related to X11 and SVGAlib.
  • Software renderer has a bug in a code which draws alpha surfaces. Just switch drawing of alpha surfaces off now.
  • Audio CD playback is switched off (Does anyone have CD drive now? ).
  • Apply bugfixes from FreeBSD ports.
  • Fix some compiler warnings and possible bugs.
  • Add 1920x1080 screen resolution.

TODO:

  • Remove even more boilerplate and machine-dependent code, use SDL crossplatform stuff.
  • Fix alpha surfaces rendering in software renderer.
  • Build CTF mode.

Building and installation

To build Quake2 SDL install SDL2, OpenGL and jpeg libraries, then run the following commands:

mkdir build
cd build
cmake ..
make
make install

You can pass -DWITH_QMAX=ON option to cmake to build an improved OpenGL renderer or -DWITH_RETEX=ON to allow retexture packs. You will need to download these packs from icculus site (download .pak files). You will also need pak0.pak from the original game. Place these files where game.so is installed or to /install/prefix/share/quake2/baseq2.

quake2sdl's People

Contributors

shamazmazum avatar

Stargazers

Roman Hossain Shaon avatar  avatar

Watchers

 avatar James Cloos avatar  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.