Commit graph

233 commits

Author SHA1 Message Date
Jamie Wilkinson
30718bb08f - Updated TODO list 2002-07-17 06:43:34 +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
ac7df517ed - Really fixed the PKGLIBDIR bug this time (by making
exec_prefix default to $prefix)
2002-07-17 05:45:57 +00:00
Jamie Wilkinson
4a3753eaf5 - Fixed for real this time configure's ability to set a
correct PKGLIBDIR and PKGDATADIR when no --prefix is set
  on the configure line.
2002-07-17 05:10:09 +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
3848343e89 - Updated TODO list 2002-07-06 03:58:37 +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
b1e6dd79d7 - Made the configure message from the assembler test a
little more clearer
- The floating point exception when using the assembler
  refreshers no longer occurs, which seems to be a
  by-product of the recent auto* changes.  If you can make
  quake2 FPE again, I'd like to know.  (Closes: #22)
2002-07-05 00:28:04 +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
0974879e67 - Added 'compile' to .gitignore 2002-07-01 06:25:15 +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
378f0601d4 - Remove emacs backup files in bootstrap clean 2002-07-01 04:57:54 +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
d3f9102a3f - Fixed configure so that if xatrix and roge *are* found
then they actually get built!  Third time lucky!
2002-05-20 05:12:04 +00:00
Jamie Wilkinson
51cda7f820 - Fixed configure so that if xatrix and rogue *aren't* found
it still works.
2002-05-20 05:01:40 +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
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