Commit Graph

92 Commits

Author SHA1 Message Date
Thilo Schulz 2b52867b74 Code cleanup patch by devhc 2011-02-08 18:19:31 +00:00
Thilo Schulz 9f786f4def - A few code cleanups in gamecode
- Add a bit of stuff from Zakk Middleton
2011-02-08 18:06:39 +00:00
Thilo Schulz 61c8b878b8 Fix tourney score board. Thanks Zack Middleton for the patch and report 2011-02-06 17:33:51 +00:00
Zachary Slater 2a083d6d60 add a missing \n from a cgame print
(thanks again /dev/hc)
2011-01-27 07:22:25 +00:00
Zachary Slater 956f495726 Bugzilla #4749
TAHUD: Fix hud fallback
2010-10-25 06:34:33 +00:00
Thilo Schulz eee5498019 Zakk wisheth - Thilo answereth (#4070)
Use cg_drawWeapon 2/3 to make weapon left-handed/centered
2009-11-09 12:23:03 +00:00
Thilo Schulz 223b851b7b Commit two patches from SmokingGuns's Tequila, fixing problems with very fast movers and a typo in the string drawing function. (#4329) and (#4330) 2009-11-06 12:02:02 +00:00
Ryan C. Gordon e2d63b1fea Enable -fvisibility=hidden on Linux.
This will prevent further symbol clashes, and makes the shared libraries
 10 to 20 percent smaller.

We should enable this on other platforms, too, if we can guarantee they'll
 use gcc 4.0 or later and the platform supports it.
2009-09-15 02:48:17 +00:00
Ludwig Nussel cde5fcfb9b fix overflow in CG_ParseTeamInfo
based on patch for Tremulous, thanks to Roman Tetelman
2009-01-13 07:57:03 +00:00
Ludwig Nussel c754d6fdfb fix strict aliasing issues
Patch by Przemysław Iskra (#3805)
2008-11-03 17:03:54 +00:00
Thilo Schulz 3f56dffaa7 Show true framerate with stereo separation enabled 2008-05-03 12:58:14 +00:00
Thilo Schulz 10ed996784 - replace a few constant values with GL macros in tr_cmds.c
- tidy up top of tr_types.h a bit, change flags to hex representation
- make ROM cvar enforcing really work
- remove cg_stereoSeparation from cgame as it is obsolete.
- Add CG_DrawCrosshair3D so people see crosshair correctly when stereoseparation is enabled
2008-05-01 14:56:57 +00:00
Thilo Schulz bb47026b5f - Replace vsprintf function in bg_lib.c with vsnprintf implementation started by Patrick Powell.
- Remove all calls to vsprintf in the engine and gamecode and replace them with calls to vsnprintf.
2008-03-25 21:36:09 +00:00
Tim Angus 3f3c827bcd * Remove all the crappy old bat/sh QVM building scripts 2007-11-16 22:41:01 +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 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 8e82c3d605 - tag more functions with gnu format attribute
- fix format string bugs. still some left
2006-12-30 12:32:54 +00:00
Thilo Schulz 3b046464e3 Remove unnecessary hack. Thanks to ensiform. 2006-11-25 11:03:30 +00:00
Thilo Schulz fc244c97ef Fix critical buffer overflow in cgame, see exploit at http://www.milw0rm.com/exploits/1977 2006-07-06 00:37:56 +00:00
Thilo Schulz e1c5be3ab0 Added return; statement so it doesn't complain when it receives a remapShader command. 2006-05-06 12:11:24 +00:00
Thilo Schulz 5ebb75e651 Fix remapShader command in cgame and tweak it in ui. 2006-05-06 10:54:55 +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 4c242115dc - change long to intptr_t for 64bit windows compatability
- change vmMain arguments back to int. 64bit types are apparently not
  needed there. Only the syscall function needs them.
2006-02-18 19:07:23 +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 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 a31e38986c * Patch from AJ <anthonyj@planetquake.com> which replaces a bunch of hard coded
constants with #define constants
2005-11-05 15:54:56 +00:00
Zachary Slater 857a5e264e Updated msvc project files from > Michael Zoech! 2005-11-04 02:35:30 +00:00
Tim Angus c41483634c * General decrufting:
* Removed Q3_STATIC and associated defines
* Removed MAC_STATIC
* Replaced __LCC__ with Q3_VM
* Removed bspc and splines directories
2005-10-29 23:13:09 +00:00
Tim Angus 05e8ab9538 * Added STATUS
* Updated TODO
* Moved ChangeLog to root
* Updated ChangeLog
* s/Foobar/Quake III Arena Source Code/
* Biggest patch EVAR. I wonder how many mail boxes this will fill...
2005-10-29 01:53:09 +00:00
Tim Angus 3a2ad50406 * Moved various source files from their mod sdk locations to places more
appropriate for open source Q3
* This patch looks bigger than it really is, however it will probably break the
  VC and OS X builds (easy to fix though)
2005-10-26 19:45:21 +00:00
Tim Angus d5af2e3d45 * Removed some Conscript 2005-10-25 13:34:47 +00:00
Tim Angus 69b81f2bd9 * Fix to https://bugzilla.icculus.org/show_bug.cgi?id=2401 2005-10-23 17:18:23 +00:00
Tim Angus 82f7989714 * Some game bug fixes from http://www.quake3world.com/ubb/Forum4/HTML/006208.html 2005-09-28 23:18:34 +00:00
Tim Angus fe14a45ad1 * Applied ajax's cleanup patch 2005-09-23 17:39:14 +00:00
Tim Angus 33a48a0336 * Fix to multiple buffer overflow bugs in CL_Rcon_f
* Fix to COM_ParseExt 1 byte overwrite bug
* Fixed some missing calls to trap_FS_FCloseFile
* Fixed q3msgboom and q3infoboom bugs
* Fixed some qboolean type confusion
* Above fixes from http://www.quakesrc.org/forums/viewtopic.php?t=5374
2005-09-19 17:45:29 +00:00
Zachary Slater f327407bb8 Cleanups from pomac! 2005-09-02 20:13:47 +00:00
Ludwig Nussel 1b62818a09 - add note about 64bit mods and the demo
- fix mod functions for 64bit
2005-08-30 22:38:59 +00:00
Ludwig Nussel 88171d6bb7 support for 64bit native mods 2005-08-30 20:30:17 +00:00
Ludwig Nussel 5ae70d54b0 remove svn:executable property 2005-08-28 17:54:51 +00:00
Zachary Slater 59cce31e75 newlines fixed 2005-08-26 17:39:27 +00:00
Zachary Slater 5b755058f5 Itsa me, quake3io! 2005-08-26 04:48:05 +00:00
Travis Bradshaw dbe4ddb103 The Quake III Arena sources as originally released under the GPL license on August 20, 2005. 2012-01-31 13:41:34 -06:00