aboutsummaryrefslogtreecommitdiffstats
path: root/code
Commit message (Collapse)AuthorAgeFilesLines
* * 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
* * Demote input related console information to developer only so that it doesn'ttma2007-08-244-53/+53
| | | | | | | spam the console every time input settings are changed git-svn-id: svn://svn.icculus.org/quake3/trunk@1136 edf5b092-35ff-0310-97b2-ce42778d08ea
* * (bug 3054) sv_killserver not being set with TA UItma2007-08-241-2/+2
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1135 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-242-38/+8
| | | | | | | | | | * 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-233-13/+3276
| | | | | | | * Cleanup of tabulation in R_LoadImage git-svn-id: svn://svn.icculus.org/quake3/trunk@1132 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Nuts.tma2007-08-231-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1131 edf5b092-35ff-0310-97b2-ce42778d08ea
* * (bug 3324) Incorrect use of sizeof (beast <info@dbwatersports.com>)tma2007-08-232-69/+60
| | | | | | | | | | | | | | * (bug 2946) Console scrolling broken (identified by misantropia) + Field_VariableSizeDraw contained a hack to ensure the cursor was always visible. Unfortunately this interfered with scrolling long lines. Move the hack to a different place + Removed commented code in the same function + Reworked Field_KeyDownEvent to use a switch( ... ) and set edit->scroll in every case, thereby avoiding scrolling issues when "Home" or "End" are pressed git-svn-id: svn://svn.icculus.org/quake3/trunk@1130 edf5b092-35ff-0310-97b2-ce42778d08ea
* * (bug 3076) Map cycle breaks on empty or bot only servers (misanthropia)tma2007-08-234-116/+52
| | | | | | | | | | | | * (bug 3303) Removal of never compiled code from cgame drawing functions (beast <info@dbwatersports.com>) * (bug 3297) Add missing limit to Q3 UI server info (beast <info@dbwatersports.com>) * (bug 3029) Fix to shader hash table being overpopulated (identified by Stefan "#@" Langer <raute_at@gmx.de>) git-svn-id: svn://svn.icculus.org/quake3/trunk@1129 edf5b092-35ff-0310-97b2-ce42778d08ea
* fix null termination out of array boundsludwig2007-08-192-2/+2
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1126 edf5b092-35ff-0310-97b2-ce42778d08ea
* fix gcc 4.2 warnings about cast from pointer to integer (#3317)ludwig2007-08-195-7/+7
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1125 edf5b092-35ff-0310-97b2-ce42778d08ea
* print the shader loading message if the cvar "developer" is setludwig2007-08-161-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1124 edf5b092-35ff-0310-97b2-ce42778d08ea
* don't spam console with "loading..." messages when loading shadersludwig2007-08-161-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1123 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-255-5/+5
| | | | 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-203-20/+11
| | | | | | | | | | 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
* the address of 'headModelName' will always evaluate as 'true'ludwig2007-07-191-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1117 edf5b092-35ff-0310-97b2-ce42778d08ea
* the address of 'classname' will always evaluate as 'true'ludwig2007-07-191-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1116 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Make make make less noisetma2007-07-151-2/+2
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1112 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Replace horrendously long list of build rules with set of inference rulestma2007-07-143-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