aboutsummaryrefslogtreecommitdiffstats
path: root/code
Commit message (Collapse)AuthorAgeFilesLines
...
* Threw in a hack to fix rendering of credits menu in widescreen.icculus2009-09-141-0/+6
| | | | | | | Fixes Bugzilla #2744. git-svn-id: svn://svn.icculus.org/quake3/trunk@1593 edf5b092-35ff-0310-97b2-ce42778d08ea
* Fixed compiler warnings on gcc 4.3.3 (and probably others).icculus2009-09-141-22/+22
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1592 edf5b092-35ff-0310-97b2-ce42778d08ea
* Fixed uninitialized variable.icculus2009-09-141-1/+3
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1591 edf5b092-35ff-0310-97b2-ce42778d08ea
* Minor reworking to check command line cvars before Com_InitZoneMemory().icculus2009-09-141-6/+8
| | | | | | | | | | This lets you set com_zoneMegs from the command line (although still not from a config file, but oh well). Fixes Bugzilla #2571. git-svn-id: svn://svn.icculus.org/quake3/trunk@1590 edf5b092-35ff-0310-97b2-ce42778d08ea
* Fixed use of alloca() in libspeex on Solaris, I think.icculus2009-09-141-0/+3
| | | | | | | Fixes Bugzilla #3938. git-svn-id: svn://svn.icculus.org/quake3/trunk@1589 edf5b092-35ff-0310-97b2-ce42778d08ea
* Added s_muteWhenUnfocused cvar (thanks, Chris!).icculus2009-09-141-1/+4
| | | | | | | | Fixes Bugzilla #3768. git-svn-id: svn://svn.icculus.org/quake3/trunk@1588 edf5b092-35ff-0310-97b2-ce42778d08ea
* SetTeam fix from Martin Doucha.icculus2009-09-141-4/+4
| | | | | | | | | | | | | | | | | | | | | "Actually, client->ps.clientNum is unsafe. We had a little hunt for this some time ago in Tremulous last year (it caused kick failures, annoying popup windows and other nasty bugs). The problem is that a following spectator gets full copy of client->ps of the followed player including clientNum. If you then try to use this "shared" clientNum, you might affect someone else than you wanted. r1019 changes are safe as long as bots don't spectate players. However, a brief grep on current code has revealed unsafe client->ps.clientNum usage in SetTeam(). If a following spectator uses team command when forced balance is on, it'll count teams incorrectly and send the error message to the followed player instead. Here's the fix." Fixes Bugzilla #2986. git-svn-id: svn://svn.icculus.org/quake3/trunk@1587 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Fix warning in cl_main.ctma2009-09-145-17/+53
| | | | | | * Fix bug #4026 (SDL dx backend doesn't work on some machines) git-svn-id: svn://svn.icculus.org/quake3/trunk@1586 edf5b092-35ff-0310-97b2-ce42778d08ea
* Better handling of "voip" console command.icculus2009-09-141-1/+19
| | | | | | | | | | Prints usage info and current gain values, and catches a case where we report an error where no error exists. Fixes Bugzilla #4018. git-svn-id: svn://svn.icculus.org/quake3/trunk@1585 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Fix typo in cl_avi.c (Ben Millwood/bubu^)tma2009-09-081-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1583 edf5b092-35ff-0310-97b2-ce42778d08ea
* More 3966 business:zakk2009-07-071-9/+6
| | | | | | | | http://bugzilla.icculus.org/show_bug.cgi?id=3966 I'm hopeful that the server browser will surrender. git-svn-id: svn://svn.icculus.org/quake3/trunk@1581 edf5b092-35ff-0310-97b2-ce42778d08ea
* Fix for bad ping times, see bug 3966 but note that this patch is different, ↵zakk2009-07-041-1/+4
| | | | | | | | | got a fresh one from Amanieu in irc. git-svn-id: svn://svn.icculus.org/quake3/trunk@1580 edf5b092-35ff-0310-97b2-ce42778d08ea
* - Add error handling for Opensolaris f***ing up a numeric getnameinfo() call.thilo2009-06-261-24/+29
| | | | | | | | - Fix memory leak in getaddrinfo() call Many thanks to Ben Millwood for reporting this. git-svn-id: svn://svn.icculus.org/quake3/trunk@1579 edf5b092-35ff-0310-97b2-ce42778d08ea
* - fix typo in previous commit to net_ip.cthilo2009-06-232-23/+58
| | | | | | | - Make servers send heartbeats to master servers in ipv4 as well as ipv6 if master server has both protocols git-svn-id: svn://svn.icculus.org/quake3/trunk@1578 edf5b092-35ff-0310-97b2-ce42778d08ea
* Move these definitions over for other files to use in preparation of the ↵thilo2009-06-232-7/+8
| | | | | | next commit git-svn-id: svn://svn.icculus.org/quake3/trunk@1577 edf5b092-35ff-0310-97b2-ce42778d08ea
* minor cleanupthilo2009-06-231-11/+11
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1576 edf5b092-35ff-0310-97b2-ce42778d08ea
* Fix setsockopt so that setting the IPV6ONLY flag really works.thilo2009-06-221-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1575 edf5b092-35ff-0310-97b2-ce42778d08ea
* This patch from Monk fixes the q3asm help screenzakk2009-06-141-6/+7
| | | | | | | | Bugzilla bug 3986 http://bugzilla.icculus.org/show_bug.cgi?id=3986 git-svn-id: svn://svn.icculus.org/quake3/trunk@1574 edf5b092-35ff-0310-97b2-ce42778d08ea
* See here:zakk2009-06-133-0/+10
| | | | | | | http://bugzilla.icculus.org/show_bug.cgi?id=4064 git-svn-id: svn://svn.icculus.org/quake3/trunk@1573 edf5b092-35ff-0310-97b2-ce42778d08ea
* < sg_Tequila> says that this is busted. Thilo will hopefully be pleased.zakk2009-06-101-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1572 edf5b092-35ff-0310-97b2-ce42778d08ea
* fix code cleanupthilo2009-06-101-7/+10
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1571 edf5b092-35ff-0310-97b2-ce42778d08ea
* minor code cleanupthilo2009-06-101-10/+7
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1570 edf5b092-35ff-0310-97b2-ce42778d08ea
* How did this happen?thilo2009-06-101-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1569 edf5b092-35ff-0310-97b2-ce42778d08ea
* Fix highest file descriptor for select(), thanks to Ben Millwood for reportingthilo2009-06-051-3/+2
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1568 edf5b092-35ff-0310-97b2-ce42778d08ea
* Make client send a random challenge number in getchallenge requeststhilo2009-06-011-22/+46
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1567 edf5b092-35ff-0310-97b2-ce42778d08ea
* Make servers echo challenge codes from client getchallenge commandsthilo2009-06-014-60/+68
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1566 edf5b092-35ff-0310-97b2-ce42778d08ea
* Replace a few sprintf with Com_sprintfthilo2009-06-013-5/+5
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1565 edf5b092-35ff-0310-97b2-ce42778d08ea
* Fix warning in Sys_RandomBytes() usagethilo2009-05-311-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1564 edf5b092-35ff-0310-97b2-ce42778d08ea
* I'll retain the new way seeding the random number generator.. these calls ↵thilo2009-05-314-9/+1
| | | | | | are therefore redundant git-svn-id: svn://svn.icculus.org/quake3/trunk@1563 edf5b092-35ff-0310-97b2-ce42778d08ea
* Revert changes of rand() to random() as random() was redefined in quake3.thilo2009-05-315-11/+17
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1562 edf5b092-35ff-0310-97b2-ce42778d08ea
* - Introduce seeding of the random number generator at startupthilo2009-05-315-17/+28
| | | | | | | - Replaced all engine-side occurances of rand() with random() git-svn-id: svn://svn.icculus.org/quake3/trunk@1561 edf5b092-35ff-0310-97b2-ce42778d08ea
* Make command net_restart work so that port/ip settings can be changed ↵thilo2009-05-292-40/+38
| | | | | | without server restart git-svn-id: svn://svn.icculus.org/quake3/trunk@1560 edf5b092-35ff-0310-97b2-ce42778d08ea
* This could never have worked in the first place. Duh.thilo2009-05-281-2/+7
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1559 edf5b092-35ff-0310-97b2-ce42778d08ea
* - Introduce new NET_CompareBaseAdrMask for easy comparison of ip address rangesthilo2009-05-247-144/+294
| | | | | | | | | | | - Overhaul of the new banning functions: * basic check for redundant bans/exceptions * introduction of sv_banFile to make it possible to configure the file where to read bans and exceptions from * bans can now be deleted by giving address ranges, too. git-svn-id: svn://svn.icculus.org/quake3/trunk@1557 edf5b092-35ff-0310-97b2-ce42778d08ea
* Minor fix for server infostring. Thanks to slackerthilo2009-05-221-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1556 edf5b092-35ff-0310-97b2-ce42778d08ea
* Minor code cleanupsthilo2009-05-211-13/+8
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1555 edf5b092-35ff-0310-97b2-ce42778d08ea
* More commentary to source codethilo2009-05-211-1/+25
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1554 edf5b092-35ff-0310-97b2-ce42778d08ea
* whitespace fixesludwig2009-05-081-26/+26
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1552 edf5b092-35ff-0310-97b2-ce42778d08ea
* SV_ReplacePendingServerCommands is unusedludwig2009-05-081-0/+2
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1551 edf5b092-35ff-0310-97b2-ce42778d08ea
* mark functions static (#4010)ludwig2009-05-087-43/+43
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1550 edf5b092-35ff-0310-97b2-ce42778d08ea
* msg->oob is actually qboolean (#4010)ludwig2009-05-081-4/+6
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1549 edf5b092-35ff-0310-97b2-ce42778d08ea
* fix name compare in 'follow' command (#4013)ludwig2009-05-081-28/+4
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1548 edf5b092-35ff-0310-97b2-ce42778d08ea
* add missing trap_RealTime prototype (#4015)ludwig2009-05-081-0/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1547 edf5b092-35ff-0310-97b2-ce42778d08ea
* make Cvar_Command use all arguments just like Cvar_Set_f (#4063)ludwig2009-05-081-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1546 edf5b092-35ff-0310-97b2-ce42778d08ea
* cvarlist: also display systeminfo and user created flagsludwig2009-05-081-0/+10
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1545 edf5b092-35ff-0310-97b2-ce42778d08ea
* whitespace correctionludwig2009-05-081-10/+10
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1544 edf5b092-35ff-0310-97b2-ce42778d08ea
* don't modify s_alDevice and add fallback to let openAL choose the deviceludwig2009-05-081-24/+15
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1543 edf5b092-35ff-0310-97b2-ce42778d08ea
* mark s_alDriver CVAR_LATCHludwig2009-05-081-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1542 edf5b092-35ff-0310-97b2-ce42778d08ea
* define STRING and XSTRING in q_shared.h (#4054)ludwig2009-05-053-4/+4
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1539 edf5b092-35ff-0310-97b2-ce42778d08ea
* fix dedicated server stdin console (#4009)ludwig2009-05-031-10/+8
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1537 edf5b092-35ff-0310-97b2-ce42778d08ea