aboutsummaryrefslogtreecommitdiffstats
path: root/code/qcommon/qcommon.h
Commit message (Collapse)AuthorAgeFilesLines
* * Unconditionally place a '\' at the start of the command buffer whentma2007-10-121-0/+3
| | | | | | | | | | | 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
* * 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
* * rewrite of the win32 dedicated console:tjw2007-09-151-0/+1
| | | | | | | | | | | | | | | | | | | | | | 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
* * Merge unified-sdl to trunktma2007-09-051-57/+45
| | | | | | | * Bump Q3_VERSION to 1.35 git-svn-id: svn://svn.icculus.org/quake3/trunk@1161 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Merge win_net.c and unix_net.ctma2007-08-281-4/+1
| | | | | | | | | | | + 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
* * (bug 3019) use the operating system's random number generator if possibletjw2007-02-161-0/+2
| | | | | | | when generating the qkey file git-svn-id: svn://svn.icculus.org/quake3/trunk@1046 edf5b092-35ff-0310-97b2-ce42778d08ea
* * (bug 3019) adds the cvar cl_guidServerUniq (defaults to 1). When set totjw2007-02-121-1/+1
| | | | | | | | 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
* - tag more functions with gnu format attributeludwig2006-12-301-5/+5
| | | | | | | - fix format string bugs. still some left git-svn-id: svn://svn.icculus.org/quake3/trunk@1023 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-281-1/+0
| | | | | | 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-281-0/+1
| | | | | | | | | FS_Shutdown closes all files. git-svn-id: svn://svn.icculus.org/quake3/trunk@879 edf5b092-35ff-0310-97b2-ce42778d08ea
* - Add device enumeration support on windows and make "Generic Software" new ↵thilo2006-08-191-0/+1
| | | | | | | | | | default device as that one seems to work more reliably on many platforms. - Add shfolder.lib library to dependencies in MSVC project files - update documentation for OpenAL changes. git-svn-id: svn://svn.icculus.org/quake3/trunk@853 edf5b092-35ff-0310-97b2-ce42778d08ea
* - Fix arbitrary cvar overwrite flaw: http://aluigi.altervista.org/adv.htmthilo2006-07-031-0/+4
| | | | | | | - Add myself to maintainer list :) git-svn-id: svn://svn.icculus.org/quake3/trunk@811 edf5b092-35ff-0310-97b2-ce42778d08ea
* * sv_minRate (from R1CH)tma2006-06-171-1/+4
| | | | | | | * [cl|sv]_packetdelay (from tjw) git-svn-id: svn://svn.icculus.org/quake3/trunk@808 edf5b092-35ff-0310-97b2-ce42778d08ea
* - "baseq3" literal replacement patch (by Erik Auerswald) appliedthilo2006-04-261-2/+0
| | | | | | | | - Commented setting of the cl_guid cvar because md5.c is not 64-bit safe. git-svn-id: svn://svn.icculus.org/quake3/trunk@726 edf5b092-35ff-0310-97b2-ce42778d08ea
* * cl_guid for semi-reliable server authentication (from tjw)tma2006-04-221-0/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@720 edf5b092-35ff-0310-97b2-ce42778d08ea
* - change long to intptr_t for 64bit windows compatabilityludwig2006-02-181-8/+8
| | | | | | | | - change vmMain arguments back to int. 64bit types are apparently not needed there. Only the syscall function needs them. git-svn-id: svn://svn.icculus.org/quake3/trunk@550 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Overhaul of console autocompletiontma2006-01-221-1/+4
| | | | | | | | | | - No longer does weird stuff like move the cursor inappropriately - Autocomplete works with compound commands - Special autocomplete on some commands e.g. \map, \demo - Removed various hacks used to counter the original autocomplete code git-svn-id: svn://svn.icculus.org/quake3/trunk@514 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Yet another MD4 implementationtma2006-01-181-1/+0
| | | | | | | | * Removed Com_BlockChecksumkey and replaced its functionality in the calling function git-svn-id: svn://svn.icculus.org/quake3/trunk@504 edf5b092-35ff-0310-97b2-ce42778d08ea
* * GPL MD4 implementationtma2006-01-181-1/+1
| | | | | | | | * Removed obsolete compilation instructions from the id readme * Removed MD4 license from the id readme git-svn-id: svn://svn.icculus.org/quake3/trunk@499 edf5b092-35ff-0310-97b2-ce42778d08ea
* * AVI video outputtma2006-01-041-1/+3
| | | | | | | | | | | - Uses motion jpeg codec by default - Use cl_avidemo to set a framerate - \video [filename] to start capture - \stopvideo to stop capture - Audio capture is a bit ropey git-svn-id: svn://svn.icculus.org/quake3/trunk@454 edf5b092-35ff-0310-97b2-ce42778d08ea
* Better altivec cvar handling. Should fix crashes at startup, or curious icculus2005-12-041-0/+2
| | | | | | | people that toggle it on at runtime on a G3. git-svn-id: svn://svn.icculus.org/quake3/trunk@410 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Disable ccache by default. If you want it, add USE_CCACHE=1 to Makefile.localtma2005-11-261-0/+1
| | | | | | | | | * Remove -gfull from linux section in Makefile -- it's darwin only * Cast away some warnings that surfaced from using "new" AL headers * Various whitespace and consistency fixes git-svn-id: svn://svn.icculus.org/quake3/trunk@375 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Replaced a bunch of inline and __inline with ID_INLINEtma2005-11-041-1/+1
| | | | | | | | | * Replaced a bunch of __i386__ with id386 * General tidy up of asm preprocessor decisions * Removed C_ONLY from the dedicated server build git-svn-id: svn://svn.icculus.org/quake3/trunk@269 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Added STATUStma2005-10-291-1/+1
| | | | | | | | | | | * Updated TODO * Moved ChangeLog to root * Updated ChangeLog * s/Foobar/Quake III Arena Source Code/ * Biggest patch EVAR. I wonder how many mail boxes this will fill... git-svn-id: svn://svn.icculus.org/quake3/trunk@196 edf5b092-35ff-0310-97b2-ce42778d08ea
* * ...and the other common headerstma2005-10-271-0/+7
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@190 edf5b092-35ff-0310-97b2-ce42778d08ea
* add x86_64 vm. experimental, not enabled by default. you need as for itludwig2005-10-271-1/+3
| | | | | | | to work. git-svn-id: svn://svn.icculus.org/quake3/trunk@188 edf5b092-35ff-0310-97b2-ce42778d08ea
* Changed inline to __inline.six2005-09-041-1/+1
| | | | | | | | Visual C does not accept the inline keyword, only __inline. Visual C does not recognize the #warning compiler directive git-svn-id: svn://svn.icculus.org/quake3/trunk@78 edf5b092-35ff-0310-97b2-ce42778d08ea
* Cleanups from pomac!zakk2005-09-021-6/+6
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@67 edf5b092-35ff-0310-97b2-ce42778d08ea
* - load qvm file by default again to avoid 'unpure' errorludwig2005-08-301-2/+2
| | | | | | | - fix loading qvms in 64bit q3 git-svn-id: svn://svn.icculus.org/quake3/trunk@36 edf5b092-35ff-0310-97b2-ce42778d08ea
* support for 64bit native modsludwig2005-08-301-6/+19
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@34 edf5b092-35ff-0310-97b2-ce42778d08ea
* remove svn:executable propertyludwig2005-08-281-0/+0
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@24 edf5b092-35ff-0310-97b2-ce42778d08ea
* newlines fixedzakk2005-08-261-1067/+1067
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@6 edf5b092-35ff-0310-97b2-ce42778d08ea
* Itsa me, quake3io!zakk2005-08-261-0/+1067
git-svn-id: svn://svn.icculus.org/quake3/trunk@2 edf5b092-35ff-0310-97b2-ce42778d08ea