aboutsummaryrefslogtreecommitdiffstats
path: root/code
Commit message (Collapse)AuthorAgeFilesLines
* * 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
* * Remove redundant win32 code in LCC which drew -I flags from the "include"tma2007-09-151-14/+0
| | | | | | | environment variable git-svn-id: svn://svn.icculus.org/quake3/trunk@1181 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Improve Makefile startup timetma2007-09-124-425/+0
| | | | | | | | | | | + Merge q3asm and q3lcc Makefiles into the core Makefile + Don't find .d files, create a list from .o + .asm files now depend on q3lcc + .qvm files now depend on q3asm * IMPORTANT NOTE: do a "make distclean" if you have problems git-svn-id: svn://svn.icculus.org/quake3/trunk@1178 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Revert 1176 -- MinGW's headers are too old *sigh*tma2007-09-128-46/+75
| | | | | | | | | * Revert to using literal function pointers for GL extensions rather than PFN* typedefs as some platforms' headers are broken enough that they prevent SDL_opengl.h from fixing things up if the PFN* typedefs are missing git-svn-id: svn://svn.icculus.org/quake3/trunk@1177 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Remove use of GL_ARB_multitexture since this has been part of thetma2007-09-109-84/+42
| | | | | | | core API for many years now git-svn-id: svn://svn.icculus.org/quake3/trunk@1176 edf5b092-35ff-0310-97b2-ce42778d08ea
* * win32 dedicated console cleanup: drop silly predifined height and width,tjw2007-09-091-17/+37
| | | | | | | | scroll the command buffer to the right when typing long lines, restore the original color theme on CON_Shutdown(). git-svn-id: svn://svn.icculus.org/quake3/trunk@1172 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Adds preliminary support for win32 dedicated server console.tjw2007-09-071-1/+195
| | | | | | | | | Functionality is still quite limited (no tab completion, history, etc.), but at least with this console you can scroll without locking up your server. git-svn-id: svn://svn.icculus.org/quake3/trunk@1171 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Build dedicated server binary on Windowstma2007-09-065-62/+140
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1169 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Compile time and runtime checks for SDL >= 1.2.7tma2007-09-063-3/+31
| | | | | | | * 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
* * Fix for SMP hack on OS Xtma2007-09-061-0/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1166 edf5b092-35ff-0310-97b2-ce42778d08ea
* * I R KNWOING HOW COMPUTARS WURK!!!!!!! lOLtma2007-09-051-2/+2
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1165 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Obsolete filestma2007-09-052-386/+0
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1164 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Replace the ugliness in qgl.h with SDL_opengl.htma2007-09-053-124/+12
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1163 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Merge unified-sdl to trunktma2007-09-05183-44634/+4903
| | | | | | | * 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
* fix potential buffer overflowthilo2007-08-301-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1141 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Merge win_net.c and unix_net.ctma2007-08-288-1018/+351
| | | | | | | | | | | + 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-265-43/+101
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1137 edf5b092-35ff-0310-97b2-ce42778d08ea