aboutsummaryrefslogtreecommitdiffstats
path: root/code
Commit message (Collapse)AuthorAgeFilesLines
* * 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
* * Fix compiler warning due to missing guardtma2007-07-141-0/+2
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1110 edf5b092-35ff-0310-97b2-ce42778d08ea
* OS X mouse hack, must remove when SDL adds it internally.zakk2007-07-091-0/+83
| | | | | | | | | | Please see bugzilla case: http://bugzilla.icculus.org/show_bug.cgi?id=3206 and http://bugzilla.libsdl.org/show_bug.cgi?id=445 git-svn-id: svn://svn.icculus.org/quake3/trunk@1108 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
* fix bg_lib.h compilation with lccludwig2007-06-271-0/+7
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1103 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
* gcc 4.2 patch from nyhm of gentoo (thanks!)zakk2007-06-131-2/+2
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1099 edf5b092-35ff-0310-97b2-ce42778d08ea
* (bug 3072) updated Mac OS X SDL .dylib file. still 1.2.11, but with a smalltjw2007-06-071-0/+0
| | | | | | | | fix backported from SDL 1.3 related to fullscreen mode and minimize buttons disapearing on existing windows on Mac OS X. git-svn-id: svn://svn.icculus.org/quake3/trunk@1098 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Remove silly MINGW_CFLAGS hacktma2007-06-023-11/+8
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1096 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Whitespace :(tma2007-05-291-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1091 edf5b092-35ff-0310-97b2-ce42778d08ea