aboutsummaryrefslogtreecommitdiffstats
path: root/code
Commit message (Collapse)AuthorAgeFilesLines
...
* * Fix to bug in S_FileExtension (Tr3B)tma2008-01-191-0/+3
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1249 edf5b092-35ff-0310-97b2-ce42778d08ea
* * send along the reason for disconnection when sending the disconnect tjw2007-12-312-1/+3
| | | | | | | | | | cmd to all clients in SV_FinalMessage() * on Com_Error(), set the cvar "com_errorCode" with the errorParm_t integer value for the error. This can be used by a mod's ui to an draw error dialog specific for the error (e.g. Reconnect button on ERR_SERVERDISCONNECT) git-svn-id: svn://svn.icculus.org/quake3/trunk@1245 edf5b092-35ff-0310-97b2-ce42778d08ea
* Remove small redundancythilo2007-12-271-2/+2
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1241 edf5b092-35ff-0310-97b2-ce42778d08ea
* Add gamedirectory in .app to searchpath on MacOSXthilo2007-12-143-1/+32
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1239 edf5b092-35ff-0310-97b2-ce42778d08ea
* Fix building on MacOSX.thilo2007-12-141-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1238 edf5b092-35ff-0310-97b2-ce42778d08ea
* Replace obsolete macro with some other macro. I hope this does not break too ↵thilo2007-12-141-1/+1
| | | | | | much. git-svn-id: svn://svn.icculus.org/quake3/trunk@1237 edf5b092-35ff-0310-97b2-ce42778d08ea
* Revert changes in ioquake3 AL code, fix OpenAL headers.thilo2007-12-134-3/+172
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1236 edf5b092-35ff-0310-97b2-ce42778d08ea
* Modification to stop crash on Linux for dlopened() OpenAL, will break MacOSX ↵thilo2007-12-132-5/+5
| | | | | | build again. git-svn-id: svn://svn.icculus.org/quake3/trunk@1235 edf5b092-35ff-0310-97b2-ce42778d08ea
* Fix multiple symbol errors for compilation on MacOSX. Remove unnecessary ↵thilo2007-12-132-173/+5
| | | | | | definitions. git-svn-id: svn://svn.icculus.org/quake3/trunk@1234 edf5b092-35ff-0310-97b2-ce42778d08ea
* * (bug 3470) Correct type for function pointertma2007-12-111-1/+1
| | | | | | | (baggett.patrick@figglesoftware.com) git-svn-id: svn://svn.icculus.org/quake3/trunk@1233 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Replace "powered by ioq3" text with ui_ioq3 CVAR_ROMtma2007-12-117-139/+213
| | | | | | | | | | | | * Guess display aspect based on the desktop resolution * Sort detected resolutions by... + closeness to display aspect + ascending width + ascending height * Apply Q3 coding style to resolution detection code git-svn-id: svn://svn.icculus.org/quake3/trunk@1232 edf5b092-35ff-0310-97b2-ce42778d08ea
* detect available resolutions and offer them in the menuludwig2007-12-082-19/+172
| | | | | | | | | | Store the resolutions detected by SDL in a cvar. The mod code can then optionally use the cvar to offer a better choice in the menu. Signed-off-by: Ludwig Nussel <ludwig.nussel@suse.de> git-svn-id: svn://svn.icculus.org/quake3/trunk@1231 edf5b092-35ff-0310-97b2-ce42778d08ea
* print "powered by the ioquake3 engine" in the main menuludwig2007-12-081-4/+3
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1230 edf5b092-35ff-0310-97b2-ce42778d08ea
* * (bug 3454) Fix crash in autocompletion due to incorrect strncpy buffer sizetma2007-12-031-3/+6
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1226 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Make some botlib memory allocations /potentially/ safertma2007-12-022-8/+10
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1225 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Add con_log.c and con_passive.c from r1222 to quake3.vcproj.juz2007-12-021-16/+16
| | | | | | | * Rename 'write' and 'read' variables in con_log.c, as these are already defined in io.h in the MSVC environment. git-svn-id: svn://svn.icculus.org/quake3/trunk@1224 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Fix poppy captured audio when recording videostma2007-12-011-8/+15
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1223 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Add con_log.c to log all console outputtma2007-11-309-95/+337
| | | | | | | | | | | | * Add con_passive.c to cut down on #ifdef DEDICATED in sys_main.c * Add Sys_ErrorDialog to report ERR_FATALs to the user + On Windows use a MessageBox and offer to copy the console log to the clipboard + On everything else print to the terminal and save the console log as crashlog.txt git-svn-id: svn://svn.icculus.org/quake3/trunk@1222 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Initialise botlib libvarlist to NULL as having it uninitialised maytma2007-11-261-1/+1
| | | | | | | potentially cause problems git-svn-id: svn://svn.icculus.org/quake3/trunk@1219 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Move MINSDL_ values to sys_local.h from Makefile/VC projecttma2007-11-264-54/+32
| | | | | | | | * Merge *BSD platform definitions in q_platform.h * IRIX support (Patrick Baggett <baggett.patrick@figglesoftware.com>) git-svn-id: svn://svn.icculus.org/quake3/trunk@1218 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Move SDL library version check to sys_main.c as it's proving difficult totma2007-11-252-3/+11
| | | | | | | | | | make the Makefile check sufficiently portable * Remove unnecessary GL PFN... casts from SDL_GL_GetProcAddress calls * Replace OS X uname workaround with Solaris workaround, as I believe OS X uname now behaves the same as GNU name git-svn-id: svn://svn.icculus.org/quake3/trunk@1217 edf5b092-35ff-0310-97b2-ce42778d08ea
* * (bug 3420) Don't respect sv_killserver unless a server is actually runningtma2007-11-233-1/+7
| | | | | | | * (bug 3431) USERINFO cvars created in cg_main not getting sent (arQon) git-svn-id: svn://svn.icculus.org/quake3/trunk@1216 edf5b092-35ff-0310-97b2-ce42778d08ea
* * s/O_NDELAY/O_NONBLOCK/tma2007-11-191-2/+2
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1215 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Fix bug where an extraneous render command can cause a crash whentma2007-11-186-23/+26
| | | | | | | | | recording video * Make S_CodecUtilClose NULL the snd_stream_t pointer * Fix indentation in runtime SDL check code git-svn-id: svn://svn.icculus.org/quake3/trunk@1214 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Remove all the crappy old bat/sh QVM building scriptstma2007-11-1621-1008/+0
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1213 edf5b092-35ff-0310-97b2-ce42778d08ea
* make master server used by client configurable (cl_master)ludwig2007-11-141-2/+4
| | | | | | | patch by Erik Kloppenburg git-svn-id: svn://svn.icculus.org/quake3/trunk@1212 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Remove work around for a 2 year old OpenAL bug that now actually causes atma2007-11-111-7/+0
| | | | | | | crash on snd_restart git-svn-id: svn://svn.icculus.org/quake3/trunk@1209 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Whitespace consistency in tr_init.ctma2007-11-071-53/+53
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1208 edf5b092-35ff-0310-97b2-ce42778d08ea
* Don't define ELF, use __ELF__ insteadludwig2007-11-061-5/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1207 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Fix to win_resource.rc for MSVC buildtma2007-11-031-4/+0
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1206 edf5b092-35ff-0310-97b2-ce42778d08ea
* * (bug 3393) Blank user names still possible (Michael Jard <kfaust@gmail.com>)tma2007-11-0213-29/+61
| | | | | | | | | * (bug 3363) Download percentage overflow (Martin Doucha <next_ghost@quick.cz>) * (bug 3390) MSVC project (Julian Priestley <juzley@gmail.com>) * For OS X and MinGW ports, don't -I code/SDL when USE_LOCAL_HEADERS is 0 git-svn-id: svn://svn.icculus.org/quake3/trunk@1204 edf5b092-35ff-0310-97b2-ce42778d08ea
* * 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
* * Sightma2007-10-221-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1200 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Rename g_logfile back to g_log, but keep the cvar variable as is (see r128)tma2007-10-221-2/+2
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1199 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
* * Fix to qvm compilation on big endian architecturestma2007-10-133-99/+19
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1197 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-123-38/+105
| | | | | | | | | | | 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
* * Grr. Argh. Whitespace. etc.tma2007-10-091-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1193 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Replace Sys_AnsiColorify with Sys_AnsiColorPrint, a more simple means oftma2007-10-091-78/+51
| | | | | | | | achieving the same feature * Handle non-numeric color codes in Sys_AnsiColorPrint git-svn-id: svn://svn.icculus.org/quake3/trunk@1192 edf5b092-35ff-0310-97b2-ce42778d08ea
* fix incorrect use of strncpyludwig2007-10-081-10/+20
| | | | | | | this function should really be removed or rewritten from scratch git-svn-id: svn://svn.icculus.org/quake3/trunk@1191 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
* * Fix bug that prevented key up events getting to cgame/ui when not in gametma2007-10-029-71/+79
| | | | | | | | * Use Key_[GS]etCatcher everywhere to set keycatcher * Clear all key states when the catcher changes git-svn-id: svn://svn.icculus.org/quake3/trunk@1189 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Remove some C99isms (f0rqu3)tma2007-10-014-16/+20
| | | | | | | * Provide Q_snprintf wrapper for snprintf (f0rqu3) git-svn-id: svn://svn.icculus.org/quake3/trunk@1188 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Add missing )tma2007-09-241-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1187 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Move the conditional compilation of bg_lib.c from the Makefile to cpp intma2007-09-2212-46/+26
| | | | | | | | 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-212-1/+17
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1185 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Don't apply colour escape chars on input fieldstma2007-09-215-48/+46
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1184 edf5b092-35ff-0310-97b2-ce42778d08ea
* * rewrite of the win32 dedicated console:tjw2007-09-158-235/+339
| | | | | | | | | | | | | | | | | | | | | | 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