Commit Graph

40 Commits

Author SHA1 Message Date
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 7562caa310 * Move the conditional compilation of bg_lib.c from the Makefile to cpp in
order to force dependency generation on bg_lib.*
* Make testing USE_ defines more consistent
2007-09-22 20:32:11 +00:00
Tim Angus 60260f1c60 * (bug 3318) Restrict color escape characters to alphanumerics 2007-09-21 12:33:50 +00:00
Tim Angus e56a151a97 * Compile time and runtime checks for SDL >= 1.2.7
* Modified versioning to play nice with the reverted Makefile change
2007-09-06 18:21:10 +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 64239037e0 * Early out AABB collision optimisation from Robert Beckebans (Xreal) 2007-07-27 21:52:31 +00:00
Tony J. White = c6249fcc25 * (bug 3019) use the operating system's random number generator if possible
when generating the qkey file
2007-02-16 23:50:37 +00:00
Tony J. White = 8801b06a1e * fix q3lcc warning message due to an extra ; that slipped in at rev 1023 2007-02-15 15:50:14 +00:00
Tony J. White = cf2875e771 * (bug 2977) use MSVC compatiable pre-processors and also include <io.h> for
int types
2007-01-19 19:31:19 +00:00
Zachary Slater 37bda478f9 Fix window titles and crap, thanks woekele for pointing this out. 2007-01-14 18:05:15 +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
Tony J. White = 1f8c2c56eb * moved SVN_VERSION #ifdef from client.h to q_shared.h so dedicated server
builds when svn version cannot be detected
2006-08-26 06:12:15 +00:00
Tim Angus ba36526a5e * Revert version to 1.33 again 2006-08-22 18:47:59 +00:00
Thilo Schulz 7d51d75b05 - Fix arbitrary cvar overwrite flaw: http://aluigi.altervista.org/adv.htm
- Add myself to maintainer list :)
2006-07-03 21:37:50 +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
Thilo Schulz 235e2c215f - Introduced various new typedefs for windows platform (int32_t, int64_t, etc...)
- Applied md5 64-bit safety patch by Tony White.
2006-04-27 13:39:41 +00:00
Thilo Schulz c116695ea7 - "baseq3" literal replacement patch (by Erik Auerswald) applied
- Commented setting of the cl_guid cvar because md5.c is not 64-bit safe.
2006-04-26 13:36:58 +00:00
Zachary Slater 9ee853343e Was that intentional? (version change) 2006-04-19 22:51:20 +00:00
Tim Angus f63472025f * Change window title 2006-03-24 17:28:27 +00:00
Ludwig Nussel a99e721711 try to fix msvc build 2006-02-26 20:01:45 +00:00
Aaron Gyes 966ffaa0f2 o rly 2006-02-20 22:08:23 +00:00
Aaron Gyes cc9ead2fd7 Bump version number. 2006-02-20 22:04:16 +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
Tim Angus 8a6be4aef4 * Persistent console history 2006-01-24 04:35:19 +00:00
Tim Angus c3f7915a8b * Overhaul of console autocompletion
- No longer does weird stuff like move the cursor inappropriately
  - Autocomplete works with compound commands
  - Special autocomplete on some commands e.g. \map, \demo
  - Removed various hacks used to counter the original autocomplete code
2006-01-22 01:58:50 +00:00
Tim Angus 58c8175024 * Added Q_isnan for NaN tests with -ffast-math
* Fixed UT/OpenAL work around
2006-01-19 20:28:12 +00:00
Tim Angus 6e24cfe7d3 * Fix the MinGW and (hopefully) OS X builds
* Remove custom memcpy/memset code
2006-01-04 03:40:49 +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
Ludwig Nussel b2f39d7ddd use system memcpy and memset 2005-11-06 18:22:49 +00:00
Ludwig Nussel dfe20a177c - put ALIGN macro into q_shared.h
- yet another alignment fix for botlib
2005-11-05 19:06:10 +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
Tim Angus 87cd6f8a93 * Split off q_platform.h from q_shared.h
* Removed lcc PATH hack and replaced with something slightly less hacky
* Removed all platform specific hostfiles from lcc and replaced with bytecode.c
  (from ankon)
* Turned lcc option "-S" on permanently
* Improved q3cpp so that it recursively adds include dirs to its list
2005-11-01 22:09:15 +00:00
Tim Angus acf1f46a2b * More Solaris work 2005-11-01 16:05:06 +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 c5bdb034f2 * Beginnings of Solaris support from Vincent S. Cojot
* Note this patch also splits USE_SDL into USE_SDL_VIDEO and USE_SDL_AUDIO
2005-10-29 22:05:20 +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 556b3307c5 * ...and the other common headers 2005-10-27 22:05:38 +00:00
Tim Angus bc9ee5644b * Ignore __attribute__ when not using gcc 2005-10-27 21:49:36 +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
Renamed from code/game/q_shared.h (Browse further)