Commit Graph

82 Commits

Author SHA1 Message Date
Tim Angus 1d54a9ebe5 * Revert 1176 -- MinGW's headers are too old *sigh*
* Revert to using literal function pointers for GL extensions rather than PFN*
  typedefs as some platforms' headers are broken enough that they prevent
  SDL_opengl.h from fixing things up if the PFN* typedefs are missing
2007-09-12 18:02:38 +00:00
Tim Angus 4f4f0c0dab * Remove use of GL_ARB_multitexture since this has been part of the
core API for many years now
2007-09-10 22:28:58 +00:00
Tim Angus 904cce6311 * Replace the ugliness in qgl.h with SDL_opengl.h 2007-09-05 18:56:39 +00:00
Tim Angus 672cfbf16f * Merge unified-sdl to trunk
* Bump Q3_VERSION to 1.35
2007-09-05 18:17:46 +00:00
Tim Angus 034e6e8f20 * Rewrite of R_LoadImage to make it more generic and data driven 2007-08-26 21:27:46 +00:00
Tim Angus 4997c4764a * (bug 3112) Removal of QVM name obfuscation (TsT <tst2006@gmail.com>)
* Add developer warning when texture loading falls back on jpg from tga
* Remove uppercase extension hack from texture loading since the Q3 pk3
  file system is case insensitive anyway and you would likely want to
  know about the failures when loading images from the native FS
2007-08-24 00:04:08 +00:00
Tim Angus 1144f567e8 * PNG support from Joerg Dietrich <dietrich_joerg@t-online.de>
* Cleanup of tabulation in R_LoadImage
2007-08-23 17:23:15 +00:00
Tim Angus 5e35d88b9b * (bug 3076) Map cycle breaks on empty or bot only servers (misanthropia)
* (bug 3303) Removal of never compiled code from cgame drawing functions (beast 
  <info@dbwatersports.com>)
* (bug 3297) Add missing limit to Q3 UI server info (beast
  <info@dbwatersports.com>)
* (bug 3029) Fix to shader hash table being overpopulated (identified by
  Stefan "#@" Langer <raute_at@gmx.de>)
2007-08-23 00:22:20 +00:00
Ludwig Nussel 3992f1a59c fix gcc 4.2 warnings about cast from pointer to integer (#3317) 2007-08-19 12:05:17 +00:00
Ludwig Nussel 686d365397 print the shader loading message if the cvar "developer" is set 2007-08-16 15:16:32 +00:00
Ludwig Nussel 9016006312 don't spam console with "loading..." messages when loading shaders 2007-08-16 14:52:29 +00:00
Tony J. White = c1ed094e53 * (bug 2972) add r_swapInterval support to SDL client (if libSDL >= 1.2.10) 2007-05-22 03:42:32 +00:00
Thilo Schulz 15fe54a6e7 Fix annoying bug where transparent surfaces wouldn't draw over skyboxes. Thanks to Stefan Langer a.k.a. #@ for providing the fix. 2006-12-15 13:46:13 +00:00
Tim Angus bd9e7c4b8f * Add r_customPixelAspect to support displays with non 1:1 pixel aspects (do
such things exist?)
* Remove r_customaspect as its value is implied through the other three
  r_custom cvars
2006-12-04 13:37:50 +00:00
Thilo Schulz 5568c9fcad Fix endian issue in MDR loading. 2006-09-22 12:53:03 +00:00
Tim Angus e41d081710 * qvm files no longer installed by "make copyfiles"
* Loopback clients only get snapshots at the server frame rate now
  (Anonymous <nkylqinhvgcbyl@mailinator.com>)
* JPEG chroma subsampling disabled if the quality value is >= 85
  (Anonymous <nkylqinhvgcbyl@mailinator.com>)
* cl_lanForcePackets. When set to 0 (default is 1) the cl_maxpackets setting
  will be ignored if on a LAN. (Anonymous <nkylqinhvgcbyl@mailinator.com>)
2006-08-13 17:09:05 +00:00
Thilo Schulz 5efd7c8c36 Another patch to make uncompressed AVI write in RGB24 format by anonymous virtualdub sympathiser. 2006-07-31 15:32:59 +00:00
Thilo Schulz 3a1c4aa457 Fix from the VirtualDub people which should make avi files created with the video command playable with numerous windows players. 2006-07-31 13:05:15 +00:00
Tim Angus fda7db7619 * Fix the MinGW build. Ugh. 2006-05-06 16:01:41 +00:00
Thilo Schulz d21411452e Add string length checking to function COM_StripExtension. This fixes the R_RemapShader buffer overflow exploit that can be found here:
http://milw0rm.com/exploits/1750
2006-05-06 01:56:24 +00:00
Ludwig Nussel 8895df0925 - remove leftover anistropic filtering variables from glconfig_t
- check size of glconfig_t to prevent accidential ABI breakage in the future
2006-04-30 15:00:39 +00:00
Thilo Schulz 12a2b7694a - Fixed incompatibility to original VMs introduced by anisotropic filtering patch.
- Removed dependency of flares from tr.identityLight because they are barely visible with r_overbrightbits set to 1
2006-04-30 14:32:56 +00:00
Thilo Schulz 55453fd919 Fix for skybox blacklines bug on non-SDL compilations. 2006-04-27 14:48:35 +00:00
Tim Angus 68b9eb3fba * Anisotropic texture filtering (from Echon) 2006-04-22 22:14:15 +00:00
Thilo Schulz 40d5eee8ef Fix prohibits illegal downloading of id PK3 files from servers. That bug is hit by *every* official server release from ID. 2006-04-22 18:24:50 +00:00
Thilo Schulz 57cc0f901e Still some little improvements to flares. 2006-04-20 16:52:39 +00:00
Thilo Schulz c552a46e5f Fix for flares. Can be enabled by setting r_flares 1 2006-04-20 04:43:43 +00:00
Tim Angus 21e0bdd993 * Fix to (static!) buffer overflow in renderer (from Thilo Schulz) 2006-04-14 20:15:58 +00:00
Tim Angus a235245e35 * Fixes to MDR implementation from Thilo Schulz 2006-04-14 20:13:49 +00:00
Tim Angus a596185844 * Fixed radix sort on big endian platforms (from tjw, blame Timbo for the bug) 2006-04-14 19:54:56 +00:00
Tim Angus 947ebb932e * SDL build no longer requires a vid_restart when changing r_fullscreen 2006-01-25 17:57:53 +00:00
Tim Angus a21eb2bbcb * AVI video output
- Uses motion jpeg codec by default
  - Use cl_avidemo to set a framerate
  - \video [filename] to start capture
  - \stopvideo to stop capture
  - Audio capture is a bit ropey
2006-01-04 03:12:12 +00:00
Tim Angus 310190a466 * Support for MinGW cross compilation 2005-12-29 00:04:41 +00:00
Tim Angus aa3f7e1eb1 * Fix to what is apparently a typo in the original Q3 code
* If patch stitching breaks in mysterious ways, this change might be why
2005-12-28 23:05:22 +00:00
Maik 252ede0472 msvc project files updated and moved to win32/msvc
temporary build dirs moved to win32/msvc/build
2005-12-12 17:38:03 +00:00
Tim Angus 9415f5fe09 * Oopsie. 2005-12-06 18:17:10 +00:00
Tim Angus 1704eecc52 * Replaced ALIGN macro with PAD
* Moved ALIGN16 macro from tr_local.h to ALIGN in q_shared.h
2005-12-05 17:32:54 +00:00
Ryan C. Gordon dd4dce194e Fixed Altivec-based mesh rendering. 2005-12-04 14:23:46 +00:00
Tim Angus 796ba11301 * Ditch Mac OS 9 support 2005-12-01 21:36:16 +00:00
Tim Angus 68a59e1c93 * Moved win32 GL extension prototypes from tr_init.c to win_qgl.c 2005-11-26 17:51:26 +00:00
Tim Angus 382c6adb54 * Disable ccache by default. If you want it, add USE_CCACHE=1 to Makefile.local
* Remove -gfull from linux section in Makefile -- it's darwin only
* Cast away some warnings that surfaced from using "new" AL headers
* Various whitespace and consistency fixes
2005-11-26 15:01:28 +00:00
Ryan C. Gordon 721b9a7d01 Mac OS X work...lots of little changes that touch a lot of random places.
Still work to be done, but this at least matches the PowerPC Linux status
 now.

MacOS-specific directory (and XCode project) is gone...this now uses SDL,
 OpenAL, and the Unix Makefiles.

--ryan.
2005-11-26 07:46:21 +00:00
Tim Angus b5c7d9dcd7 * Implementation of r_dlightBacks from Shane Isley 2005-11-15 23:30:35 +00:00
Tim Angus fd9c1b00bb * Fix TA font loader to use new endian defines 2005-11-06 21:18:21 +00:00
Tim Angus 4eaebe4a31 * Tidy-up of q_platform.h
* Introduced Q3_BIG_ENDIAN and Q3_LITTLE_ENDIAN #defines
* Changed some stricmp to Q_stricmp so that #define stricmp strcasecmp could be
  removed
2005-11-06 00:29:59 +00:00
Tim Angus e4b7a04d5c * Replaced a bunch of inline and __inline with ID_INLINE
* Replaced a bunch of __i386__ with id386
* General tidy up of asm preprocessor decisions
* Removed C_ONLY from the dedicated server build
2005-11-04 22:32:00 +00:00
Zachary Slater 857a5e264e Updated msvc project files from > Michael Zoech! 2005-11-04 02:35:30 +00:00
Ludwig Nussel f4dbf0db95 5+2==7 :-) 2005-11-01 19:47:47 +00:00
Ludwig Nussel 39f5333862 use memcpy to fix use of misaligned data 2005-11-01 19:44:36 +00:00
Tim Angus acf1f46a2b * More Solaris work 2005-11-01 16:05:06 +00:00