Commit graph

36 commits

Author SHA1 Message Date
Jamie Wilkinson
fc17439847 - Fixed compile errors with joystick support. 2002-10-13 23:08:24 +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
7b4a401a2d - Applied patch from Eric Dorland to fix make distcheck. 2002-09-19 06:21:28 +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
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
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
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
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
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
494ff6431b - Added 3dfx driver to vid_menu
- renamed it back to ref_fxgl.so
2002-04-13 00:21: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
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
dbd74b43ca - more cosmetic changes 2002-04-10 04:15:48 +00:00
Jamie Wilkinson
76847ab8a3 - Added configure test for -ldl
- Using HAVE_DLOPEN in source files
2002-04-10 01:18:41 +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
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
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
Jamie Wilkinson
bd99d9b499 * Moved ref_soft into src/, made it build.
* Lots of LD and CFLAGS in src/Makefile.am... I think most
  of it should be automagic by configure
2002-04-06 05:03:53 +00:00
Jamie Wilkinson
1c775689ab * Got rid of that ugly -DLINUX_VERSION from the makefile,
instead source files now use config.h
2002-04-05 01:02:17 +00:00
Jamie Wilkinson
ff75ee0460 * Fixed include paths in ref_gl
* doesn't try to build xatrix and rogue by default
2002-04-05 00:45:27 +00:00
Jamie Wilkinson
28147f7e1a * Moved ref_gl into src/ so that when it builds, the video
refreshers are in the same directory as the quake2 binary
2002-04-05 00:24:29 +00:00
Jamie Wilkinson
f10de7dd58 * Moved game/baseq2/game.h into game/game.h as it is the
api that the quake2 binary uses
2002-04-03 02:05:47 +00:00
Jamie Wilkinson
520789f9d3 * Enabled build of game/game.so
* Removed files in client/ qcommon/ and server/
2002-04-03 00:52:42 +00:00
Jamie Wilkinson
24fb12814e * Replaced gnu.txt with COPYING
* added my TODO list, and the cvs bootstrap script
* Small mods to configure.in, Makefile.am
2002-04-03 00:27:05 +00:00
Jamie Wilkinson
485824e846 * Moved q_shared.(c|h) from game/ into src/
* Copied m_flash.c from game/ into src/
* More edits for include paths
2002-04-02 08:14:08 +00:00
Jamie Wilkinson
8ff1601081 * Moved qcommon/ into src/ as well.
* Removed ARCH from compile options, this means that there
  is no longer a game$(ARCH).so built -- game.so instead.
* Added src/Makefile.am
* Fixed up include paths in main.c, menu.c, vid_menu.c,
  vid_so.c
2002-04-02 06:23:02 +00:00