aboutsummaryrefslogtreecommitdiffstats
path: root/code/qcommon
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* Changed the protocol for VoIP packets to support legacy clients.icculus2008-06-033-7/+35
| | | | | | | | | | | | | Previously, a legacy client wouldn't get a VoIP packet, but if they did, they'd panic and disconnect. Now they ignore them and continue on. This also gives us the framework to add other features legacy clients can ignore. Oh, this also has the benefit of allowing us to store incoming VoIP for playback in recorded demos. They'll play the chatter on VoIP clients, and be ignored on legacy ones. Huge win. git-svn-id: svn://svn.icculus.org/quake3/trunk@1361 edf5b092-35ff-0310-97b2-ce42778d08ea
* Initial patch for in-game VoIP support!icculus2008-06-011-2/+10
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1348 edf5b092-35ff-0310-97b2-ce42778d08ea
* reorder includes to fix build on OpenBSD (#3663, patch by Jonathan Gray)ludwig2008-05-251-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1346 edf5b092-35ff-0310-97b2-ce42778d08ea
* whoops.thilo2008-05-171-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1345 edf5b092-35ff-0310-97b2-ce42778d08ea
* - Workaround for buggy MacOSX getaddrinfo() implementation that doesn't ↵thilo2008-05-171-2/+10
| | | | | | | | | accept AF_UNSPEC parameter in hints structure. Thanks icculus for reporting. - Add -faltivec flag for debug builds. git-svn-id: svn://svn.icculus.org/quake3/trunk@1344 edf5b092-35ff-0310-97b2-ce42778d08ea
* * (bug 3641) Server is left running following a local disconnecttma2008-05-121-0/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1343 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Fix a bunch of compile warningstma2008-05-101-14/+17
| | | | | | | | * Only call pkg-config if it exists * Remove cl_consoleHistory from README git-svn-id: svn://svn.icculus.org/quake3/trunk@1342 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
* - replace a few constant values with GL macros in tr_cmds.cthilo2008-05-011-10/+11
| | | | | | | | | | - 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 git-svn-id: svn://svn.icculus.org/quake3/trunk@1335 edf5b092-35ff-0310-97b2-ce42778d08ea
* - variables with CVAR_ROM set get now overwritten by Cvar_Get() if the cvar ↵thilo2008-05-011-11/+30
| | | | | | | | | exists already but was created by the user. - Fix null pointer crash in Cvar_Print_f(), thanks to humancontroller for reporting. git-svn-id: svn://svn.icculus.org/quake3/trunk@1334 edf5b092-35ff-0310-97b2-ce42778d08ea
* Make forced unloading work in more cases than just server disconnectsthilo2008-04-291-0/+4
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1333 edf5b092-35ff-0310-97b2-ce42778d08ea
* Fix crash bug for interfaces without assigned address, thanks to PhoinixGR ↵thilo2008-04-211-1/+7
| | | | | | for reporting. git-svn-id: svn://svn.icculus.org/quake3/trunk@1324 edf5b092-35ff-0310-97b2-ce42778d08ea
* fix obvious bug, thanks mattn2thilo2008-04-161-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1323 edf5b092-35ff-0310-97b2-ce42778d08ea
* Fix build on IRIX (Patrick Baggett)ludwig2008-04-161-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1322 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Fix some recently introduced warningstma2008-04-121-3/+3
| | | | | | | * Fix referenced pk3 list including excessive number of spaces git-svn-id: svn://svn.icculus.org/quake3/trunk@1315 edf5b092-35ff-0310-97b2-ce42778d08ea
* Only don't send packet on disabled multicast if it actually is a multicast ↵thilo2008-04-121-2/+2
| | | | | | packet git-svn-id: svn://svn.icculus.org/quake3/trunk@1313 edf5b092-35ff-0310-97b2-ce42778d08ea
* - fix a potential file descriptor leak in server side of pak downloadingthilo2008-04-122-1/+3
| | | | | | | - add new functions for banning clients from server, in engine part. This will also make it possible to ban ipv6 addresses in old mods. git-svn-id: svn://svn.icculus.org/quake3/trunk@1312 edf5b092-35ff-0310-97b2-ce42778d08ea
* - Revamp in-game server browser: you can now scan for games on multiple ↵thilo2008-04-112-15/+18
| | | | | | | | | master servers, while retaining compatibility with old QVMs. - Make Master server reporting/server queries ipv6 capable. git-svn-id: svn://svn.icculus.org/quake3/trunk@1311 edf5b092-35ff-0310-97b2-ce42778d08ea
* Add com_standalone cvar for at-runtime handling of mods that do not require ↵thilo2008-04-104-15/+39
| | | | | | the original quake3 game data. git-svn-id: svn://svn.icculus.org/quake3/trunk@1309 edf5b092-35ff-0310-97b2-ce42778d08ea
* Include #ifdef to make it easier to create a stand-alone binary.thilo2008-04-093-13/+27
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1307 edf5b092-35ff-0310-97b2-ce42778d08ea
* Fix uninitialized usage warnings on MacOSX.thilo2008-04-091-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1306 edf5b092-35ff-0310-97b2-ce42778d08ea
* Add Multicast capabilities for LAN server scanning.thilo2008-04-096-135/+326
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1305 edf5b092-35ff-0310-97b2-ce42778d08ea
* set flag to allow forced unload of a running VMludwig2008-04-063-2/+21
| | | | | | required to prevent a client from exiting if the server disconnects (bug 3585) git-svn-id: svn://svn.icculus.org/quake3/trunk@1300 edf5b092-35ff-0310-97b2-ce42778d08ea
* debug output for EXEC_NOWludwig2008-04-061-0/+2
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1299 edf5b092-35ff-0310-97b2-ce42778d08ea
* revert changes to that one as this is not necessary.thilo2008-04-061-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1296 edf5b092-35ff-0310-97b2-ce42778d08ea
* Make sure that one broken shader file cannot crash the game / make the other ↵thilo2008-04-061-1/+1
| | | | | | shaders unusable. git-svn-id: svn://svn.icculus.org/quake3/trunk@1295 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Fix to MinGW build following IPv6 changestma2008-04-051-5/+11
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1294 edf5b092-35ff-0310-97b2-ce42778d08ea
* I hope this makes the code work on solaris, too and fix the EINVAL on sendto()thilo2008-04-051-3/+3
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1293 edf5b092-35ff-0310-97b2-ce42778d08ea
* - include Winsock2.h for windowsthilo2008-04-052-1/+5
| | | | | | | - add a __BSD__ define for all bsd platforms if it doesn't exist. git-svn-id: svn://svn.icculus.org/quake3/trunk@1292 edf5b092-35ff-0310-97b2-ce42778d08ea
* Fix compilation on Solaris and possibly other platforms that have no ↵thilo2008-04-051-91/+24
| | | | | | getifaddrs() git-svn-id: svn://svn.icculus.org/quake3/trunk@1291 edf5b092-35ff-0310-97b2-ce42778d08ea
* Basic IPv6 support. Some inspiration from the patches by Lubos Dolezel and ↵thilo2008-04-043-384/+770
| | | | | | JF Tremblay at https://bugzilla.icculus.org/show_bug.cgi?id=2355. git-svn-id: svn://svn.icculus.org/quake3/trunk@1290 edf5b092-35ff-0310-97b2-ce42778d08ea
* strcpy -> memmove as string does overlap which should be avoided according ↵thilo2008-03-251-1/+2
| | | | | | to the manpage. Thanks to Jacques Boscq. git-svn-id: svn://svn.icculus.org/quake3/trunk@1280 edf5b092-35ff-0310-97b2-ce42778d08ea
* Commit patch from Jacques Boscq, which will prohibit the calling of memcpy ↵thilo2008-03-251-2/+4
| | | | | | with src=dest git-svn-id: svn://svn.icculus.org/quake3/trunk@1278 edf5b092-35ff-0310-97b2-ce42778d08ea
* - Replace vsprintf function in bg_lib.c with vsnprintf implementation ↵thilo2008-03-254-38/+39
| | | | | | | | | 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
* vsnprintf -> Q_vsnprintfthilo2008-03-251-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1276 edf5b092-35ff-0310-97b2-ce42778d08ea
* Applied patch to clean up code for reading cvars and add new command "print" ↵thilo2008-03-251-87/+70
| | | | | | | | | for printing the content of cvars, by Ben Millwood. See also https://bugzilla.icculus.org/show_bug.cgi?id=3546 git-svn-id: svn://svn.icculus.org/quake3/trunk@1275 edf5b092-35ff-0310-97b2-ce42778d08ea
* use vm->callLevel to count recursive calls to VM_Callludwig2008-03-244-16/+18
| | | | | | | Throw an error if vm->callLevel is set and VM_Free is called. git-svn-id: svn://svn.icculus.org/quake3/trunk@1274 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Write q3config_server.cfg for the server, to avoid reseting client variablestma2008-02-283-3/+9
| | | | | | | after running a dedicated server git-svn-id: svn://svn.icculus.org/quake3/trunk@1269 edf5b092-35ff-0310-97b2-ce42778d08ea
* move all image decoders into separate filesludwig2008-02-141-44/+0
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1257 edf5b092-35ff-0310-97b2-ce42778d08ea
* * send along the reason for disconnection when sending the disconnect tjw2007-12-311-0/+2
| | | | | | | | | | cmd to all clients in SV_FinalMessage() * on Com_Error(), set the cvar "com_errorCode" with the errorParm_t integer value for the error. This can be used by a mod's ui to an draw error dialog specific for the error (e.g. Reconnect button on ERR_SERVERDISCONNECT) git-svn-id: svn://svn.icculus.org/quake3/trunk@1245 edf5b092-35ff-0310-97b2-ce42778d08ea
* Add gamedirectory in .app to searchpath on MacOSXthilo2007-12-142-1/+22
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1239 edf5b092-35ff-0310-97b2-ce42778d08ea
* Replace obsolete macro with some other macro. I hope this does not break too ↵thilo2007-12-141-1/+1
| | | | | | much. git-svn-id: svn://svn.icculus.org/quake3/trunk@1237 edf5b092-35ff-0310-97b2-ce42778d08ea
* * (bug 3470) Correct type for function pointertma2007-12-111-1/+1
| | | | | | | (baggett.patrick@figglesoftware.com) git-svn-id: svn://svn.icculus.org/quake3/trunk@1233 edf5b092-35ff-0310-97b2-ce42778d08ea
* * (bug 3454) Fix crash in autocompletion due to incorrect strncpy buffer sizetma2007-12-031-3/+6
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1226 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Add con_log.c to log all console outputtma2007-11-301-1/+1
| | | | | | | | | | | | * Add con_passive.c to cut down on #ifdef DEDICATED in sys_main.c * Add Sys_ErrorDialog to report ERR_FATALs to the user + On Windows use a MessageBox and offer to copy the console log to the clipboard + On everything else print to the terminal and save the console log as crashlog.txt git-svn-id: svn://svn.icculus.org/quake3/trunk@1222 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Move MINSDL_ values to sys_local.h from Makefile/VC projecttma2007-11-262-54/+26
| | | | | | | | * Merge *BSD platform definitions in q_platform.h * IRIX support (Patrick Baggett <baggett.patrick@figglesoftware.com>) git-svn-id: svn://svn.icculus.org/quake3/trunk@1218 edf5b092-35ff-0310-97b2-ce42778d08ea
* * (bug 3420) Don't respect sv_killserver unless a server is actually runningtma2007-11-231-0/+2
| | | | | | | * (bug 3431) USERINFO cvars created in cg_main not getting sent (arQon) git-svn-id: svn://svn.icculus.org/quake3/trunk@1216 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Don't truncate the cvar value when the user specifically asks for ittma2007-11-011-10/+4
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1203 edf5b092-35ff-0310-97b2-ce42778d08ea
* include endian.h (#3399)ludwig2007-10-261-0/+2
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1202 edf5b092-35ff-0310-97b2-ce42778d08ea