aboutsummaryrefslogtreecommitdiffstats
path: root/code/qcommon
Commit message (Collapse)AuthorAgeFilesLines
* * 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
* * Add required header on *BSDtma2007-10-131-0/+3
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1198 edf5b092-35ff-0310-97b2-ce42778d08ea
* * OpenBSD support (Toni Spets <toni.spets@gmail.com>)tma2007-10-121-0/+24
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1196 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Unconditionally place a '\' at the start of the command buffer whentma2007-10-122-38/+93
| | | | | | | | | | | autocompleting -- you're still all WRONG :p * Fix bugette where the completee didn't get its case copied from the completed token * Add functionality to autocomplete key names * Don't build client command completion on the dedicated server git-svn-id: svn://svn.icculus.org/quake3/trunk@1195 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Bug fix to collision optimisation (arQon)tma2007-10-064-3/+44
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1190 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Remove some C99isms (f0rqu3)tma2007-10-011-1/+3
| | | | | | | * Provide Q_snprintf wrapper for snprintf (f0rqu3) git-svn-id: svn://svn.icculus.org/quake3/trunk@1188 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
* * rewrite of the win32 dedicated console:tjw2007-09-152-26/+11
| | | | | | | | | | | | | | | | | | | | | | 1) NET_Sleep() no longer watches for input, Sys_Sleep() added for waiting on input. 2) Added "CtrlHandler" for trapping Ctrl-C and other quit methods not handled by signals on windows 3) Added history support 4) Added tab completion 5) Removed automatic cursor/scroll adjustment (too problematic) 6) Enable mousewheel scrolling 7) Stop using the InputBuffer for editing This seems to work pretty well now, but I jumped the gun on a previous commit message by saying you can scroll now without locking up your server. That was only true up until the point that a server tried to print to the console, at that point it will hang until you release the scroll bar :( It may be possible to get around this by using a seperate thread for console output, but that's a whole new can of worms. git-svn-id: svn://svn.icculus.org/quake3/trunk@1182 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-0515-577/+543
| | | | | | | * Bump Q3_VERSION to 1.35 git-svn-id: svn://svn.icculus.org/quake3/trunk@1161 edf5b092-35ff-0310-97b2-ce42778d08ea
* clean up pak file checks + fixing stray error message when an unofficial ↵thilo2007-08-301-12/+24
| | | | | | pak9.pk3 exists git-svn-id: svn://svn.icculus.org/quake3/trunk@1142 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Merge win_net.c and unix_net.ctma2007-08-283-23/+1083
| | | | | | | | | | | + Move win32/win_net.c to qcommon/net_ip.c and make it portable + Remove unix_net.c, but incorporate its revision history into win_net.c + Remove all IPX support -- this remains compatible with existing mods + This change also inadvertently gets us SOCKS support on non-Windows platforms git-svn-id: svn://svn.icculus.org/quake3/trunk@1139 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Rewrite of R_LoadImage to make it more generic and data driventma2007-08-263-1/+23
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1137 edf5b092-35ff-0310-97b2-ce42778d08ea
* * ...And the other deliberate mistaketma2007-08-241-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1134 edf5b092-35ff-0310-97b2-ce42778d08ea
* * (bug 3112) Removal of QVM name obfuscation (TsT <tst2006@gmail.com>)tma2007-08-241-25/+3
| | | | | | | | | | * Add developer warning when texture loading falls back on jpg from tga * Remove uppercase extension hack from texture loading since the Q3 pk3 file system is case insensitive anyway and you would likely want to know about the failures when loading images from the native FS git-svn-id: svn://svn.icculus.org/quake3/trunk@1133 edf5b092-35ff-0310-97b2-ce42778d08ea
* * PNG support from Joerg Dietrich <dietrich_joerg@t-online.de>tma2007-08-232-0/+801
| | | | | | | * Cleanup of tabulation in R_LoadImage git-svn-id: svn://svn.icculus.org/quake3/trunk@1132 edf5b092-35ff-0310-97b2-ce42778d08ea
* fix gcc 4.2 warnings about cast from pointer to integer (#3317)ludwig2007-08-191-2/+2
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1125 edf5b092-35ff-0310-97b2-ce42778d08ea
* new x86_64 vm that doesn't use gasludwig2007-08-162-18/+1553
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1122 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Early out AABB collision optimisation from Robert Beckebans (Xreal)tma2007-07-275-1/+69
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1121 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Fix a few -pedantic warningstma2007-07-253-3/+3
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1120 edf5b092-35ff-0310-97b2-ce42778d08ea
* * (bug 3268) Replace Mac OS X Carbon API calls with native ones (thankstjw2007-07-201-10/+3
| | | | | | | | | | to i3enedek). * remove some spammy Mac OS X printf's regarding local network detection * replaced a #warning for non-OS X PPC systems with a call to msync(..., MS_INVALIDATE). This needs testing. git-svn-id: svn://svn.icculus.org/quake3/trunk@1118 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Replace horrendously long list of build rules with set of inference rulestma2007-07-142-2499/+1020
| | | | | | | | | | * Remove unused DO_DEBUG_CC and DO_SHLIB_DEBUG_CC commands * Fix various bits of trailing whitespace * Remove vm_ppc.c and move vm_ppc_new.c into its place * Rename winquake.rc to win_resource.rc git-svn-id: svn://svn.icculus.org/quake3/trunk@1111 edf5b092-35ff-0310-97b2-ce42778d08ea
* - fix OP_MODU and OP_MODIludwig2007-07-031-10/+11
| | | | | | | - fix minor typos git-svn-id: svn://svn.icculus.org/quake3/trunk@1106 edf5b092-35ff-0310-97b2-ce42778d08ea
* another attempt to fix the alignment, this time hopfully for realludwig2007-07-031-5/+10
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1105 edf5b092-35ff-0310-97b2-ce42778d08ea
* fix stack alignmentludwig2007-07-031-0/+2
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1104 edf5b092-35ff-0310-97b2-ce42778d08ea
* use native stack for vm stack as well, frees one registerludwig2007-06-251-26/+36
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1101 edf5b092-35ff-0310-97b2-ce42778d08ea
* check program counter on OP_CALL and OP_LEAVEludwig2007-06-251-2/+6
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1100 edf5b092-35ff-0310-97b2-ce42778d08ea
* * (bug 3019) use the operating system's random number generator if possibletjw2007-02-164-2/+27
| | | | | | | 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 3019) adds the cvar cl_guidServerUniq (defaults to 1). When set totjw2007-02-122-5/+16
| | | | | | | | non-zero, cl_guid will be unique for each server that the client connects to git-svn-id: svn://svn.icculus.org/quake3/trunk@1041 edf5b092-35ff-0310-97b2-ce42778d08ea
* - Fix loads of format string bugsthilo2007-01-242-4/+4
| | | | | | | - Fix locally looping sounds, thanks to Timbo git-svn-id: svn://svn.icculus.org/quake3/trunk@1037 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
* - Fix two non-C-standard variable declarations.thilo2007-01-071-1/+1
| | | | | | | - Fix function name of vsnprintf for windows systems. git-svn-id: svn://svn.icculus.org/quake3/trunk@1027 edf5b092-35ff-0310-97b2-ce42778d08ea
* fix buffer overflow and format string bug in auth server responseludwig2006-12-311-1/+1
| | | | | | | processing git-svn-id: svn://svn.icculus.org/quake3/trunk@1025 edf5b092-35ff-0310-97b2-ce42778d08ea
* - also check for point release pak filesludwig2006-12-301-15/+61
| | | | | | | | - make missing pak0 non fatal if fs_game != baseq3. This way total conversions like westernq3 work without Q3 data. git-svn-id: svn://svn.icculus.org/quake3/trunk@1024 edf5b092-35ff-0310-97b2-ce42778d08ea
* - tag more functions with gnu format attributeludwig2006-12-305-17/+15
| | | | | | | - fix format string bugs. still some left git-svn-id: svn://svn.icculus.org/quake3/trunk@1023 edf5b092-35ff-0310-97b2-ce42778d08ea
* don't use intermediate array for sorting pakfiles. avoids theludwig2006-12-301-14/+3
| | | | | | | MAX_PAKFILES limitation git-svn-id: svn://svn.icculus.org/quake3/trunk@1022 edf5b092-35ff-0310-97b2-ce42778d08ea
* include offending string in error message for varables that containludwig2006-12-301-31/+15
| | | | | | | blacklisted characters git-svn-id: svn://svn.icculus.org/quake3/trunk@1021 edf5b092-35ff-0310-97b2-ce42778d08ea
* Changes to build defines for Solaris on i86pc. Minor fix to q_platform.h for ↵coyote2006-11-301-1/+1
| | | | | | Solaris. git-svn-id: svn://svn.icculus.org/quake3/trunk@995 edf5b092-35ff-0310-97b2-ce42778d08ea
* - Remove "server crashed" message on server shutdown caused by local client ↵thilo2006-10-271-7/+7
| | | | | | | | | disconnect. - Stop demo recording on a new gamestate packet so the demo won't end with a new level load. git-svn-id: svn://svn.icculus.org/quake3/trunk@956 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Increased the number of registers used for the opStack in the PPC vm fromtjw2006-09-241-5/+11
| | | | | | | | | 12 to 16. This is cannot be increased any further without major changes (there only 32 General Purporse Registers). Anyway, his change allows the cgame.qvm from the excessiveplus mod to work with ioquake3 on a PPC. git-svn-id: svn://svn.icculus.org/quake3/trunk@916 edf5b092-35ff-0310-97b2-ce42778d08ea
* * add cURL support for HTTP/FTP downloading (bug 2661)tjw2006-09-111-0/+6
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@898 edf5b092-35ff-0310-97b2-ce42778d08ea
* Go back to rev. 874. ATM, there is no good way to make FS_Restart() behave ↵thilo2006-08-283-11/+7
| | | | | | as it was originally described. git-svn-id: svn://svn.icculus.org/quake3/trunk@880 edf5b092-35ff-0310-97b2-ce42778d08ea
* More fixes for the FS_Shutdown change. Declare qconsole.log as closed before ↵thilo2006-08-283-2/+5
| | | | | | | | | FS_Shutdown closes all files. git-svn-id: svn://svn.icculus.org/quake3/trunk@879 edf5b092-35ff-0310-97b2-ce42778d08ea
* Fix crash when recording to files and the map changes. Was caused by new, ↵thilo2006-08-281-3/+4
| | | | | | | | | correct, behaviour of FS_Restart() which would close the files before they'd be closed by the client. git-svn-id: svn://svn.icculus.org/quake3/trunk@878 edf5b092-35ff-0310-97b2-ce42778d08ea
* There are actually files that can have a length of 0 so this in-use-check ↵thilo2006-08-271-1/+1
| | | | | | was just wrong. git-svn-id: svn://svn.icculus.org/quake3/trunk@875 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