Commit graph

97 commits

Author SHA1 Message Date
Jamie Wilkinson
fc17439847 - Fixed compile errors with joystick support. 2002-10-13 23:08:24 +00:00
Jamie Wilkinson
6f2e45766a - Moved glob.* to q_glob.*, to avoid conflicts with the libc
glob.h
2002-10-13 22:47:54 +00:00
Jamie Wilkinson
acfa909f51 - Updated joystick support to GLX and X11. (icculus
patchsets 62,64,80)
- Bugfixed a bit, too. Compiles with --disable-joystick.
2002-10-13 13:18:03 +00:00
Jamie Wilkinson
206594ccc6 - Added patch from icculus CVS for SDL joystick support
(patchsets 60, 61)
2002-10-13 04:18:56 +00:00
Jamie Wilkinson
27349bfd44 - Applied patch from icculus.org CVS for supporting shuffle
on CDs with 100+ tracks
2002-10-13 03:40:10 +00:00
Jamie Wilkinson
db5b1a5164 - added some whitespace for clarity 2002-10-13 01:34:49 +00:00
Jamie Wilkinson
2e808bd20e - Applied patch from Ulrich 'Q' Spoerlein to fix build
problems on FreeBSD.
2002-10-09 21:15:53 +00:00
Jamie Wilkinson
151941fa52 - Applied patch from Vincent S. Cojot to fix SDLGL loading. 2002-09-25 22:14:02 +00:00
Jamie Wilkinson
7b4a401a2d - Applied patch from Eric Dorland to fix make distcheck. 2002-09-19 06:21:28 +00:00
Jamie Wilkinson
0d6131ed29 - Fixed paths to the icon data.
- Added Makefile to distribute the pixmaps.
2002-09-16 23:47:30 +00:00
Jamie Wilkinson
f00374b4c5 - Created data/ and subdirectories that gets installed and creates
the datadir for users to install the pakfiles into.  (Closes: #48)
- Moved default config file from baseq2/ to data/baseq2.
- Changed header files from EXTRA_DIST to noinst_HEADERS.
2002-09-16 14:02:04 +00:00
Jamie Wilkinson
ed404b35b0 - Wild checkin time! Cleaning up the tree ready for a
release.
- Added header files to EXTRA_DIST in the relevant
  directories.
- Added the unused source directories to EXTRA_DIST.
- Changed -I.. to -I$(top_srcdir)/src for the header files
  in the module directories.
2002-09-16 08:11:44 +00:00
Jamie Wilkinson
1a4d78e410 - Removed OPENGL_CFLAGS and OPENGL_LIBS from the glx
refresher target, as OpenGL is dynamically loaded at
  runtime by glx.
2002-09-16 06:17:12 +00:00
Jamie Wilkinson
8f5786824f - Moved the definition of pkglibdir out of the rogue and
xatrix defines, to avoid an implication error in automake
2002-08-14 04:44:56 +00:00
Jamie Wilkinson
3e17c963d8 - Attempted to fix mouse detection in the svgalib refresher,
by letting svgalib work out where the mouse is rather than
  have us worry about where it is.
2002-07-22 15:16:33 +00:00
Chris Ison
147a783bb6 3dfx target fixup and glide reliance removal 2002-07-20 04:30:46 +00:00
Jamie Wilkinson
905edaed62 - Added compiler optimisations back to the Makefiles,
courtesy of configure.  Some basic optimisations are added
  unless optimisations are explicitly disabled.  Extra
  optimisations are added based on the cpu being built on.
2002-07-17 06:41:16 +00:00
Jamie Wilkinson
74c84cbe1f - Put back snd_mixa.S into the build if assembler is
defined, and adjusted the preprocessor directives in
  snd_mix.c to fit.
2002-07-13 02:02:00 +00:00
Jamie Wilkinson
57216af19f - More reformatting 2002-07-06 02:23:15 +00:00
Jamie Wilkinson
abc8f0841e - Noted the requirement for automake 1.6 in the README
- Got configure to work out the BUILDSTRING (now BUILDHOST)
  for common.c
- Code cleanups.
2002-07-05 12:41:58 +00:00
Jamie Wilkinson
101e724922 - Erk, the module loaders were still trying to load
module.so, and so weren't finding the modules (cunningly
  hidden by the fact that old .so files weren't being
  cleaned up by the makefile).  Fixed that up good.
2002-07-05 01:31:36 +00:00
Jamie Wilkinson
8ccc351f99 - Applied NetBSD patch from Quentin Garnier.
- Added a configure test for ossaudio for NetBSD.
- Added a configure test for POSIX threads, from the GNU
  autoconf macro repository.
- Fixed up some typos in the Rogue and Xatrix makefiles
2002-07-04 14:17:24 +00:00
Jamie Wilkinson
9873502b19 - Updated game Makefiles to use libtool for linking
- Updated game .gitignores
2002-07-04 12:16:43 +00:00
Jamie Wilkinson
755750cbf2 - Fixed path to game when looking in the current directory 2002-07-04 05:04:31 +00:00
Jamie Wilkinson
fabdaefc7a - Updated src/.gitignore 2002-07-04 01:38:13 +00:00
Jamie Wilkinson
3973c870cc - Fixed up make install target, so that the dynamic modules
are installed into the correct places.
- Added libltdl, the libtool dynamic loader to the code, as
  the libraries are now under libtool control.  Libtool and
  libltdl are evil.
- Fixed various paths inside the code to point to PKGLIBDIR
  for the game and refresher modules, and PKGDATADIR for the
  game data.
- updated .gitignore
2002-07-04 00:50:09 +00:00
Jamie Wilkinson
c78029a65a - Applied soem FreeBSD patches that I had lying around, that
were waiting for me to get library detection in configure
  going.  Thanks to Faried Nawaz and Ulrich Spoerlein.
  (Closes: #36)
2002-07-01 06:21:38 +00:00
Jamie Wilkinson
9743e9dcce - Added library detection to configure.in, to detect
SVGAlib, X, GL, SDL, and GLIDE.  Modified the
  Makefile.am's to match the new configure variables.
  Now people don't have to manually hack src/Makefile.am to
  build their targets.
- Fixed a typo in src/qgl.h with the #define
- Added new automake generated files to bootstrap's clean
  command.
- Added build requirements to HACKING, as we now need
  automake 1.6.
- Removed note in README about the asm FPE bug, as I seem to
  have inadvertently fixed this without meaning to.
2002-07-01 04:53:50 +00:00
Jamie Wilkinson
163207551b - "Fixed" an ifdef so that FreeBSD can compile. 2002-06-22 05:43:27 +00:00
Jamie Wilkinson
ad20e432f0 - Added the new TiBook resolution of 1280x854 to the menus 2002-05-26 06:41:05 +00:00
Jamie Wilkinson
ebc1f99b81 - configure now checks for xatrix and rogue, so no need for
punters to have to manually edit src/Makefile.am (and now
  I don't have to remember to swap it back before checking
  in anymore!)
2002-05-20 04:49:54 +00:00
Jamie Wilkinson
5d2053580d - Added __FreeBSD__ to some locations so that things build
properly
2002-05-19 17:13:44 +00:00
Jamie Wilkinson
678ec75aa1 Trying to suss out the FPE in ref_softx.so
- Commented out USE_ASM in the .S files -- in theory they're
  only built when USE_ASM is enabled anyway...
- vid_so.c had some bad typecasts hidden away in some dead
  code that became activated during this FPE crusade, and
  though it's still dead, I thought I'd leave it as it is
  now.
2002-05-15 13:00:42 +00:00
Jamie Wilkinson
6782939dfb - Removed a vi turd from a comment in src/r_misc.c
- Commented out some suspicious ifdefs in src/sys_dosa.S
- Fixed USE_ASM to be HAVE_MASM in src/ctf/q_shared.c
- something similar in src/baseq2/q_shared.c
2002-05-15 10:55:47 +00:00
Jamie Wilkinson
835b8b5d78 - Simplified an include path 2002-05-15 10:04:30 +00:00
Jamie Wilkinson
065a525d4f - The "Yay, the server is finally back online" checkin.
- Added resolutions for the Sony Vaio Pocketbook and the
  Apple Titanium Powerbook, as well as a note in HACKING for
  people wishing to add their own resolutions.  (Closes #33)

  I have an idea involving querying the X server for supported
  resolutions at runtime, or through some API that we can
  use to do it portably (to SVGA/3dfx/Win32).
2002-05-07 07:57:59 +00:00
Jamie Wilkinson
d0119ede51 - Removed q_shared.h from game directories, as they're
*shared*... the one in src/ is exactly the same and means
  there's less code to modify.
  Also the last checkin will barf if you don't remove these
  ;-)
2002-05-03 10:28:26 +00:00
Jamie Wilkinson
91d8ce1e74 - Removed shadows from some projectile weapons: blaster,
hyperblaster, and rockets.
- Removed shadows from explosions.
- Updated TODO to reflect this change.
2002-05-03 10:18:50 +00:00
Jamie Wilkinson
e6e56b43b3 - Lowered the shadow elevation so they're closer to the
ground.
- Fixed gib shadows that cause black ghosts when rotating.
2002-05-03 09:17:01 +00:00
Jamie Wilkinson
a29be70dcd - Added a new cvar, "gl_stencilshadow". Off by default, set
it to 1 to enable stencilbuffer shadows.  (Turn gl_shadows
  on first!)  Based on MrG's tutorial on quakesrc.org, but
  hacked a bit to work for GLX instead of Win32, and is a
  bit more robust (won't die if it can't get a stencil
  buffer).
- Updated TODO list to reflect this change.
2002-05-03 08:50:13 +00:00
Jamie Wilkinson
d4e602d215 - Changed "libGL.so" to "libGL.so.1". (Closes: #30) 2002-05-03 06:26:01 +00:00
Jamie Wilkinson
9a018e3ad7 - Applied a patch from Victor Shkamerda <vvs@auto.bnm.org>
that fixes gamma under GLX.  His comments:

  * This Linux Quake 2 patch allows to change OpenGL gamma
    on the fly without vid_restart.  It uses hardware gamma
	where available (tested on XFree86 4.2.0 with DRI)
  * This is for GLX only, SDL should have its own
    implementation, based on its own gamma manipulation
	functions
  * This is implemented for fullscreen only.  I'm not sure
    if it shuld be implemented for windowed mode
  * I've got the idea from MrG's BeefQuake for Windows, but
    the implementation is completely mine

  I can confirm that this works beautifully with XFree86
  4.1, too.
2002-05-02 14:35:41 +00:00
Jamie Wilkinson
0a52f5330b - Added AUTHORS file noting people who contributed on the
project.
- Added HACKING for developer notes.
- Updated README to be more of a README.
- Updated TODO list.
- default don't build xatrix and rogue
- rolled back save game changes from 6 days ago, as they
  suck.  Save games are a complex beast and need someone to
  redesign them so that they aren't tied to a particular
  build.  In the meantime, though, I'm not losing any sleep
  over it, there's a note in the README about it, so time to
  close this bug.  (Closes: #15)
2002-05-02 12:45:05 +00:00
Jamie Wilkinson
6879113806 - Updated TODO list
- commented out savegame check, which lets you use old
  savegames.  I'm not closing the bug, as I'm not convinced
  it was this easy -- if the game data changes, then the
  savegame data is invalidated, so in theory one should
  check for game data version instead of binary version.
2002-04-26 02:52:53 +00:00
Jamie Wilkinson
5ce536142f - Looks like we don't need this, if we include files the
right way in g_local.h.  Of course, you won't notice this
  unless you have my copy of the modified rogue source.
  I hope I hear back from id soon.
2002-04-25 07:57:16 +00:00
Jamie Wilkinson
9b81e4ff7f - Updated README
- cosmetic changes to comments in snd.c and snd_dma.c
2002-04-13 03:27:39 +00:00
Bill Currie
e90942f9b5 snd.c:
need to set dma.buffer to 0 so the sound devive gets mapped next time
	around.
snd_dma.c:
	register the commands after initializing the sound so that you don't
	get errors about already existing commands if the sound init failed a
	previous time around.
2002-04-13 02:44:13 +00:00
Jamie Wilkinson
e68dc6402a - bootstrap clean removes autom4te.cache
- added 3DFX driver to vid_menu.c
2002-04-13 02:03:20 +00:00
Jamie Wilkinson
b02711f1a5 - taniwha's munmap patch 2002-04-13 02:01:07 +00:00
Jamie Wilkinson
925a3c1e98 - added fxgl to the permissions check 2002-04-13 00:28:30 +00:00