Commit graph

10 commits

Author SHA1 Message Date
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
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
76847ab8a3 - Added configure test for -ldl
- Using HAVE_DLOPEN in source files
2002-04-10 01:18:41 +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
065639f494 Merged in Steven Fuller's r0.9 changes:
- mouse wheel support
- swapped SDL mouse buttons to be correct (closes: #17)
- some FreeBSD patches
- Bug Gun + save game crashes fixed (not sure about this
  one)
- Mouse buttons 4 and 5 under SDL
- IPv6 support
- Makefile will build xatrix and rogue source if available
2002-03-12 02:33:43 +00:00
Jamie Wilkinson
12ea33ad62 Moved q2icon.xbm out of the source subdir and into pixmaps/ 2002-03-03 10:24:25 +00:00
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
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
Renamed from linux/gl_glx.c (Browse further)