Commit Graph

146 Commits

Author SHA1 Message Date
Jamie Wilkinson f4a2cc9ca2 - Added pluggable sound architecture for runtime loading of
sound driver modules.
2004-03-15 02:25:43 +00:00
Jamie Wilkinson 97d7b9731e - Replace a fixme in vid_menu.c with a warning.
- Remove some dead dead code from main.c
2004-03-09 11:59:00 +00:00
Jamie Wilkinson 1d554ce1f3 - text console cleanups
- don't draw character 1 or 2 in text mode, it's used by
    graphical console to change colours
  - don't print anything if a null string is passed
  - don't draw the names of the models being loaded, and
    don't try to overwrite it with whitespace, unless you're
    in developer mode.
2004-03-08 12:48:03 +00:00
Jamie Wilkinson d5bf231d98 - Preparing for release.
+ Updated news and todo lists.
  + Updated config.cfg with my defaults :-)
  + Worked around a bug in automake 1.8 with AM_CONDITIONALs
    make dist.
2004-02-26 20:53:01 +00:00
Jamie Wilkinson f9a1e6f515 - Update snd_alsa with icculus.org's latest.
- Add Brendan Burns to THANKS for the alsa driver.
2004-02-24 12:35:31 +00:00
Jamie Wilkinson e4385048dc - Added alsa driver from icculus's tree.
- Updated configure.in and src/Makefile.am with magical bits
  for alsa, oss, and some misc cleanups.
- Added magic bootstrapping makefile.
2004-02-23 13:23:43 +00:00
Jamie Wilkinson dfe1f0859e - Rename snd.c to snd_oss.c. 2004-02-02 12:44:23 +00:00
Jamie Wilkinson f581c7d17d - Roll back the patch from about changeset 67, with the
adding of pthreads; that's all gone now, it sucked.
- Add a libao sound output, this has been mostly tested:
  - it works with wav output on my powerbook (where oss out
    is broken)
  - it works but sounds really jumpy when playing 44100Hz
    samples through a shitty onboard soundcard that only
    supports 48000Hz output... the dma buffer gets played
    too fast.
2004-02-02 12:42:18 +00:00
Bill Currie a610cd1cc8 some libGL.so's need to be loaded with global symbols 2004-01-09 23:55:24 +00:00
Bill Currie 31e9e7e883 clean up a bunch of type punning warnings 2003-07-09 17:35:07 +00:00
Jamie Wilkinson 4fec79655b - Cleaned up the console clock and console version string
code.  Now adjusts the line length to fit the entire
  version string in.  The clock is drawn at the top of the
  console.
2003-02-24 04:48:37 +00:00
Jamie Wilkinson 2b49ecafc9 - Updated THANKS and TODO lists after Steve Winston's
patches.
- misc checkin verifying the last patches are correct.
2003-02-23 13:18:56 +00:00
Jamie Wilkinson cfc2398bc2 - Fixed some old define macros so that joystick code
actually compiled...
2003-02-23 12:42:35 +00:00
Jamie Wilkinson 1035689544 - Applied patch from Steven Winston for variable skybox
size.
2003-02-23 12:38:09 +00:00
Jamie Wilkinson 4c3dd08845 - Applied patch from Steven Winston for a console clock. 2003-02-23 12:33:52 +00:00
Jamie Wilkinson 4884d09e9a - Applied patch from Steven Winston for m32 format texture
support.
2003-02-23 12:26:59 +00:00
Jamie Wilkinson 53a863747f - Applied patch from Steven Winston for zipped packfile
support.  Unfortunately this patch doesn't allow the old
  pk2 format, so it's currently disabled with a HAVE_ZIP
  macro wrapping the code.
2003-02-23 12:12:37 +00:00
Jamie Wilkinson 762bcb6e23 - Applied patch from Steven Winston for MP3 playback support
using libmpg123.  No configure test yet, so the code is
  disabled by default.
2003-02-23 11:50:40 +00:00
Jamie Wilkinson 7a18c3ea70 - Fix missing semicolon in Sun-only code. Thanks Vincent. 2003-02-14 04:01:37 +00:00
Jamie Wilkinson 39c967847d - Make size_t printfs use unsigned type. 2003-02-13 00:45:11 +00:00
Jamie Wilkinson 759f9efeff - Use printf's z modifier for printing size_t types, fixes
build failure on 64 bit architectures.  Thanks to Juhana
  Paavola for reporting the problem.  (Closes: #72)
2003-02-12 23:34:47 +00:00
Jamie Wilkinson 1180ade5be - Applied a patch from Jean-Fran�ois St-Amour:
- fixes dlight shine-through problem
  - adds transparent console
  as per http://www.quakesrc.org/?Page=tutorials&Dir=Quake2
2003-02-11 05:48:46 +00:00
Jamie Wilkinson 489425e6b4 - Applied a patch from Ulrich for BSD systems
- include pthread.h when trying to use it
  - Linux and BSD systems use SIGIO instead of SIGPOLL
2003-02-11 05:43:36 +00:00
Jamie Wilkinson edf5a8c087 - Make sure the makefile distributes all the optional source
code.
2003-02-06 13:45:39 +00:00
Jamie Wilkinson bd674b91df - Ulrich pointed out that the last release didn't contain
the asm stuff, tracked it down to a bug in the
  Makefile.am.  Fixed that, bumped the version number, added
  news.
- Updated release script to cope with version numbers with
  more than one decimal point.
2003-02-06 00:50:08 +00:00
Jamie Wilkinson d70da96ab7 - Added the new 17" Powerbook G4 resolution. 2003-01-21 15:49:39 +00:00
Jamie Wilkinson b796032faa - More solaris patches from Vincent Cojot's first patches to
icculus.  (icculus patchset #65)
- Also including some bugfixes by a mythical 'eliasm' from
  the same patchset.
2003-01-11 05:18:59 +00:00
Jamie Wilkinson 0b0e9986ef - Applied joystick patchsets 60, 61, 62, 71, 80, and 122 from the
icculus.org cvs tree.
  - linux joystick support
  - freelook honouring
  - X11 keyrepeat
2003-01-09 12:06:13 +00:00
Jamie Wilkinson 3eb6a3f91a - Added --disable-warn flag to configure for bodgy compilers
and OSes with bodgy headers.  (Closes: #64)
2002-12-23 14:04:34 +00:00
Jamie Wilkinson 315b13e4fd - Don't need the extra comparision, the switch statement has
already done it.  (Closes: #23)
2002-12-23 13:50:44 +00:00
Jamie Wilkinson a3b38df57f - Fix incorrect function name in error message. 2002-12-23 08:15:36 +00:00
Jamie Wilkinson 27ab9f9b47 - Added PKGLIBDIR to game search path, so that the game.so
shared object is found.
- Reverted the game loader in main.c to iterate through the
  search path.
2002-12-23 08:15:00 +00:00
Jamie Wilkinson a5b3a4adb2 - X11 key repeat fix.
- Added GPL blurb to sv_user.c
2002-12-23 00:00:16 +00:00
Jamie Wilkinson 0caed99967 - Applied a bunch of patches from icculus's tree, bringing
us up to icculus patchset #59.  Skipped over most of
  patchsets #30 onwards, going from memory of applied
  patches, so it's possible that not all of these patches
  (the ones that are valid, anyway) got applied.
- Applied the "Big Gun crash" fix to the same section of
  code in the CTF mod.  (PatchSet #45)
2002-12-08 13:03:25 +00:00
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