aboutsummaryrefslogtreecommitdiffstats
path: root/code/qcommon/q_shared.h
Commit message (Collapse)AuthorAgeFilesLines
* Enable -fvisibility=hidden on Linux.icculus2009-09-151-0/+10
| | | | | | | | | | | | 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. git-svn-id: svn://svn.icculus.org/quake3/trunk@1609 edf5b092-35ff-0310-97b2-ce42778d08ea
* define STRING and XSTRING in q_shared.h (#4054)ludwig2009-05-051-0/+4
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1539 edf5b092-35ff-0310-97b2-ce42778d08ea
* fix strict aliasing issuesludwig2008-11-031-0/+6
| | | | | | Patch by Przemysław Iskra (#3805) git-svn-id: svn://svn.icculus.org/quake3/trunk@1481 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Supply specific identifier to the master server (Mathieu Olivier)tma2008-09-151-2/+2
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1471 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Add Com_HexStrToInttma2008-09-051-0/+1
| | | | | | | | | | * Fixed some whacky indentation in q_shared.c * Allow single character keys e.g. 'c' to be used in cl_consoleKeys in addition to ASCII characters * Experimental code to ignore dead keys git-svn-id: svn://svn.icculus.org/quake3/trunk@1470 edf5b092-35ff-0310-97b2-ce42778d08ea
* - Add scope id to ipv6 addresses.thilo2008-08-311-0/+2
| | | | | | | | | | - Clean up a few other ipv6 issues like removing the seemingly unnecessary MacOSX workaround. - Bring ipv6 master server up to speed for dpmaster Thanks go out to Mathieu Olivier for this work. git-svn-id: svn://svn.icculus.org/quake3/trunk@1468 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Rename voip cvar to cl_voiptma2008-07-071-8/+14
| | | | | | | | | * s/#if USE_VOIP/#ifdef USE_VOIP/ * Add generalised runtime cvar range checking, currently on [sv|cl]_voip, dedicated and a bunch of r_ variables git-svn-id: svn://svn.icculus.org/quake3/trunk@1420 edf5b092-35ff-0310-97b2-ce42778d08ea
* Add PRODUCT_VERSION back into q_shared.h for MSVC builds.juz2008-06-041-0/+4
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1367 edf5b092-35ff-0310-97b2-ce42778d08ea
* define the product version in the Makefileludwig2008-05-061-7/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1340 edf5b092-35ff-0310-97b2-ce42778d08ea
* Include #ifdef to make it easier to create a stand-alone binary.thilo2008-04-091-8/+13
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1307 edf5b092-35ff-0310-97b2-ce42778d08ea
* Add Multicast capabilities for LAN server scanning.thilo2008-04-091-0/+2
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1305 edf5b092-35ff-0310-97b2-ce42778d08ea
* - Replace vsprintf function in bg_lib.c with vsnprintf implementation ↵thilo2008-03-251-19/+31
| | | | | | | | | started by Patrick Powell. - Remove all calls to vsprintf in the engine and gamecode and replace them with calls to vsnprintf. git-svn-id: svn://svn.icculus.org/quake3/trunk@1277 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Move the conditional compilation of bg_lib.c from the Makefile to cpp intma2007-09-221-3/+1
| | | | | | | | order to force dependency generation on bg_lib.* * Make testing USE_ defines more consistent git-svn-id: svn://svn.icculus.org/quake3/trunk@1186 edf5b092-35ff-0310-97b2-ce42778d08ea
* * (bug 3318) Restrict color escape characters to alphanumericstma2007-09-211-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1185 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Compile time and runtime checks for SDL >= 1.2.7tma2007-09-061-3/+5
| | | | | | | * Modified versioning to play nice with the reverted Makefile change git-svn-id: svn://svn.icculus.org/quake3/trunk@1168 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Merge unified-sdl to trunktma2007-09-051-15/+9
| | | | | | | * Bump Q3_VERSION to 1.35 git-svn-id: svn://svn.icculus.org/quake3/trunk@1161 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Rewrite of R_LoadImage to make it more generic and data driventma2007-08-261-0/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1137 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Early out AABB collision optimisation from Robert Beckebans (Xreal)tma2007-07-271-1/+8
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1121 edf5b092-35ff-0310-97b2-ce42778d08ea
* * (bug 3019) use the operating system's random number generator if possibletjw2007-02-161-0/+2
| | | | | | | when generating the qkey file git-svn-id: svn://svn.icculus.org/quake3/trunk@1046 edf5b092-35ff-0310-97b2-ce42778d08ea
* * fix q3lcc warning message due to an extra ; that slipped in at rev 1023tjw2007-02-151-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1045 edf5b092-35ff-0310-97b2-ce42778d08ea
* * (bug 2977) use MSVC compatiable pre-processors and also include <io.h> fortjw2007-01-191-12/+13
| | | | | | | int types git-svn-id: svn://svn.icculus.org/quake3/trunk@1034 edf5b092-35ff-0310-97b2-ce42778d08ea
* Fix window titles and crap, thanks woekele for pointing this out.zakk2007-01-141-2/+2
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1029 edf5b092-35ff-0310-97b2-ce42778d08ea
* - tag more functions with gnu format attributeludwig2006-12-301-6/+6
| | | | | | | - fix format string bugs. still some left git-svn-id: svn://svn.icculus.org/quake3/trunk@1023 edf5b092-35ff-0310-97b2-ce42778d08ea
* * moved SVN_VERSION #ifdef from client.h to q_shared.h so dedicated servertjw2006-08-261-0/+3
| | | | | | | builds when svn version cannot be detected git-svn-id: svn://svn.icculus.org/quake3/trunk@872 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Revert version to 1.33 againtma2006-08-221-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@860 edf5b092-35ff-0310-97b2-ce42778d08ea
* - Fix arbitrary cvar overwrite flaw: http://aluigi.altervista.org/adv.htmthilo2006-07-031-0/+3
| | | | | | | - Add myself to maintainer list :) git-svn-id: svn://svn.icculus.org/quake3/trunk@811 edf5b092-35ff-0310-97b2-ce42778d08ea
* Add string length checking to function COM_StripExtension. This fixes the ↵thilo2006-05-061-1/+1
| | | | | | | | | R_RemapShader buffer overflow exploit that can be found here: http://milw0rm.com/exploits/1750 git-svn-id: svn://svn.icculus.org/quake3/trunk@765 edf5b092-35ff-0310-97b2-ce42778d08ea
* - Introduced various new typedefs for windows platform (int32_t, int64_t, ↵thilo2006-04-271-1/+10
| | | | | | | | | etc...) - Applied md5 64-bit safety patch by Tony White. git-svn-id: svn://svn.icculus.org/quake3/trunk@727 edf5b092-35ff-0310-97b2-ce42778d08ea
* - "baseq3" literal replacement patch (by Erik Auerswald) appliedthilo2006-04-261-0/+2
| | | | | | | | - Commented setting of the cl_guid cvar because md5.c is not 64-bit safe. git-svn-id: svn://svn.icculus.org/quake3/trunk@726 edf5b092-35ff-0310-97b2-ce42778d08ea
* Was that intentional? (version change)zakk2006-04-191-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@709 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Change window titletma2006-03-241-1/+5
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@666 edf5b092-35ff-0310-97b2-ce42778d08ea
* try to fix msvc buildludwig2006-02-261-1/+3
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@588 edf5b092-35ff-0310-97b2-ce42778d08ea
* o rlyfloam2006-02-201-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@570 edf5b092-35ff-0310-97b2-ce42778d08ea
* Bump version number.floam2006-02-201-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@569 edf5b092-35ff-0310-97b2-ce42778d08ea
* - change long to intptr_t for 64bit windows compatabilityludwig2006-02-181-0/+6
| | | | | | | | - change vmMain arguments back to int. 64bit types are apparently not needed there. Only the syscall function needs them. git-svn-id: svn://svn.icculus.org/quake3/trunk@550 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Persistent console historytma2006-01-241-0/+3
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@522 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Overhaul of console autocompletiontma2006-01-221-0/+2
| | | | | | | | | | - 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 git-svn-id: svn://svn.icculus.org/quake3/trunk@514 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Added Q_isnan for NaN tests with -ffast-mathtma2006-01-191-0/+1
| | | | | | | * Fixed UT/OpenAL work around git-svn-id: svn://svn.icculus.org/quake3/trunk@510 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Fix the MinGW and (hopefully) OS X buildstma2006-01-041-5/+0
| | | | | | | * Remove custom memcpy/memset code git-svn-id: svn://svn.icculus.org/quake3/trunk@456 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Replaced ALIGN macro with PADtma2005-12-051-1/+7
| | | | | | | * Moved ALIGN16 macro from tr_local.h to ALIGN in q_shared.h git-svn-id: svn://svn.icculus.org/quake3/trunk@417 edf5b092-35ff-0310-97b2-ce42778d08ea
* use system memcpy and memsetludwig2005-11-061-0/+5
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@301 edf5b092-35ff-0310-97b2-ce42778d08ea
* - put ALIGN macro into q_shared.hludwig2005-11-051-0/+1
| | | | | | | - yet another alignment fix for botlib git-svn-id: svn://svn.icculus.org/quake3/trunk@282 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Replaced a bunch of inline and __inline with ID_INLINEtma2005-11-041-9/+3
| | | | | | | | | * Replaced a bunch of __i386__ with id386 * General tidy up of asm preprocessor decisions * Removed C_ONLY from the dedicated server build git-svn-id: svn://svn.icculus.org/quake3/trunk@269 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Split off q_platform.h from q_shared.htma2005-11-011-286/+3
| | | | | | | | | | | * 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 git-svn-id: svn://svn.icculus.org/quake3/trunk@209 edf5b092-35ff-0310-97b2-ce42778d08ea
* * More Solaris worktma2005-11-011-8/+13
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@205 edf5b092-35ff-0310-97b2-ce42778d08ea
* * General decrufting:tma2005-10-291-26/+3
| | | | | | | | | | * Removed Q3_STATIC and associated defines * Removed MAC_STATIC * Replaced __LCC__ with Q3_VM * Removed bspc and splines directories git-svn-id: svn://svn.icculus.org/quake3/trunk@201 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Beginnings of Solaris support from Vincent S. Cojottma2005-10-291-1/+47
| | | | | | | * Note this patch also splits USE_SDL into USE_SDL_VIDEO and USE_SDL_AUDIO git-svn-id: svn://svn.icculus.org/quake3/trunk@199 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Added STATUStma2005-10-291-1/+1
| | | | | | | | | | | * 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... git-svn-id: svn://svn.icculus.org/quake3/trunk@196 edf5b092-35ff-0310-97b2-ce42778d08ea
* * ...and the other common headerstma2005-10-271-0/+2
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@190 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Ignore __attribute__ when not using gcctma2005-10-271-0/+5
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@189 edf5b092-35ff-0310-97b2-ce42778d08ea