Commit graph

256 commits

Author SHA1 Message Date
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
0c01954c76 - Added CCAS and CCASFLAGS to configure.in, so that automake
1.5 does the right thing with assembler.
- Updated TODO list.
2002-05-03 03:53:38 +00:00
Jamie Wilkinson
5f2ed6f1ef - Created acinclude.m4 with checks for VA_COPY and
VA_LIST_IS_ARRAY.  Currently not needed, but I suspect we
  may need them as we gain functionality; cf. dstring.c in
  quakeforge.
- Updated configure.in to check for above tests.
- Updated TODO list noting the va_list audit.
2002-05-02 15:45:55 +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
b1d6239d1d - Updated TODO list 2002-05-02 12:50:20 +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
2cd24175ce - updated TODO list 2002-04-13 02:06:37 +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
Jamie Wilkinson
494ff6431b - Added 3dfx driver to vid_menu
- renamed it back to ref_fxgl.so
2002-04-13 00:21:58 +00:00
Jamie Wilkinson
476f5e4ae9 - fixed up a bit more that should use HAVE_MASM 2002-04-12 14:47:58 +00:00
Jamie Wilkinson
309c37b9c2 - Removed traces of C_ONLY, replaced with HAVE_MASM 2002-04-12 12:41:24 +00:00
Jamie Wilkinson
c25b318fc2 - Disabled -Wall and -Werror for people who want to unpack
rogue and xatrix into the directories and build it... my
  tree is clean, but we'll have to wait to see if we can
  include it in CVS
2002-04-11 14:12:28 +00:00
Jamie Wilkinson
628e28f93d - updated top level .gitignore 2002-04-11 00:40:19 +00:00
Jamie Wilkinson
404101bc00 - Changed -lpthread to -pthread in quake2_LDFLAGS. Should
probably be a configure test
- Added configure test for AFMT_S16_NE (FreeBSD doesn't have
  _NE, only _LE or _BE)
- Wrapped the use of AFMT_S16_NE in ifdef HAVE_AFMT_S16_NE
2002-04-11 00:38:25 +00:00
Jamie Wilkinson
740faf6966 - used USE_ASM in assembler files and c files, to build asm
when needed and c routines otherwise
- HAVE_MASM is off always (in configure.in), only switch it on
  if you've got masm and you're on windows...
2002-04-10 06:57:39 +00:00
Jamie Wilkinson
dbd74b43ca - more cosmetic changes 2002-04-10 04:15:48 +00:00
Jamie Wilkinson
dff9b25105 - cosmetic changes to configure.in 2002-04-10 01:41:52 +00:00
Jamie Wilkinson
076eccb5c0 - Added configure test for sys/soundcard.h
- Renamed linux/soundcard.h in src/snd.c to sys/soundcard.h
  as it's portable
2002-04-10 01:23:13 +00:00
Jamie Wilkinson
76847ab8a3 - Added configure test for -ldl
- Using HAVE_DLOPEN in source files
2002-04-10 01:18:41 +00:00
Jamie Wilkinson
791d886807 - updated TODO list 2002-04-09 12:45:05 +00:00
Jamie Wilkinson
2a91c72d3d - updated TODO list 2002-04-09 08:48:47 +00:00
Jamie Wilkinson
5a98c829ba - added a version of CDAudio_RandomPlay for those machines
that don't get the #ifdef
2002-04-09 08:41:49 +00:00
Jamie Wilkinson
a3c0bd8e43 * updated TODO list 2002-04-09 02:21:31 +00:00
Jamie Wilkinson
4aaa3094a3 * src/rw*svgalib.c compile fine without src/vt.h, so
commented it out in them, and removed from configure test
2002-04-09 02:01:36 +00:00
Jamie Wilkinson
5dfca94f1c * bootstrap tries to detect if you have gmake instead of
make for bsd systems
* cleaned out the header file checks in configure, now add
  them as they're needed
* check for sys/vt.h in src/rw*svgalib.c
2002-04-09 01:49:38 +00:00
Jamie Wilkinson
41a546293a * Removed extraneous Makefiles 2002-04-09 01:33:13 +00:00
Bill Currie
81b31308fa fix the _ symbol prefix detection. software rendering now works 2002-04-08 06:17:02 +00:00
Bill Currie
24da5fdadc better ignorage 2002-04-08 05:49:33 +00:00
Bill Currie
4ef52da08a when linking, libs should go in *_LDADD rather than *_LDFLAGS as LDADD gets
added /after/ the object files, but LDFLAGS /before/ the object files
2002-04-08 05:42:08 +00:00
Bill Currie
c17021f01b set AS and ASFLAGS 2002-04-08 05:09:37 +00:00
Bill Currie
47643dcfbe fix a comment portability warning 2002-04-08 05:09:20 +00:00
Jamie Wilkinson
467393f8dc Trying to get the refreshers to link properly 2002-04-08 04:57:31 +00:00
Jamie Wilkinson
167eba82c0 * Now builds all video refreshers (except ref_fxgl.so
because I don't have GL/fxmesa.h)  Time to learn how
  configure can selectively build refreshers.
2002-04-07 01:07:20 +00:00
Jamie Wilkinson
9b44da971f * Added the turd directories to .gitignore
* bootstrap clean removes config.log now
2002-04-06 06:56:44 +00:00
Jamie Wilkinson
b3a333df91 * Added .deps to the .gitignore files 2002-04-06 06:33:27 +00:00
Jamie Wilkinson
4bd5535532 * Moved everything in game/ to src/ so that hopefully quake2
will run out of the source tree.
* Added the LICENSE files from xatrix and rogue, someone can
  look at them and decide if we can put the rest of them
  into CVS.
* Moved 2do.txt from ctf into docs/TODO-ctf.txt
2002-04-06 06:30:19 +00:00
Jamie Wilkinson
2e21941abd * no longer link every fucking binary against libdl, libm,
libpthread.
2002-04-06 05:56:23 +00:00
Jamie Wilkinson
0bd2f30658 * Got rid of -Dstricmp=strcasecmp 2002-04-06 05:31:01 +00:00