Commit graph

112 commits

Author SHA1 Message Date
Jamie Wilkinson
3de95855fe - Removed libltdl from the code. Not only does this make
the code make more sense, it also means that the dynamic
  loading of game and video refreshers (especially video
  refreshers) is consistent -- which means that you can now
  change video modes FROM WITHIN QUAKE2 as Carmack intended,
  and quake2 no longer dies with an Xlib error on exit, so
  your resolutions and gamma are restored!  (Closes: #34)
2002-12-06 14:49:11 +00:00
Jamie Wilkinson
6320e8e0a4 - Removed a stray space that popped in. 2002-12-01 05:57:25 +00:00
Jamie Wilkinson
1f8f0480ef - Confirmed rename of GL_TEXTURE0/1 because they conflict
with OpenGL 1.3 definitions.  Renamed GL_Texture0 to
  QGL_TEXTURE0, for consistency.  (icculus patchset #15)
2002-12-01 05:48:57 +00:00
Jamie Wilkinson
8cf067fc33 - Confirm patch setting writedir for mods. (Ludwig Nussel)
(icculus patchset #13,#14)
2002-12-01 05:04:34 +00:00
Jamie Wilkinson
2240ed20f2 - Confirm SDL CD audio looping fix from Robert B�uml.
(icculus patchset #12)
2002-12-01 04:24:11 +00:00
Jamie Wilkinson
86fdb54929 - Disabled using memset on sound buffer since it may be
read-only.  In future, one may want to test for this case
  and use memset if the buffer is writeable.
  (icculus patchset #11)
2002-12-01 04:17:16 +00:00
Jamie Wilkinson
f1913fdc22 - Confirmed icon support for SDL drivers. (icculus patchset #9) 2002-12-01 04:07:04 +00:00
Jamie Wilkinson
3cea7ff14a - Confirming addition of xlib niceties: icon,
wm_delete_window handling, etc.  (icculus patchset #8)
2002-12-01 03:31:12 +00:00
Jamie Wilkinson
9f69eb11f1 - Code reformatting
- Confirming X11 keyhandling bug fix.  (icculus patchset #7)
2002-12-01 02:35:16 +00:00
Jamie Wilkinson
085cead6f3 - Reformatted R_DrawAlphaSurfaces, confirming bugfix.
(icculus patchset #6)
2002-11-30 06:47:09 +00:00
Jamie Wilkinson
d40369a39b - Reformatting. 2002-11-30 06:14:40 +00:00
Jamie Wilkinson
bd911a47db - Applied patch from Vincent S. Cojot for solaris. He's
taken his patch against icculus.org's quake2 tree, and
  applied it to solaris/ and then migrated that stuff to our
  tree in src/ so it gets built.
2002-11-24 05:14:29 +00:00
Jamie Wilkinson
a937e44276 - Patch from Ulrich, because "FreeBSD 5.x doesn't have this
nasty bug."
2002-11-05 12:38:31 +00:00
Jamie Wilkinson
fb673df934 - Applied a patch from Ulrich Spoerlein that fixes build
problems on OpenBSD.
2002-11-04 13:11:40 +00:00
Jamie Wilkinson
c6fc9c5e06 - Applied a patch from Ulrich Spoerlein to get sound working
on BSD systems, copied from the quakeforge tree.
2002-11-04 12:48:24 +00:00
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