aboutsummaryrefslogtreecommitdiffstats
path: root/code
Commit message (Collapse)AuthorAgeFilesLines
...
* Rewrite of key event processing, thanks to /dev/humancontroller and Ben ↵thilo2009-10-031-136/+103
| | | | | | Millwood. https://bugzilla.icculus.org/show_bug.cgi?id=3374 git-svn-id: svn://svn.icculus.org/quake3/trunk@1642 edf5b092-35ff-0310-97b2-ce42778d08ea
* Forgotten elsethilo2009-10-031-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1641 edf5b092-35ff-0310-97b2-ce42778d08ea
* Revert back color code changethilo2009-10-032-3/+3
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1639 edf5b092-35ff-0310-97b2-ce42778d08ea
* - Modify color generating codes to only accept numbers and not alphabetical ↵thilo2009-10-032-78/+52
| | | | | | | | | chars anymore - Fix client clean name so that it cannot be tricked anymore, see https://bugzilla.icculus.org/show_bug.cgi?id=3313 git-svn-id: svn://svn.icculus.org/quake3/trunk@1638 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Remove superfluous f from warningtma2009-09-281-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1637 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Avoid calculating a NaN when failing to compute the display aspect ratiotma2009-09-281-5/+13
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1636 edf5b092-35ff-0310-97b2-ce42778d08ea
* * (bug #3639) BoxOnPlaneSide rewrite (Diego de Estrada/Patrick Bagget/Danieltma2009-09-213-694/+15
| | | | | | | Gibson) git-svn-id: svn://svn.icculus.org/quake3/trunk@1635 edf5b092-35ff-0310-97b2-ce42778d08ea
* * ...and make sure it compilestma2009-09-171-3/+3
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1634 edf5b092-35ff-0310-97b2-ce42778d08ea
* Add received rcon command string to server log, see ↵thilo2009-09-171-2/+2
| | | | | | https://bugzilla.icculus.org/show_bug.cgi?id=3748 git-svn-id: svn://svn.icculus.org/quake3/trunk@1633 edf5b092-35ff-0310-97b2-ce42778d08ea
* * (bug #4282) Fix potential overlap of VM stack and bss sections (Patricktma2009-09-171-1/+2
| | | | | | | Baggett) git-svn-id: svn://svn.icculus.org/quake3/trunk@1632 edf5b092-35ff-0310-97b2-ce42778d08ea
* Cleanups for the Mac error dialog, after a code review from tma.icculus2009-09-163-3/+4
| | | | | | | | | - Don't expose the function in sys_local.h (it would be static if we could). - Don't call it Sys_Cocoa_*; it'd be nonsense with q3a's naming conventions. git-svn-id: svn://svn.icculus.org/quake3/trunk@1631 edf5b092-35ff-0310-97b2-ce42778d08ea
* * ...and actually r1626 this timetma2009-09-163-45/+0
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1630 edf5b092-35ff-0310-97b2-ce42778d08ea
* * 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