Commit graph

7 commits

Author SHA1 Message Date
Eelco Dolstra 3ba77c1b40 * Get the Unreal Tournament 2004 demo to work with the new scheme for
handling OpenGL.

svn path=/nixpkgs/trunk/; revision=4616
2006-01-30 11:44:39 +00:00
Eelco Dolstra 7f74c406c4 * In Quake 3, by default use Mesa as the OpenGL implementation. But
allow the OpenGL implementation to be overriden through the
  OPENGL_DRIVER environment variable.  If it is not set, we use the
  implementation installed in the profile
  /nix/var/nix/profiles/opengl, allowing easy late binding by the
  user, e.g.,

    $ nix-env -p /nix/var/nix/profiles/opengl -i nvidia-sys-opengl

  might install the NVidia OpenGL implementation.

  The code that does this is not specific to Quake 3: it has been
  factored out into build-support/opengl/mesa-switch.sh.  Presumably
  any application that requires hardware-accelerated OpenGL needs it.

* Add the Quake 3 demo to the cache.

svn path=/nixpkgs/trunk/; revision=4612
2006-01-28 00:41:16 +00:00
Eelco Dolstra 3263d078dd * Get the Quake 3 demo data to work with the open source Quake 3.
quake3/demo takes care of downloading and patching the required PAK
  files.  quake3/wrapper calls the Quake binary with a synthesised
  directory of symlinks to activated PAK files.  This should make it
  easy to plug in the commercial PAKs, or third-party mods.

svn path=/nixpkgs/trunk/; revision=4611
2006-01-27 23:51:36 +00:00
Eelco Dolstra 6557c84b19 * Fix the fix.
svn path=/nixpkgs/trunk/; revision=4601
2006-01-26 18:53:45 +00:00
Armijn Hemel 691e719ef0 fix the Nix expression, so it evaluates correctly...
svn path=/nixpkgs/trunk/; revision=4599
2006-01-26 18:50:25 +00:00
Eelco Dolstra d24417654c * Put a tarball of the Quake 3 sources somewhere.
svn path=/nixpkgs/trunk/; revision=4596
2006-01-26 15:31:37 +00:00
Eelco Dolstra 059858741c * Added basic Quake 3. Some wrapper stuff is still needed to get it
to work "out of the box" with hardware acceleration and either the
  shareware or full PAK files.  But with some hackery, I have gotten
  it to work with both Mesa software rendering and NVidia hardware
  rendering.

svn path=/nixpkgs/trunk/; revision=4595
2006-01-26 14:43:05 +00:00