Commit graph

173 commits

Author SHA1 Message Date
Jamie Wilkinson
2e6851b85b - Merged each of bsd/, solaris/, and irix/ into src/; bsd,
solaris and irix are no longer pertinent, they will remain
  only until I can be sure that the code was merged
  correctly, i.e. for reference purposes only.
2002-03-02 03:56:00 +00:00
Jamie Wilkinson
2daf1584a5 - Renamed source files to remove the name 'linux', as this
gives the impression that these files are os-specific when
  they're not.
    sys_linux.c -> main.c
    q_shlinux.c -> q_sh.c
    qgl_linux.c -> qgl.c
    snd_linux.c -> snd.c
    cd_linux.c  -> cd.c
    rw_linux.h  -> rw.h
    glw_linux.h -> glw.h
    in_linux.c  -> in.c (although this isn't referred to at
                         all in any makefiles anywhere)
- Edited other files to reflect name changes
2002-03-02 03:28:11 +00:00
Jamie Wilkinson
499153913a Changed paths of some #include lines to reflect the new
change.  Why on earth was the code #including headers from
the same directory as "../thisdir/"?  Crazy.
2002-03-01 08:33:25 +00:00
Jamie Wilkinson
912637880c Dammit, missed this one 2002-03-01 08:23:11 +00:00
Jamie Wilkinson
f17ab3c594 Renamed 'linux/' to 'src/' (well, created src/ and moved
linux/* into it) as a part of Jaq's Great Code Restructure.
At this stage, I'm merging all the os-specific subdirs.
2002-03-01 08:13:30 +00:00
Jamie Wilkinson
ef847c61ae More code cleanup. I added -pedantic to the CFLAGS to see
what broke; mainly typecasts.  I've disabled -pedantic again
though, as there are some bugs in svgalib and libc headers
that prevent compilation with -pedantic.  I also didn't
bother to set explicit casts in linux/qgl_linux.c
2002-02-21 01:47:27 +00:00
Jamie Wilkinson
c64a5e828a I've shoehorned a patch from Michael D�nzer that he wrote
for quakeforge a long time ago that allows sound playback on
machines that can't mmap /dev/dsp, like PowerPC machines.

The original patch was archived at:
http://www.geocrawler.com/mail/msg.php3?msg_id=4207733&list=856

The patch went in mostly smoothly, once I found where iD
kept their sound code.  Linux only at the moment, I haven't
bothered to look at snd_*.c in any of the other OS
directories.

It works for me, in that it doesn't interfere with mmapping
on my i386 machine, but I have no PPC machines to test that
it actually does what it's supposed to, so YMMV.
2002-02-20 04:38:42 +00:00
Jamie Wilkinson
55cf61d130 - Renamed README-3.21-release to README.install, as it's got
install instructions in it, and tying it to a particular
  version isn't very useful
- Cleaned up the *changes* files, removed the duplicate 3.15
  changes from files, all of them now live in changes.txt
  and changes-ctf.txt
2002-02-20 03:59:18 +00:00
Jamie Wilkinson
b6de51a9b5 Not a lot, just cleaning the top level Makefile up a bit
(mostly just removing obsolete comment lines from my last
patch)
2002-02-20 03:07:43 +00:00
Bill Currie
71d21f49b8 make it obvious this makefile is obsolete 2002-02-11 03:27:53 +00:00
Bill Currie
fe16e6d679 change #ifdef mremap to #ifdef __linux__ as cpp doesn't see the function
names
2002-02-04 20:46:00 +00:00
Ragnvald Maartmann-Moe IV
f564ce6a2c Fix compiling linux target for use on non-linux systems. Doesn't fix my puzzlement on why people do these things. ;) 2002-02-04 17:24:46 +00:00
Bill Currie
8d78a44c1b make quake2 architecture independent. from Jaq (Jamie Wilkinson) 2002-01-28 05:36:20 +00:00
Bill Currie
45955b16f2 printf arg checking. unfortunatly, due to a bug in gcc, no checking on the
function pointers, but all the other printf style functions are checked.

Also, use gcc_attr.h from qf so quake2 will compile with lame compilers
2002-01-12 03:23:32 +00:00
Ragnvald Maartmann-Moe IV
dd282fb15f Keep trying... 2002-01-12 02:19:12 +00:00
Ragnvald Maartmann-Moe IV
1d758ae3c4 Merge in relnev's changes. 2002-01-12 02:14:09 +00:00
Bill Currie
cade93fb95 this is needed so quake2 can be compiled with lame compilers 2002-01-11 22:43:40 +00:00
Bill Currie
d1a9c279e5 a couple of warning fixes from Todd Kirby <kirbyt@yahoo.com> 2002-01-07 06:14:44 +00:00
Bill Currie
d51888b639 fix up the .gitignore files that got accidently nuked in the previous commit 2002-01-07 05:02:03 +00:00
Bill Currie
34c5702da6 Turns out gzip support isn't so easy (feasable?) in q2, so back it out for
now. However, tags of gzio_pre_revoke (before) and gzio_revoke (after) will
help get it back if/when we decide to work on it again.
2002-01-07 04:54:11 +00:00
Bill Currie
9a15b89e99 a couple linux specific fixes to the bsd patch 2002-01-07 04:41:51 +00:00
Bill Currie
b9bc901546 *sigh* 2002-01-07 04:37:51 +00:00
Bill Currie
3291dc9d09 *sigh* 2002-01-07 04:37:19 +00:00
Bill Currie
4e205d709e OpenBSD patch from butter. FreeBSD should only need a slight change to the
bsd/Makefile.

Thanks, butter.
2002-01-07 04:16:25 +00:00
Ragnvald Maartmann-Moe IV
3f062fddcb Replace glColor4f (1,1,1,1) with glColor4ubv (white), and similar for glColor3 and black. Cleanup and very minor speedup.
Also, use quads instead of tris for particles, and a far nicer dot texture.
2002-01-06 22:46:23 +00:00
Bill Currie
345e6a9e15 need -export-dynamic at the moment :/ 2002-01-04 02:41:41 +00:00
Bill Currie
790ff3d225 uncomment my buggy dri (?) hack but add a FIXME 2002-01-04 02:01:52 +00:00
Bill Currie
44cb036bf1 pass the correct file name to FS_OpenRead 2002-01-03 22:13:31 +00:00
Bill Currie
f2cbe232de correct a misleading error and some missed foundname sets 2002-01-03 22:12:23 +00:00
Bill Currie
c0851f716e those two functions need autoconf 2002-01-03 21:10:29 +00:00
Bill Currie
e72220faf0 .gz support should work within pak files 2002-01-03 21:05:07 +00:00
Bill Currie
50df3fffe0 ignore .vimrc 2002-01-03 21:04:36 +00:00
Bill Currie
1ec1bfff69 add the z flag to most read Qopen calls 2002-01-03 20:21:37 +00:00
Bill Currie
7b3a0f0cb8 preliminary zlib patch 2002-01-03 20:09:12 +00:00
Bill Currie
78ff46bd75 warnings fixes 2002-01-03 19:54:34 +00:00
Bill Currie
fa367ae34d warning fix 2002-01-03 19:49:55 +00:00
Bill Currie
32c77a437c quakeforge-ize Jamie's debian patch 2002-01-03 04:47:12 +00:00
Bill Currie
6a50b3b786 oops, didn't mean to commit that 2002-01-03 04:43:22 +00:00
Bill Currie
6f4d107011 ok, so this is leaching, but hey, that's part of what the gpl is for :)
Bring in Jamie Wilkinson's patches for quake2_3.21-1. this gives us sdl
support, ~/.quake2, sane default for gl_driver, and several other fixups.
2002-01-03 04:22:46 +00:00
Ragnvald Maartmann-Moe IV
b6acf44cbd Minor speedup to particles, by not copying around redundant information. 2001-12-31 21:54:10 +00:00
Bill Currie
d40e209c3e warning fixes for gcc 2.95 2001-12-30 03:50:29 +00:00
Bill Currie
947059f421 don't ask me why, but this is the real fix (I still had my cl_scrn.c hack
going in the previous commit :()
2001-12-29 05:48:48 +00:00
Bill Currie
4a7515fcff clean up some dead code 2001-12-29 05:33:09 +00:00
Bill Currie
32f125c516 fix my .cin rendering bug 2001-12-29 05:22:34 +00:00
Bill Currie
d051c7114d bring in relnev's texture wrapping fix 2001-12-29 04:55:10 +00:00
Bill Currie
f4fa61bf44 We like warnings, lots of warnings. However, we don't want to let them slip
by. Bwahaha.
2001-12-29 02:40:13 +00:00
Jeff Teunissen
2c9a907849 Oops! fix up mdfour. 2001-12-29 00:07:54 +00:00
Ragnvald Maartmann-Moe IV
2c644c39af Pfft. 2001-12-28 21:55:21 +00:00
Ragnvald Maartmann-Moe IV
bb37bd3707 Bleh, missed one. 2001-12-28 21:54:01 +00:00
Ragnvald Maartmann-Moe IV
9556d038c1 And a few more GL_TEXTURE0/GL_TEXTURE1 fixes. 2001-12-28 21:52:25 +00:00