aboutsummaryrefslogtreecommitdiffstats
path: root/code
Commit message (Collapse)AuthorAgeFilesLines
* * Revert r1624 and r1626-r1628tma2009-09-151-3/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1629 edf5b092-35ff-0310-97b2-ce42778d08ea
* Added support for hardcoded HOMEPATH.icculus2009-09-151-1/+3
| | | | | | | Partially fixes Bugzilla #4271. git-svn-id: svn://svn.icculus.org/quake3/trunk@1627 edf5b092-35ff-0310-97b2-ce42778d08ea
* Let a separate libdir be specified for loading libraries.icculus2009-09-153-0/+45
| | | | | | | Partially fixes Bugzilla #4271. git-svn-id: svn://svn.icculus.org/quake3/trunk@1626 edf5b092-35ff-0310-97b2-ce42778d08ea
* Fixed amd64 JIT output bug.icculus2009-09-151-1/+1
| | | | | | | Partially fixes Bugzilla #4271. git-svn-id: svn://svn.icculus.org/quake3/trunk@1625 edf5b092-35ff-0310-97b2-ce42778d08ea
* Add x86_64 ARCH_STRING for FreeBSD.icculus2009-09-151-0/+2
| | | | | | | Partially fixes Bugzilla #4271. git-svn-id: svn://svn.icculus.org/quake3/trunk@1623 edf5b092-35ff-0310-97b2-ce42778d08ea
* Prevent hang in S_UpdateBackgroundTrack() with some sample rates.icculus2009-09-151-0/+3
| | | | | | | Fixes Bugzilla #4022. git-svn-id: svn://svn.icculus.org/quake3/trunk@1622 edf5b092-35ff-0310-97b2-ce42778d08ea
* Don't send a 0-length command to cgame during map_restart.icculus2009-09-151-0/+2
| | | | | | | Fixes Bugzilla #3965. git-svn-id: svn://svn.icculus.org/quake3/trunk@1621 edf5b092-35ff-0310-97b2-ce42778d08ea
* Quote commandline args with spaces when building the string for Com_Init().icculus2009-09-151-0/+8
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1620 edf5b092-35ff-0310-97b2-ce42778d08ea
* Echo console command now colorizes by string, not token.icculus2009-09-151-5/+1
| | | | | | | Fixes Bugzilla #3879. git-svn-id: svn://svn.icculus.org/quake3/trunk@1619 edf5b092-35ff-0310-97b2-ce42778d08ea
* Fixed compiler warning (glibc complains if you don't check getcwd() retval).icculus2009-09-151-2/+4
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1618 edf5b092-35ff-0310-97b2-ce42778d08ea
* Allow Cvar_Toggle_f() to iterate through a list of values.icculus2009-09-151-7/+30
| | | | | | | Fixes Bugzilla #3591. git-svn-id: svn://svn.icculus.org/quake3/trunk@1617 edf5b092-35ff-0310-97b2-ce42778d08ea
* Added a real GUI message box to Sys_ErrorDialog() on Mac OS X.icculus2009-09-153-0/+46
| | | | | | | Fixes Bugzilla #3654. git-svn-id: svn://svn.icculus.org/quake3/trunk@1616 edf5b092-35ff-0310-97b2-ce42778d08ea
* Fixed a compiler warning on Apple's GCC.icculus2009-09-151-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1615 edf5b092-35ff-0310-97b2-ce42778d08ea
* Patched to compile.icculus2009-09-151-2/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1614 edf5b092-35ff-0310-97b2-ce42778d08ea
* Added Intel CC compatibility to vm_x86.c's inline asm.icculus2009-09-151-8/+14
| | | | | | | Fixes Bugzilla #3338. git-svn-id: svn://svn.icculus.org/quake3/trunk@1613 edf5b092-35ff-0310-97b2-ce42778d08ea
* Removed more unused variables.icculus2009-09-153-8/+3
| | | | | | | Partially fixes Bugzilla #3782. git-svn-id: svn://svn.icculus.org/quake3/trunk@1612 edf5b092-35ff-0310-97b2-ce42778d08ea
* Removed unused variables.icculus2009-09-151-3/+0
| | | | | | | | | CM_LeadArea() has no side effects, so those could go, too. Partially fixes Bugzilla #3782. git-svn-id: svn://svn.icculus.org/quake3/trunk@1611 edf5b092-35ff-0310-97b2-ce42778d08ea
* Handle r_colorbits values better.icculus2009-09-151-3/+2
| | | | | | | Fixes Bugzilla #4244. git-svn-id: svn://svn.icculus.org/quake3/trunk@1610 edf5b092-35ff-0310-97b2-ce42778d08ea
* Enable -fvisibility=hidden on Linux.icculus2009-09-158-7/+17
| | | | | | | | | | | | 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
* Renamed bot_developer to botDeveloper to prevent symbol clash.icculus2009-09-1511-24/+24
| | | | | | | | | | qagame*.so has a variable named this too, and this confuses the Linux dynamic loader since we're not using -fvisibility=hidden. Fixes Bugzilla #3944. git-svn-id: svn://svn.icculus.org/quake3/trunk@1607 edf5b092-35ff-0310-97b2-ce42778d08ea
* When dropping bots, don't move to CS_ZOMBIE. Go straight to CS_FREE.icculus2009-09-151-5/+10
| | | | | | | | | | They aren't a real network connection, so you don't want to waste time before opening the slot for humans. Fixes Bugzilla #4243. git-svn-id: svn://svn.icculus.org/quake3/trunk@1605 edf5b092-35ff-0310-97b2-ce42778d08ea
* Fix SGI systems choosing an inefficient 36-bit color visual.icculus2009-09-151-0/+8
| | | | | | | | | Now they'll choose 16 or 32 bit correctly with this magic. Fixes Bugzilla #4245. git-svn-id: svn://svn.icculus.org/quake3/trunk@1604 edf5b092-35ff-0310-97b2-ce42778d08ea
* Removed broken music fading code from snd_dma.icculus2009-09-151-6/+2
| | | | | | | Fixes Bugzilla #3757. git-svn-id: svn://svn.icculus.org/quake3/trunk@1603 edf5b092-35ff-0310-97b2-ce42778d08ea
* Fixed infinite recursion of writing crashlog because we're out of file handles.icculus2009-09-153-8/+26
| | | | | | | Fixes Bugzilla #3772. git-svn-id: svn://svn.icculus.org/quake3/trunk@1602 edf5b092-35ff-0310-97b2-ce42778d08ea
* Don't allow negative arguments to the "wait" console command.icculus2009-09-141-1/+3
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1601 edf5b092-35ff-0310-97b2-ce42778d08ea
* Make q3asm's CodeError print to stderr.icculus2009-09-141-2/+2
| | | | | | | Fixes Bugzilla #3845. git-svn-id: svn://svn.icculus.org/quake3/trunk@1600 edf5b092-35ff-0310-97b2-ce42778d08ea
* Make newly-created prefpath permissions more sane.icculus2009-09-141-3/+3
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1598 edf5b092-35ff-0310-97b2-ce42778d08ea
* Create "~/Library/Application Support" on Mac OS X if it doesn't exist.icculus2009-09-141-1/+5
| | | | | | | | | | Apparently this can happen on freshly-installed Xserves? Also, a moron user could have dragged it to the trash anyhow. Fixes Bugzilla #4052. git-svn-id: svn://svn.icculus.org/quake3/trunk@1597 edf5b092-35ff-0310-97b2-ce42778d08ea
* Fixed triggering Com_Error() when kicking a large number of bots at once.icculus2009-09-141-1/+1
| | | | | | | Fixes Bugzilla #3418. git-svn-id: svn://svn.icculus.org/quake3/trunk@1596 edf5b092-35ff-0310-97b2-ce42778d08ea
* Try to catch some NaNs that are almost certainly a compiler optimization bug.icculus2009-09-141-0/+8
| | | | | | | Fixes Bugzilla #2998. git-svn-id: svn://svn.icculus.org/quake3/trunk@1595 edf5b092-35ff-0310-97b2-ce42778d08ea
* Allow optional window resizing.icculus2009-09-142-0/+29
| | | | | | | Fixes Bugzilla #2844. git-svn-id: svn://svn.icculus.org/quake3/trunk@1594 edf5b092-35ff-0310-97b2-ce42778d08ea
* 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